Lines Matching full:slot
63 struct slot { struct
85 struct slot *p_slot; argument
99 u32 first_slot; /* First physical slot number */
158 int shpchp_sysfs_enable_slot(struct slot *slot);
159 int shpchp_sysfs_disable_slot(struct slot *slot);
164 int shpchp_configure_device(struct slot *p_slot);
165 void shpchp_unconfigure_device(struct slot *p_slot);
170 static inline const char *slot_name(struct slot *slot) in slot_name() argument
172 return hotplug_slot_name(&slot->hotplug_slot); in slot_name()
208 static inline struct slot *get_slot(struct hotplug_slot *hotplug_slot) in get_slot()
210 return container_of(hotplug_slot, struct slot, hotplug_slot); in get_slot()
213 static inline struct slot *shpchp_find_slot(struct controller *ctrl, u8 device) in shpchp_find_slot()
215 struct slot *slot; in shpchp_find_slot() local
217 list_for_each_entry(slot, &ctrl->slot_list, slot_list) { in shpchp_find_slot()
218 if (slot->device == device) in shpchp_find_slot()
219 return slot; in shpchp_find_slot()
222 ctrl_err(ctrl, "Slot (device=0x%02x) not found\n", device); in shpchp_find_slot()
226 static inline void amd_pogo_errata_save_misc_reg(struct slot *p_slot) in amd_pogo_errata_save_misc_reg()
244 static inline void amd_pogo_errata_restore_misc_reg(struct slot *p_slot) in amd_pogo_errata_restore_misc_reg()
301 int shpchp_power_on_slot(struct slot *slot);
302 int shpchp_slot_enable(struct slot *slot);
303 int shpchp_slot_disable(struct slot *slot);
304 int shpchp_set_bus_speed_mode(struct slot *slot, enum pci_bus_speed speed);
305 int shpchp_get_power_status(struct slot *slot, u8 *status);
306 int shpchp_get_attention_status(struct slot *slot, u8 *status);
307 int shpchp_set_attention_status(struct slot *slot, u8 status);
308 int shpchp_get_latch_status(struct slot *slot, u8 *status);
309 int shpchp_get_adapter_status(struct slot *slot, u8 *status);
310 int shpchp_get_adapter_speed(struct slot *slot, enum pci_bus_speed *speed);
311 int shpchp_get_prog_int(struct slot *slot, u8 *prog_int);
312 int shpchp_query_power_fault(struct slot *slot);
313 void shpchp_green_led_on(struct slot *slot);
314 void shpchp_green_led_off(struct slot *slot);
315 void shpchp_green_led_blink(struct slot *slot);