Lines Matching refs:hotplug_slot
69 struct hotplug_slot;
72 ssize_t (*show)(struct hotplug_slot *, char *);
73 ssize_t (*store)(struct hotplug_slot *, const char *, size_t);
115 int (*enable_slot) (struct hotplug_slot *slot);
116 int (*disable_slot) (struct hotplug_slot *slot);
117 int (*set_attention_status) (struct hotplug_slot *slot, u8 value);
118 int (*hardware_test) (struct hotplug_slot *slot, u32 value);
119 int (*get_power_status) (struct hotplug_slot *slot, u8 *value);
120 int (*get_attention_status) (struct hotplug_slot *slot, u8 *value);
121 int (*get_latch_status) (struct hotplug_slot *slot, u8 *value);
122 int (*get_adapter_status) (struct hotplug_slot *slot, u8 *value);
123 int (*get_address) (struct hotplug_slot *slot, u32 *value);
124 int (*get_max_bus_speed) (struct hotplug_slot *slot, enum pci_bus_speed *value);
125 int (*get_cur_bus_speed) (struct hotplug_slot *slot, enum pci_bus_speed *value);
149 * struct hotplug_slot - used to register a physical slot with the hotplug pci core
156 * hotplug_slot structure.
160 struct hotplug_slot {
164 void (*release) (struct hotplug_slot *slot);
171 #define to_hotplug_slot(n) container_of(n, struct hotplug_slot, kobj)
173 extern int pci_hp_register (struct hotplug_slot *slot);
174 extern int pci_hp_deregister (struct hotplug_slot *slot);
175 extern int __must_check pci_hp_change_slot_info (struct hotplug_slot *slot,