Lines Matching refs:hotplug_slot
678 static int fillslotinfo(struct hotplug_slot *hotplug_slot) in fillslotinfo() argument
683 if (!hotplug_slot || !hotplug_slot->private) in fillslotinfo()
686 slot = hotplug_slot->private; in fillslotinfo()
692 hotplug_slot->info->power_status = SLOT_POWER(slot->status); in fillslotinfo()
695 hotplug_slot->info->attention_status = SLOT_ATTN(slot->status, slot->ext_status); in fillslotinfo()
698 hotplug_slot->info->latch_status = SLOT_LATCH(slot->status); in fillslotinfo()
702 hotplug_slot->info->adapter_status = 1; in fillslotinfo()
704 hotplug_slot->info->adapter_status = 0; in fillslotinfo()
716 static void release_slot(struct hotplug_slot *hotplug_slot) in release_slot() argument
720 if (!hotplug_slot || !hotplug_slot->private) in release_slot()
723 slot = hotplug_slot->private; in release_slot()
724 kfree(slot->hotplug_slot->info); in release_slot()
725 kfree(slot->hotplug_slot); in release_slot()
748 struct hotplug_slot *hp_slot_ptr; in ebda_rsrc_controller()
955 tmp_slot->hotplug_slot = hp_slot_ptr; in ebda_rsrc_controller()
981 pci_hp_register(tmp_slot->hotplug_slot, in ebda_rsrc_controller()