Lines Matching refs:hotplug_slot
42 static int set_attention_status(struct hotplug_slot *slot, u8 value);
43 static int enable_slot(struct hotplug_slot *slot);
44 static int disable_slot(struct hotplug_slot *slot);
45 static int get_power_status(struct hotplug_slot *slot, u8 *value);
46 static int get_attention_status(struct hotplug_slot *slot, u8 *value);
47 static int get_latch_status(struct hotplug_slot *slot, u8 *value);
48 static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
63 struct hotplug_slot *hotplug_slot; in init_slots() local
75 hotplug_slot = &slot->hotplug_slot; in init_slots()
95 hotplug_slot->ops = &shpchp_hotplug_slot_ops; in init_slots()
101 retval = pci_hp_register(hotplug_slot, in init_slots()
109 get_power_status(hotplug_slot, &slot->pwr_save); in init_slots()
110 get_attention_status(hotplug_slot, &slot->attention_save); in init_slots()
111 get_latch_status(hotplug_slot, &slot->latch_save); in init_slots()
112 get_adapter_status(hotplug_slot, &slot->presence_save); in init_slots()
134 pci_hp_deregister(&slot->hotplug_slot); in cleanup_slots()
142 static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 status) in set_attention_status() argument
144 struct slot *slot = get_slot(hotplug_slot); in set_attention_status()
155 static int enable_slot(struct hotplug_slot *hotplug_slot) in enable_slot() argument
157 struct slot *slot = get_slot(hotplug_slot); in enable_slot()
165 static int disable_slot(struct hotplug_slot *hotplug_slot) in disable_slot() argument
167 struct slot *slot = get_slot(hotplug_slot); in disable_slot()
175 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() argument
177 struct slot *slot = get_slot(hotplug_slot); in get_power_status()
190 static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_attention_status() argument
192 struct slot *slot = get_slot(hotplug_slot); in get_attention_status()
205 static int get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_latch_status() argument
207 struct slot *slot = get_slot(hotplug_slot); in get_latch_status()
220 static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_adapter_status() argument
222 struct slot *slot = get_slot(hotplug_slot); in get_adapter_status()