Lines Matching full:slot
47 struct slot {
69 struct slot *p_slot;
83 u32 first_slot; /* First physical slot number */
142 int shpchp_sysfs_enable_slot(struct slot *slot);
143 int shpchp_sysfs_disable_slot(struct slot *slot);
148 int shpchp_configure_device(struct slot *p_slot);
149 void shpchp_unconfigure_device(struct slot *p_slot);
154 static inline const char *slot_name(struct slot *slot)
156 return hotplug_slot_name(&slot->hotplug_slot);
192 static inline struct slot *get_slot(struct hotplug_slot *hotplug_slot)
194 return container_of(hotplug_slot, struct slot, hotplug_slot);
197 static inline struct slot *shpchp_find_slot(struct controller *ctrl, u8 device)
199 struct slot *slot;
201 list_for_each_entry(slot, &ctrl->slot_list, slot_list) {
202 if (slot->device == device)
203 return slot;
206 ctrl_err(ctrl, "Slot (device=0x%02x) not found\n", device);
210 static inline void amd_pogo_errata_save_misc_reg(struct slot *p_slot)
228 static inline void amd_pogo_errata_restore_misc_reg(struct slot *p_slot)
285 int shpchp_power_on_slot(struct slot *slot);
286 int shpchp_slot_enable(struct slot *slot);
287 int shpchp_slot_disable(struct slot *slot);
288 int shpchp_set_bus_speed_mode(struct slot *slot, enum pci_bus_speed speed);
289 int shpchp_get_power_status(struct slot *slot, u8 *status);
290 int shpchp_get_attention_status(struct slot *slot, u8 *status);
291 int shpchp_set_attention_status(struct slot *slot, u8 status);
292 int shpchp_get_latch_status(struct slot *slot, u8 *status);
293 int shpchp_get_adapter_status(struct slot *slot, u8 *status);
294 int shpchp_get_adapter_speed(struct slot *slot, enum pci_bus_speed *speed);
295 int shpchp_get_prog_int(struct slot *slot, u8 *prog_int);
296 int shpchp_query_power_fault(struct slot *slot);
297 void shpchp_green_led_on(struct slot *slot);
298 void shpchp_green_led_off(struct slot *slot);
299 void shpchp_green_led_blink(struct slot *slot);