Lines Matching refs:slot

63 struct slot {
86 struct slot *p_slot;
101 u32 first_slot; /* First physical slot number */
160 int shpchp_sysfs_enable_slot(struct slot *slot);
161 int shpchp_sysfs_disable_slot(struct slot *slot);
166 int shpchp_configure_device(struct slot *p_slot);
167 void shpchp_unconfigure_device(struct slot *p_slot);
172 static inline const char *slot_name(struct slot *slot)
174 return hotplug_slot_name(&slot->hotplug_slot);
210 static inline struct slot *get_slot(struct hotplug_slot *hotplug_slot)
212 return container_of(hotplug_slot, struct slot, hotplug_slot);
215 static inline struct slot *shpchp_find_slot(struct controller *ctrl, u8 device)
217 struct slot *slot;
219 list_for_each_entry(slot, &ctrl->slot_list, slot_list) {
220 if (slot->device == device)
221 return slot;
228 static inline void amd_pogo_errata_save_misc_reg(struct slot *p_slot)
246 static inline void amd_pogo_errata_restore_misc_reg(struct slot *p_slot)
304 int (*power_on_slot)(struct slot *slot);
305 int (*slot_enable)(struct slot *slot);
306 int (*slot_disable)(struct slot *slot);
307 int (*set_bus_speed_mode)(struct slot *slot, enum pci_bus_speed speed);
308 int (*get_power_status)(struct slot *slot, u8 *status);
309 int (*get_attention_status)(struct slot *slot, u8 *status);
310 int (*set_attention_status)(struct slot *slot, u8 status);
311 int (*get_latch_status)(struct slot *slot, u8 *status);
312 int (*get_adapter_status)(struct slot *slot, u8 *status);
313 int (*get_adapter_speed)(struct slot *slot, enum pci_bus_speed *speed);
314 int (*get_prog_int)(struct slot *slot, u8 *prog_int);
315 int (*query_power_fault)(struct slot *slot);
316 void (*green_led_on)(struct slot *slot);
317 void (*green_led_off)(struct slot *slot);
318 void (*green_led_blink)(struct slot *slot);