Lines Matching refs:hotplug_slot
46 static int set_attention_status(struct hotplug_slot *slot, u8 value);
47 static int get_power_status(struct hotplug_slot *slot, u8 *value);
48 static int get_latch_status(struct hotplug_slot *slot, u8 *value);
49 static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
78 ctrl->hotplug_slot.ops = ops;
81 retval = pci_hp_initialize(&ctrl->hotplug_slot,
93 struct hotplug_slot *hotplug_slot = &ctrl->hotplug_slot;
95 pci_hp_destroy(hotplug_slot);
96 kfree(hotplug_slot->ops);
102 static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 status)
104 struct controller *ctrl = to_ctrl(hotplug_slot);
118 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
120 struct controller *ctrl = to_ctrl(hotplug_slot);
129 static int get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value)
131 struct controller *ctrl = to_ctrl(hotplug_slot);
140 static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value)
142 struct controller *ctrl = to_ctrl(hotplug_slot);
226 rc = pci_hp_add(&ctrl->hotplug_slot);
249 pci_hp_del(&ctrl->hotplug_slot);