Lines Matching refs:hotplug_slot

45 static int set_attention_status(struct hotplug_slot *slot, u8 value);
46 static int enable_slot(struct hotplug_slot *slot);
47 static int disable_slot(struct hotplug_slot *slot);
48 static int get_power_status(struct hotplug_slot *slot, u8 *value);
49 static int get_attention_status(struct hotplug_slot *slot, u8 *value);
50 static int get_latch_status(struct hotplug_slot *slot, u8 *value);
51 static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
66 struct hotplug_slot *hotplug_slot;
78 hotplug_slot = &slot->hotplug_slot;
98 hotplug_slot->ops = &shpchp_hotplug_slot_ops;
104 retval = pci_hp_register(hotplug_slot,
112 get_power_status(hotplug_slot, &slot->pwr_save);
113 get_attention_status(hotplug_slot, &slot->attention_save);
114 get_latch_status(hotplug_slot, &slot->latch_save);
115 get_adapter_status(hotplug_slot, &slot->presence_save);
137 pci_hp_deregister(&slot->hotplug_slot);
145 static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 status)
147 struct slot *slot = get_slot(hotplug_slot);
158 static int enable_slot(struct hotplug_slot *hotplug_slot)
160 struct slot *slot = get_slot(hotplug_slot);
168 static int disable_slot(struct hotplug_slot *hotplug_slot)
170 struct slot *slot = get_slot(hotplug_slot);
178 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
180 struct slot *slot = get_slot(hotplug_slot);
193 static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value)
195 struct slot *slot = get_slot(hotplug_slot);
208 static int get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value)
210 struct slot *slot = get_slot(hotplug_slot);
223 static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value)
225 struct slot *slot = get_slot(hotplug_slot);