• Home
  • Raw
  • Download

Lines Matching refs:slot

63 struct slot {  struct
86 struct slot *p_slot; argument
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) in slot_name() argument
174 return hotplug_slot_name(&slot->hotplug_slot); in slot_name()
210 static inline struct slot *get_slot(struct hotplug_slot *hotplug_slot) in get_slot()
212 return container_of(hotplug_slot, struct slot, hotplug_slot); in get_slot()
215 static inline struct slot *shpchp_find_slot(struct controller *ctrl, u8 device) in shpchp_find_slot()
217 struct slot *slot; in shpchp_find_slot() local
219 list_for_each_entry(slot, &ctrl->slot_list, slot_list) { in shpchp_find_slot()
220 if (slot->device == device) in shpchp_find_slot()
221 return slot; in shpchp_find_slot()
228 static inline void amd_pogo_errata_save_misc_reg(struct slot *p_slot) in amd_pogo_errata_save_misc_reg()
246 static inline void amd_pogo_errata_restore_misc_reg(struct slot *p_slot) in amd_pogo_errata_restore_misc_reg()
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_mode1_ECC_cap)(struct slot *slot, u8 *mode);
315 int (*get_prog_int)(struct slot *slot, u8 *prog_int);
316 int (*query_power_fault)(struct slot *slot);
317 void (*green_led_on)(struct slot *slot);
318 void (*green_led_off)(struct slot *slot);
319 void (*green_led_blink)(struct slot *slot);