Home
last modified time | relevance | path

Searched refs:slot (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/titanic_41/usr/src/uts/common/io/sdcard/impl/
H A Dsda_slot.c83 sda_slot_enter(sda_slot_t *slot) in sda_slot_enter() argument
86 mutex_enter(&slot->s_lock); in sda_slot_enter()
87 if (slot->s_owner == self) { in sda_slot_enter()
88 slot->s_circular++; in sda_slot_enter()
90 while ((slot->s_owner != 0) && (slot->s_owner != self)) { in sda_slot_enter()
91 cv_wait(&slot->s_cv, &slot->s_lock); in sda_slot_enter()
93 slot->s_owner = self; in sda_slot_enter()
94 slot->s_circular++; in sda_slot_enter()
96 mutex_exit(&slot->s_lock); in sda_slot_enter()
100 sda_slot_exit(sda_slot_t *slot) in sda_slot_exit() argument
[all …]
H A Dsda_init.c61 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 Dsda_mem.c96 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 Dsda_cmd.c203 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 …]
/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Dschpc.c194 static int schpc_save_leaf(int slot);
195 static void schpc_restore_leaf(int slot);
196 static int schpc_is_leaf_reset_required(int slot);
197 static int schpc_is_freq_switchable(int slot);
198 static void schpc_save_entry(int slot, int list_entry, int save_entry);
199 static void schpc_restore_entry(int slot, int list_entry, int save_entry);
556 int slot; in schpc_connect() local
563 slot = schpc_slot_get_index(schpc_p, slot_hdl); in schpc_connect()
565 if (!(schpc_p->schpc_slot[slot].state & SCHPC_SLOTSTATE_HPCINITED)) { in schpc_connect()
574 if (schpc_p->schpc_slot[slot].state & SCHPC_SLOTSTATE_CONNECTED) { in schpc_connect()
[all …]
/titanic_41/usr/src/lib/libtnf/
H A Dstruct.c35 static struct slot * get_slot_named(struct slotinfo *, char *);
36 static struct slot * get_slot_indexed(struct slotinfo *, unsigned);
37 static tnf_datum_t get_slot(tnf_datum_t, struct slot *);
76 static struct slot *
88 static struct slot *
103 get_slot(tnf_datum_t datum, struct slot *slot) in get_slot() argument
105 if (slot == NULL) { in get_slot()
109 } else if (INFO_TAGGED(slot->slot_type)) { in get_slot()
116 (DATUM_VAL(datum) + slot->slot_offset)); in get_slot()
122 return DATUM(slot->slot_type, in get_slot()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/daktari/frutree/
H A Dpiclfrutree.info35 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J2900
37 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3100
39 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J2901
41 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3101
43 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3000
45 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3200
47 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3001
49 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3201
51 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J7900
53 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J8100
[all …]
/titanic_41/usr/src/uts/sun/io/
H A Dsbusmem.conf27 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 …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree/
H A Dpiclfrutree.info35 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J2900
37 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3100
39 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J2901
41 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3101
43 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3000
45 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3200
47 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3001
49 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3201
51 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J7900
53 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J8100
[all …]
/titanic_41/usr/src/uts/sun4u/starcat/sys/post/
H A Dscat_const.h70 #define IS_VALID_SLOT(slot) ((slot) >= 0 && (slot) < SLOT_COUNT) argument
131 #define SL2PWE(slot, lport) (((slot) << 2) + (lport)) argument
133 #define ESL2PFP(exp, slot, lport) (EPWE2PFP((exp), SL2PWE((slot), (lport)))) argument
141 #define LPORT_COUNT(slot) ((slot) ? S1_LPORT_COUNT : S0_LPORT_COUNT) argument
142 #define LPORT_MAX(slot) (LPORT_COUNT(slot) - 1) argument
143 #define IS_VALID_LPORT(slot, lport) \ argument
144 ((lport) >= 0 && (lport) < LPORT_COUNT(slot))
157 #define BBC_COUNT(slot) ((slot) ? S1_BBC_COUNT : S0_BBC_COUNT) argument
158 #define BBC_MAX(slot) (BBC_COUNT(slot) - 1) argument
159 #define IS_VALID_BBC(slot, bbc) \ argument
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/excalibur/frutree/
H A Dsystem-board.info33 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 …]
H A Dpiclfrutree.info77 NODE power-supply-slot location
78 PROP Label string r 0 "power-supply-slot"
81 NODE disk-slot location
85 NODE disk-slot location
89 NODE cpu-fan-slot location
90 PROP Label string r 0 "cpu-fan-slot"
93 NODE system-fan-slot location
94 PROP Label string r 0 "system-fan-slot"
107 * add the power-supply fru to the power-supply-slot
109 name:/frutree/chassis/power-supply-slot
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lw2plus/frutree/
H A Dsystem-board.info32 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 …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/chicago/frutree/
H A Dsystem-board.info32 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 …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/enchilada/frutree/
H A Dsystem-board.info32 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 …]
/titanic_41/usr/src/lib/libnsctl/common/
H A Dmachdep.c249 int slot; in nsc_name_to_id() local
257 for (slot = 0; slot < nodecnt; slot++) { in nsc_name_to_id()
258 if (strcmp(name, nodes[slot].nc_nodename) == 0) { in nsc_name_to_id()
259 *id = nodes[slot].nc_nodeid; in nsc_name_to_id()
263 if (slot >= nodecnt) { in nsc_name_to_id()
285 int slot; in nsc_id_to_name() local
295 for (slot = 0; slot < nodecnt; slot++) { in nsc_id_to_name()
296 if (nodes[slot].nc_nodeid == id) { in nsc_id_to_name()
297 foundname = strdup(nodes[slot].nc_nodename); in nsc_id_to_name()
307 if (slot >= nodecnt) { in nsc_id_to_name()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/grover/frutree/
H A Dsystem-board.info33 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 …]
/titanic_41/usr/src/uts/sun4u/serengeti/io/
H A Dsghsc.c146 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 …]
/titanic_41/usr/src/lib/fm/topo/maps/Joyent,Joyent-Compute-Platform-1101/
H A DJoyent-Compute-Platform-1101-disk-hc-topology.xmlgenksh71 slot=0
73 while (( slot <= 7 )); do
74 do_node $bay "Front Disk $bay" "$devctl" $enclosure $slot
76 (( slot = slot + 1 ))
79 slot=0
81 while (( slot <= 7 )); do
82 do_node $bay "Front Disk $bay" "$devctl" $enclosure $slot
84 (( slot = slot + 1 ))
/titanic_41/usr/src/cmd/picl/plugins/sun4u/taco/frutree/
H A Dsystem-board.info32 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 …]
/titanic_41/usr/src/uts/common/io/hxge/
H A Dhpi_pfc.h89 #define PFC_MAC_ADDRESS(slot) \ argument
90 ((slot * PFC_MAC_ADDR_STEP) + PFC_MAC_ADDR)
91 #define PFC_MAC_ADDRESS_MASK(slot) \ argument
92 ((slot * PFC_MAC_ADDR_STEP) + PFC_MAC_ADDR_MASK)
93 #define PFC_HASH_ADDR(slot) \ argument
94 ((slot * PFC_HASH_STEP) + PFC_HASH_TABLE)
96 #define PFC_L2_CONFIG(slot) \ argument
97 ((slot * PFC_L2_CLASS_CONFIG_STEP) + PFC_L2_CLASS_CONFIG)
98 #define PFC_L3_CONFIG(slot) \ argument
99 (((slot - TCAM_CLASS_TCP_IPV4) * PFC_L3_CLASS_CONFIG_STEP) + \
[all …]
H A Dhpi_pfc.c262 hpi_pfc_mac_addr_enable(hpi_handle_t handle, uint32_t slot) in hpi_pfc_mac_addr_enable() argument
267 if (slot >= PFC_N_MAC_ADDRESSES) { in hpi_pfc_mac_addr_enable()
273 if (slot < 24) { in hpi_pfc_mac_addr_enable()
274 bit = 1 << slot; in hpi_pfc_mac_addr_enable()
277 bit = 1 << (slot - 24); in hpi_pfc_mac_addr_enable()
285 hpi_pfc_mac_addr_disable(hpi_handle_t handle, uint32_t slot) in hpi_pfc_mac_addr_disable() argument
290 if (slot >= PFC_N_MAC_ADDRESSES) { in hpi_pfc_mac_addr_disable()
296 if (slot < 24) { in hpi_pfc_mac_addr_disable()
297 bit = 1 << slot; in hpi_pfc_mac_addr_disable()
300 bit = 1 << (slot - 24); in hpi_pfc_mac_addr_disable()
[all …]
/titanic_41/usr/src/uts/sun/io/scsi/adapters/
H A Dfas.c141 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 …]
/titanic_41/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSlotManager.c138 CK_ULONG slot; in meta_slotManager_finalize() local
150 for (slot = 0; slot < num_slots; slot++) { in meta_slotManager_finalize()
159 session = slots[slot].session_pool.idle_list_head; in meta_slotManager_finalize()
170 session = slots[slot].session_pool.persist_list_head; in meta_slotManager_finalize()
182 &slots[slot].tokenobject_list_lock); in meta_slotManager_finalize()
214 CK_ULONG slot; in meta_slotManager_find_object_token() local
233 for (slot = 0; slot < num_slots; slot++) { in meta_slotManager_find_object_token()
238 fw_st_id = slots[slot].fw_st_id; in meta_slotManager_find_object_token()
250 softtoken_slotnum = slot; in meta_slotManager_find_object_token()
255 unsigned char *slot; in meta_slotManager_find_object_token() local
[all …]
/titanic_41/usr/src/uts/common/io/pciex/hotplug/
H A Dpcishpc.c76 static int pcishpc_register_slot(pcie_hp_ctrl_t *ctrl_p, int slot);
89 static void pcishpc_set_slot_name(pcie_hp_ctrl_t *ctrl_p, int slot);
262 int slot; in pcishpc_intr() local
302 for (slot = 0; slot < ctrl_p->hc_num_slots_impl; slot++) { in pcishpc_intr()
303 if ((irq_locator & (PCI_HP_IRQ_SLOT_N_PENDING<<slot)) || in pcishpc_intr()
305 (PCI_HP_IRQ_SERR_SLOT_N_PENDING<<slot))) { in pcishpc_intr()
307 "pending IRQ\n", slot+1); in pcishpc_intr()
310 PCI_HP_LOGICAL_SLOT_REGS+slot); in pcishpc_intr()
315 slot+1); in pcishpc_intr()
320 slot+1); in pcishpc_intr()
[all …]

12345678910>>...13