Lines Matching refs:slot
77 struct slot { struct
98 struct slot *p_slot; argument
173 int shpchp_sysfs_enable_slot(struct slot *slot);
174 int shpchp_sysfs_disable_slot(struct slot *slot);
179 int shpchp_configure_device(struct slot *p_slot);
180 int shpchp_unconfigure_device(struct slot *p_slot);
185 static inline const char *slot_name(struct slot *slot) in slot_name() argument
187 return hotplug_slot_name(slot->hotplug_slot); in slot_name()
234 static inline struct slot *get_slot(struct hotplug_slot *hotplug_slot) in get_slot()
239 static inline struct slot *shpchp_find_slot(struct controller *ctrl, u8 device) in shpchp_find_slot()
241 struct slot *slot; in shpchp_find_slot() local
243 list_for_each_entry(slot, &ctrl->slot_list, slot_list) { in shpchp_find_slot()
244 if (slot->device == device) in shpchp_find_slot()
245 return slot; in shpchp_find_slot()
252 static inline void amd_pogo_errata_save_misc_reg(struct slot *p_slot) in amd_pogo_errata_save_misc_reg()
270 static inline void amd_pogo_errata_restore_misc_reg(struct slot *p_slot) in amd_pogo_errata_restore_misc_reg()
328 int (*power_on_slot)(struct slot *slot);
329 int (*slot_enable)(struct slot *slot);
330 int (*slot_disable)(struct slot *slot);
331 int (*set_bus_speed_mode)(struct slot *slot, enum pci_bus_speed speed);
332 int (*get_power_status)(struct slot *slot, u8 *status);
333 int (*get_attention_status)(struct slot *slot, u8 *status);
334 int (*set_attention_status)(struct slot *slot, u8 status);
335 int (*get_latch_status)(struct slot *slot, u8 *status);
336 int (*get_adapter_status)(struct slot *slot, u8 *status);
337 int (*get_adapter_speed)(struct slot *slot, enum pci_bus_speed *speed);
338 int (*get_mode1_ECC_cap)(struct slot *slot, u8 *mode);
339 int (*get_prog_int)(struct slot *slot, u8 *prog_int);
340 int (*query_power_fault)(struct slot *slot);
341 void (*green_led_on)(struct slot *slot);
342 void (*green_led_off)(struct slot *slot);
343 void (*green_led_blink)(struct slot *slot);