/illumos-gate/usr/src/uts/common/io/sdcard/impl/ |
H A D | sda_slot.c | 85 sda_slot_enter(sda_slot_t *slot) in sda_slot_enter() argument 88 mutex_enter(&slot->s_lock); in sda_slot_enter() 89 if (slot->s_owner == self) { in sda_slot_enter() 90 slot->s_circular++; in sda_slot_enter() 92 while ((slot->s_owner != 0) && (slot->s_owner != self)) { in sda_slot_enter() 93 cv_wait(&slot->s_cv, &slot->s_lock); in sda_slot_enter() 95 slot->s_owner = self; in sda_slot_enter() 96 slot->s_circular++; in sda_slot_enter() 98 mutex_exit(&slot->s_lock); in sda_slot_enter() 102 sda_slot_exit(sda_slot_t *slot) in sda_slot_exit() argument [all …]
|
H A D | sda_init.c | 61 sda_init_cmd(sda_slot_t *slot, sda_index_t cmd, uint32_t arg, in sda_init_cmd() argument 67 cmdp = sda_cmd_alloc(slot, cmd, arg, rtype, NULL, KM_SLEEP); in sda_init_cmd() 71 errno = sda_cmd_exec(slot, cmdp, resp); in sda_init_cmd() 79 sda_init_acmd(sda_slot_t *slot, sda_index_t cmd, uint32_t arg, in sda_init_acmd() argument 85 cmdp = sda_cmd_alloc_acmd(slot, cmd, arg, rtype, NULL, KM_SLEEP); in sda_init_acmd() 89 errno = sda_cmd_exec(slot, cmdp, resp); in sda_init_acmd() 97 sda_init_sdio(sda_slot_t *slot) in sda_init_sdio() argument 99 slot->s_num_io = 0; in sda_init_sdio() 109 sda_init_sdmem(sda_slot_t *slot) in sda_init_sdmem() argument 114 slot->s_flags &= ~SLOTF_SDMEM; in sda_init_sdmem() [all …]
|
H A D | sda_mem.c | 96 sda_mem_rw(sda_slot_t *slot, bd_xfer_t *xfer, uint8_t cmd, uint16_t flags) in sda_mem_rw() argument 108 if ((blkno + nblks) > slot->s_nblks) { in sda_mem_rw() 112 cmdp = sda_cmd_alloc(slot, cmd, blkno << slot->s_bshift, in sda_mem_rw() 118 if (slot->s_hostp->h_dma != NULL) { in sda_mem_rw() 128 rblen = slot->s_blksz; in sda_mem_rw() 135 sda_cmd_submit(slot, cmdp, sda_mem_done); in sda_mem_rw() 142 sda_slot_t *slot = arg; in sda_mem_bd_read() local 158 return (sda_mem_rw(slot, xfer, cmd, flags)); in sda_mem_bd_read() 164 sda_slot_t *slot = arg; in sda_mem_bd_write() local 171 if ((slot->s_flags & SLOTF_WRITABLE) == 0) { in sda_mem_bd_write() [all …]
|
H A D | sda_cmd.c | 203 sda_cmd_submit(sda_slot_t *slot, sda_cmd_t *cmdp, void (*done)(sda_cmd_t *)) in sda_cmd_submit() argument 213 sda_slot_enter(slot); in sda_cmd_submit() 216 if (slot->s_failed) { in sda_cmd_submit() 219 if (!slot->s_inserted) { in sda_cmd_submit() 234 list_insert_tail(&slot->s_abortlist, cmdp); in sda_cmd_submit() 238 list_insert_head(&slot->s_cmdlist, c); in sda_cmd_submit() 240 list_insert_tail(&slot->s_cmdlist, c); in sda_cmd_submit() 242 sda_slot_exit(slot); in sda_cmd_submit() 244 sda_slot_wakeup(slot); in sda_cmd_submit() 248 sda_cmd_resubmit_acmd(sda_slot_t *slot, sda_cmd_t *cmdp) in sda_cmd_resubmit_acmd() argument [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/smbios/ |
H A D | smbios_test_slot.c | 32 smbios_test_slot_fill(smb_slot_t *slot) in smbios_test_slot_fill() argument 34 bzero(slot, sizeof (smb_slot_t)); in smbios_test_slot_fill() 35 slot->smbsl_hdr.smbh_type = SMB_TYPE_SLOT; in smbios_test_slot_fill() 36 slot->smbsl_hdr.smbh_len = sizeof (smb_slot_t); in smbios_test_slot_fill() 37 slot->smbsl_name = 1; in smbios_test_slot_fill() 38 slot->smbsl_type = SMB_SLT_PCIE3G16; in smbios_test_slot_fill() 39 slot->smbsl_width = SMB_SLW_16X; in smbios_test_slot_fill() 40 slot->smbsl_length = SMB_SLL_SHORT; in smbios_test_slot_fill() 41 slot->smbsl_id = htole16(1); in smbios_test_slot_fill() 42 slot->smbsl_ch1 = SMB_SLCH1_33V; in smbios_test_slot_fill() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/frutree/ |
H A D | piclfrutree.info | 33 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J2900 35 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3100 37 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J2901 39 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3101 41 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3000 43 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3200 45 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3001 47 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3201 49 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J7900 51 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J8100 [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/clients/ccid/ |
H A D | ccid.c | 796 ccid_slot_excl_maybe_signal(ccid_slot_t *slot) in ccid_slot_excl_maybe_signal() argument 800 VERIFY(MUTEX_HELD(&slot->cs_ccid->ccid_mutex)); in ccid_slot_excl_maybe_signal() 802 if ((slot->cs_ccid->ccid_flags & CCID_F_DISCONNECTED) != 0) in ccid_slot_excl_maybe_signal() 804 if (slot->cs_excl_minor != NULL) in ccid_slot_excl_maybe_signal() 806 if ((slot->cs_flags & CCID_SLOT_F_NOEXCL_MASK) != 0) in ccid_slot_excl_maybe_signal() 808 cmp = list_head(&slot->cs_excl_waiters); in ccid_slot_excl_maybe_signal() 815 ccid_slot_excl_rele(ccid_slot_t *slot) in ccid_slot_excl_rele() argument 818 ccid_t *ccid = slot->cs_ccid; in ccid_slot_excl_rele() 821 VERIFY3P(slot->cs_excl_minor, !=, NULL); in ccid_slot_excl_rele() 823 cmp = slot->cs_excl_minor; in ccid_slot_excl_rele() [all …]
|
/illumos-gate/usr/src/uts/sun/io/ |
H A D | sbusmem.conf | 27 name="sbusmem" class="sbus" slot=0; 28 name="sbusmem" class="sbus" slot=1; 29 name="sbusmem" class="sbus" slot=2; 30 name="sbusmem" class="sbus" slot=3; 31 name="sbusmem" class="sbus" slot=4; 32 name="sbusmem" class="sbus" slot=5; 33 name="sbusmem" class="sbus" slot=6; 34 name="sbusmem" class="sbus" slot=7; 35 name="sbusmem" class="sbus" slot=8; 36 name="sbusmem" class="sbus" slot=9; [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree/ |
H A D | piclfrutree.info | 33 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J2900 35 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3100 37 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J2901 39 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3101 41 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3000 43 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3200 45 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3001 47 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3201 49 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J7900 51 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J8100 [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/frutree/ |
H A D | system-board.info | 33 NODE upa-slot location 37 NODE upa-slot location 41 NODE pci-slot location 44 NODE pci-slot location 47 NODE pci-slot location 50 NODE pci-slot location 53 NODE cpu-slot location 57 NODE cpu-slot location 61 NODE mem-slot location 65 NODE mem-slot location [all …]
|
/illumos-gate/usr/src/lib/fm/topo/maps/SMCI,SSG-2028R-ACR24L/ |
H A D | SSG-2028R-ACR24L-disk-hc-topology.xmlgenksh | 76 slot=0 78 while (( slot <= 7 )); do 79 do_node $bay "Front Disk $bay" "$devctl0" $enclosure $slot 81 (( slot = slot + 1 )) 84 slot=0 86 while (( slot <= 7 )); do 87 do_node $bay "Front Disk $bay" "$devctl0" $enclosure $slot 89 (( slot = slot + 1 )) 92 slot=0 94 while (( slot <= 7 )); do [all …]
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | pci_ahci.c | 129 int slot; member 368 ahci_write_fis_sdb(struct ahci_port *p, int slot, uint8_t *cfis, uint32_t tfd) in ahci_write_fis_sdb() argument 381 p->err_cfis[0] = slot; in ahci_write_fis_sdb() 386 *(uint32_t *)(fis + 4) = (1 << slot); in ahci_write_fis_sdb() 387 p->sact &= ~(1 << slot); in ahci_write_fis_sdb() 395 ahci_write_fis_d2h(struct ahci_port *p, int slot, uint8_t *cfis, uint32_t tfd) in ahci_write_fis_d2h() argument 422 p->ci &= ~(1 << slot); in ahci_write_fis_d2h() 428 ahci_write_fis_d2h_ncq(struct ahci_port *p, int slot) in ahci_write_fis_d2h_ncq() argument 438 p->ci &= ~(1 << slot); in ahci_write_fis_d2h_ncq() 483 int slot; in ahci_port_stop() local [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/frutree/ |
H A D | system-board.info | 32 NODE pci-slot location 36 NODE pci-slot location 40 NODE pci-slot location 44 NODE pci-slot location 48 NODE pci-slot location 52 NODE cpu-slot location 57 NODE cpu-slot location 62 NODE mem-slot location 67 NODE mem-slot location 72 NODE mem-slot location [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/frutree/ |
H A D | system-board.info | 32 NODE pci-slot location 37 NODE pci-slot location 42 NODE pci-slot location 47 NODE pci-slot location 52 NODE cpu-slot location 57 NODE cpu-slot location 62 NODE lom-slot location 66 NODE mem-slot location 71 NODE mem-slot location 76 NODE mem-slot location [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/frutree/ |
H A D | system-board.info | 32 NODE pci-slot location 36 NODE pci-slot location 40 NODE pci-slot location 44 NODE pci-slot location 48 NODE pci-slot location 52 NODE pci-slot location 56 NODE audio-slot location 60 NODE cpu-slot location 65 NODE cpu-slot location 70 NODE mem-slot location [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/frutree/ |
H A D | system-board.info | 33 NODE pci-slot location 36 NODE pci-slot location 39 NODE pci-slot location 42 NODE cpu-slot location 46 NODE mem-slot location 50 NODE mem-slot location 54 NODE mem-slot location 58 NODE mem-slot location 73 name:/frutree/chassis/system-board/cpu-slot 81 name:/frutree/chassis/system-board/mem-slot?Label=DIMM0 [all …]
|
/illumos-gate/usr/src/lib/fm/topo/maps/SMCI,SSG-2029P-ACR24L/ |
H A D | SSG-2029P-ACR24L-disk-hc-topology.xmlgenksh | 131 slot=0 133 while (( slot <= 7 )); do 134 do_sas_node $bay "Front Disk $bay" "$devctl0" $enclosure $slot 136 (( slot = slot + 1 )) 139 slot=0 141 while (( slot <= 7 )); do 142 do_sas_node $bay "Front Disk $bay" "$devctl0" $enclosure $slot 144 (( slot = slot + 1 )) 147 slot=0 149 while (( slot <= 7 )); do [all …]
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sghsc.c | 146 static int sghsc_connect(caddr_t, hpc_slot_t slot, void *, uint_t); 882 int slot = sghsc_get_slotnum(sghsc, sloth); in sghsc_control() local 887 if ((sghsc == NULL) || (slot < 0) || in sghsc_control() 888 (slot >= sghsc->sghsc_num_slots)) { in sghsc_control() 891 sghsc->sghsc_instance, slot, sghsc->sghsc_num_slots, in sghsc_control() 909 sghsc->sghsc_board, slot)); in sghsc_control() 942 sghsc->sghsc_board, slot)); in sghsc_control() 965 sghsc->sghsc_board, slot)); in sghsc_control() 971 sghsc->sghsc_board, slot, &result); in sghsc_control() 980 "node %d / board %d", sghsc->sghsc_instance, slot, in sghsc_control() [all …]
|
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/ |
H A D | fas.c | 141 static void fas_test_abort(struct fas *fas, int slot); 144 static void fas_test_reset(struct fas *fas, int slot); 218 static void fas_runpoll(struct fas *fas, short slot, struct fas_cmd *sp); 258 static void fas_cmd_timeout(struct fas *fas, int slot); 260 int slot); 284 static int fas_alloc_active_slots(struct fas *fas, int slot, int flag); 287 static int fas_abort_cmd(struct fas *fas, struct fas_cmd *sp, int slot); 291 int slot); 292 static void fas_flush_readyQ(struct fas *fas, int slot); 293 static void fas_flush_tagQ(struct fas *fas, int slot); [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/frutree/ |
H A D | system-board.info | 32 NODE pci-slot location 36 NODE pci-slot location 40 NODE pci-slot location 44 NODE pci-slot location 48 NODE pci-slot location 52 NODE cpu-slot location 57 NODE mem-slot location 62 NODE mem-slot location 67 NODE mem-slot location 72 NODE mem-slot location [all …]
|
/illumos-gate/usr/src/uts/common/io/pciex/hotplug/ |
H A D | pcishpc.c | 77 static int pcishpc_register_slot(pcie_hp_ctrl_t *ctrl_p, int slot); 90 static void pcishpc_set_slot_name(pcie_hp_ctrl_t *ctrl_p, int slot); 263 int slot; in pcishpc_intr() local 303 for (slot = 0; slot < ctrl_p->hc_num_slots_impl; slot++) { in pcishpc_intr() 304 if ((irq_locator & (PCI_HP_IRQ_SLOT_N_PENDING<<slot)) || in pcishpc_intr() 306 (PCI_HP_IRQ_SERR_SLOT_N_PENDING<<slot))) { in pcishpc_intr() 308 "pending IRQ\n", slot+1); in pcishpc_intr() 311 PCI_HP_LOGICAL_SLOT_REGS+slot); in pcishpc_intr() 316 slot+1); in pcishpc_intr() 321 slot+1); in pcishpc_intr() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/maps/Joyent,Joyent-Compute-Platform-1101/ |
H A D | Joyent-Compute-Platform-1101-disk-hc-topology.xmlgenksh | 71 slot=0 74 while (( slot <= 7 )); do 75 do_node $bay "Front Disk $bay" "$devctl0|$devctl1" $enclosure $slot 77 (( slot = slot + 1 )) 80 slot=0 83 while (( slot <= 7 )); do 84 do_node $bay "Front Disk $bay" "$devctl0|$devctl1" $enclosure $slot 86 (( slot = slot + 1 ))
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi_pfc.h | 87 #define PFC_MAC_ADDRESS(slot) \ argument 88 ((slot * PFC_MAC_ADDR_STEP) + PFC_MAC_ADDR) 89 #define PFC_MAC_ADDRESS_MASK(slot) \ argument 90 ((slot * PFC_MAC_ADDR_STEP) + PFC_MAC_ADDR_MASK) 91 #define PFC_HASH_ADDR(slot) \ argument 92 ((slot * PFC_HASH_STEP) + PFC_HASH_TABLE) 94 #define PFC_L2_CONFIG(slot) \ argument 95 ((slot * PFC_L2_CLASS_CONFIG_STEP) + PFC_L2_CLASS_CONFIG) 96 #define PFC_L3_CONFIG(slot) \ argument 97 (((slot - TCAM_CLASS_TCP_IPV4) * PFC_L3_CLASS_CONFIG_STEP) + \ [all …]
|
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaSlotManager.c | 136 CK_ULONG slot; in meta_slotManager_finalize() local 148 for (slot = 0; slot < num_slots; slot++) { in meta_slotManager_finalize() 157 session = slots[slot].session_pool.idle_list_head; in meta_slotManager_finalize() 168 session = slots[slot].session_pool.persist_list_head; in meta_slotManager_finalize() 180 &slots[slot].tokenobject_list_lock); in meta_slotManager_finalize() 212 CK_ULONG slot; in meta_slotManager_find_object_token() local 231 for (slot = 0; slot < num_slots; slot++) { in meta_slotManager_find_object_token() 236 fw_st_id = slots[slot].fw_st_id; in meta_slotManager_find_object_token() 248 softtoken_slotnum = slot; in meta_slotManager_find_object_token() 253 unsigned char *slot; in meta_slotManager_find_object_token() local [all …]
|
/illumos-gate/usr/src/lib/libmvec/common/vis/ |
H A D | __vatan2.S | 210 ! delay slot 223 ! delay slot 229 ! delay slot 235 ! delay slot 281 ! delay slot 296 ! delay slot 302 ! delay slot 313 ! delay slot 354 ! delay slot 368 ! delay slot [all …]
|