Lines Matching refs:slot

44  * Type definition for slot handle. This is an opaque pointer
52 * slot operations structure definition.
56 * xxx_op_connect CONNECT the slot to the bus to enable
58 * xxx_op_disconnect DISCONNECT the slot from the bus. For PCI,
59 * this disables the power to the slot.
60 * xxx_op_insert Prepare the slot for card insertion. This
62 * xxx_op_remove Prepare the slot for card removal. This
88 uint16_t slot_type; /* slot type: PCI, ... */
91 /* pci bus slot */
101 } slot;
105 #define pci_dev_num slot.pci.device_number
106 #define pci_slot_name slot.pci.slot_logical_name
107 #define pci_slot_capabilities slot.pci.slot_capabilities
109 #define sbd_slot_num slot.sbd.slot_num
112 #define HPC_SLOT_TYPE_PCI 0x1 /* PCI bus slot */
113 #define HPC_SLOT_TYPE_CPCI 0x2 /* Compact PCI bus slot */
114 #define HPC_SLOT_TYPE_SBD 0x3 /* System bus slot */
115 #define HPC_SLOT_TYPE_PCIE 0x4 /* PCI Express slot */
118 #define HPC_SLOT_64BITS 0x0001 /* slot is a 64bit slot */
119 #define HPC_SLOT_TEST 0x0002 /* testing capability on the slot */
132 * HPC_CTRL_GET_SLOT_STATE hpc_slot_state_t * Get the slot state.
139 * uration for this slot.
141 * uration for this slot.
142 * HPC_CTRL_DISABLE_SLOT NULL Disable the slot for
144 * HPC_CTRL_ENABLE_SLOT NULL ReEnable the slot for
181 * type definition for slot state.
184 * HPC_SLOT_CONNECTED Card is present in the slot and it is
186 * HPC_SLOT_DISCONNECTED Card is present in the slot and it is
215 * HPC_EVENT_SLOT_INSERTION Card is inserted in the slot.
216 * HPC_EVENT_SLOT_REMOVAL Card is removed from the slot.
219 * HPC_EVENT_SLOT_LATCH_OPEN LATCH on the slot is open.
220 * HPC_EVENT_SLOT_LATCH_SHUT LATCH on the slot is shut.
222 * and it may be generated from this slot.
223 * HPC_EVENT_SLOT_NOT_HEALTHY HEALTHY# signal is lost on this slot.
224 * HPC_EVENT_SLOT_HEALTHY_OK HEALTHY# signal on this slot is OK now.
225 * HPC_EVENT_SLOT_CONFIGURE Configure the occupant in the slot.
226 * HPC_EVENT_SLOT_UNCONFIGURE Unconfigure the occupant in the slot.
254 #define HPC_ERR_SLOT_NOTREGISTERED 0x2 /* slot is not registered */
255 #define HPC_ERR_SLOT_DUPLICATE 0x3 /* slot is already registered */
256 #define HPC_ERR_BUS_NOTREGISTERED 0x4 /* slot is not registered */
257 #define HPC_ERR_BUS_DUPLICATE 0x5 /* slot is already registered */
265 /* definitions for slot (un)registration events */
266 #define HPC_SLOT_ONLINE 1 /* slot is registered */
267 #define HPC_SLOT_OFFLINE 2 /* slot is unregistered */