Lines Matching refs:hotplug_slot

213 static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 value)
219 debug("set_attention_status - Entry hotplug_slot[%lx] value[%x]\n",
220 (ulong) hotplug_slot, value);
224 if (hotplug_slot) {
242 pslot = to_slot(hotplug_slot);
254 static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value)
260 debug("get_attention_status - Entry hotplug_slot[%lx] pvalue[%lx]\n",
261 (ulong) hotplug_slot, (ulong) value);
264 if (hotplug_slot) {
265 pslot = to_slot(hotplug_slot);
281 static int get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value)
287 debug("get_latch_status - Entry hotplug_slot[%lx] pvalue[%lx]\n",
288 (ulong) hotplug_slot, (ulong) value);
290 if (hotplug_slot) {
291 pslot = to_slot(hotplug_slot);
306 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
312 debug("get_power_status - Entry hotplug_slot[%lx] pvalue[%lx]\n",
313 (ulong) hotplug_slot, (ulong) value);
315 if (hotplug_slot) {
316 pslot = to_slot(hotplug_slot);
330 static int get_adapter_present(struct hotplug_slot *hotplug_slot, u8 *value)
337 debug("get_adapter_status - Entry hotplug_slot[%lx] pvalue[%lx]\n",
338 (ulong) hotplug_slot, (ulong) value);
340 if (hotplug_slot) {
341 pslot = to_slot(hotplug_slot);
364 struct pci_bus *bus = slot->hotplug_slot.pci_slot->bus;
501 struct pci_bus *bus = slot_cur->hotplug_slot.pci_slot->bus;
560 * the pointers to pci_func, bus, hotplug_slot, controller,
571 pci_hp_del(&slot_cur->hotplug_slot);
581 pci_hp_destroy(&slot_cur->hotplug_slot);
890 * Parameters: hotplug_slot
893 static int enable_slot(struct hotplug_slot *hs)
1062 static int ibmphp_disable_slot(struct hotplug_slot *hotplug_slot)
1064 struct slot *slot = to_slot(hotplug_slot);