Lines Matching refs:hotplug_slot
237 static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 value) in set_attention_status() argument
244 (ulong) hotplug_slot, value); in set_attention_status()
248 if (hotplug_slot) { in set_attention_status()
266 pslot = hotplug_slot->private; in set_attention_status()
281 static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_attention_status() argument
288 (ulong) hotplug_slot, (ulong) value); in get_attention_status()
291 if (hotplug_slot) { in get_attention_status()
292 pslot = hotplug_slot->private; in get_attention_status()
312 static int get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_latch_status() argument
319 (ulong) hotplug_slot, (ulong) value); in get_latch_status()
321 if (hotplug_slot) { in get_latch_status()
322 pslot = hotplug_slot->private; in get_latch_status()
339 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() argument
346 (ulong) hotplug_slot, (ulong) value); in get_power_status()
348 if (hotplug_slot) { in get_power_status()
349 pslot = hotplug_slot->private; in get_power_status()
365 static int get_adapter_present(struct hotplug_slot *hotplug_slot, u8 *value) in get_adapter_present() argument
373 (ulong) hotplug_slot, (ulong) value); in get_adapter_present()
375 if (hotplug_slot) { in get_adapter_present()
376 pslot = hotplug_slot->private; in get_adapter_present()
401 struct pci_bus *bus = slot->hotplug_slot->pci_slot->bus; in get_max_bus_speed()
608 struct pci_bus *bus = slot_cur->hotplug_slot->pci_slot->bus; in ibmphp_update_slot_info()
657 rc = pci_hp_change_slot_info(slot_cur->hotplug_slot, info); in ibmphp_update_slot_info()
704 pci_hp_deregister(slot_cur->hotplug_slot); in free_slots()
1016 static int enable_slot(struct hotplug_slot *hs) in enable_slot()
1187 static int ibmphp_disable_slot(struct hotplug_slot *hotplug_slot) in ibmphp_disable_slot() argument
1189 struct slot *slot = hotplug_slot->private; in ibmphp_disable_slot()