Lines Matching defs:hotplug_slot
670 static int fillslotinfo(struct hotplug_slot *hotplug_slot)
675 if (!hotplug_slot || !hotplug_slot->private)
678 slot = hotplug_slot->private;
684 hotplug_slot->info->power_status = SLOT_POWER(slot->status);
687 hotplug_slot->info->attention_status = SLOT_ATTN(slot->status, slot->ext_status);
690 hotplug_slot->info->latch_status = SLOT_LATCH(slot->status);
694 hotplug_slot->info->adapter_status = 1;
696 hotplug_slot->info->adapter_status = 0;
700 hotplug_slot->info->max_bus_speed_status = BUS_SPEED_66PCIX;
702 hotplug_slot->info->max_bus_speed_status = slot->bus_on->supported_speed;
708 static void release_slot(struct hotplug_slot *hotplug_slot)
712 if (!hotplug_slot || !hotplug_slot->private)
715 slot = hotplug_slot->private;
716 kfree(slot->hotplug_slot->info);
717 kfree(slot->hotplug_slot);
740 struct hotplug_slot *hp_slot_ptr;
947 tmp_slot->hotplug_slot = hp_slot_ptr;
973 pci_hp_register(tmp_slot->hotplug_slot,