Lines Matching refs:slot

69 static int set_attention_status (struct hotplug_slot *slot, u8 value);
70 static int enable_slot (struct hotplug_slot *slot);
71 static int disable_slot (struct hotplug_slot *slot);
72 static int hardware_test (struct hotplug_slot *slot, u32 value);
73 static int get_power_status (struct hotplug_slot *slot, u8 *value);
74 static int get_attention_status (struct hotplug_slot *slot, u8 *value);
75 static int get_latch_status (struct hotplug_slot *slot, u8 *value);
76 static int get_adapter_status (struct hotplug_slot *slot, u8 *value);
77 static int get_max_bus_speed (struct hotplug_slot *slot, enum pci_bus_speed *value);
78 static int get_cur_bus_speed (struct hotplug_slot *slot, enum pci_bus_speed *value);
96 struct slot *new_slot; in init_slots()
109 new_slot = (struct slot *) kmalloc(sizeof(struct slot), GFP_KERNEL); in init_slots()
113 memset(new_slot, 0, sizeof(struct slot)); in init_slots()
173 new_slot->next = ctrl->slot; in init_slots()
174 ctrl->slot = new_slot; in init_slots()
187 struct slot *old_slot, *next_slot; in cleanup_slots()
189 old_slot = ctrl->slot; in cleanup_slots()
190 ctrl->slot = NULL; in cleanup_slots()
240 struct slot *slot = get_slot (hotplug_slot, __FUNCTION__); in set_attention_status() local
242 if (slot == NULL) in set_attention_status()
248 slot->hpc_ops->set_attention_status(slot, status); in set_attention_status()
257 struct slot *slot = get_slot (hotplug_slot, __FUNCTION__); in enable_slot() local
259 if (slot == NULL) in enable_slot()
264 return shpchp_enable_slot(slot); in enable_slot()
270 struct slot *slot = get_slot (hotplug_slot, __FUNCTION__); in disable_slot() local
272 if (slot == NULL) in disable_slot()
277 return shpchp_disable_slot(slot); in disable_slot()
289 struct slot *slot = get_slot (hotplug_slot, __FUNCTION__); in get_power_status() local
292 if (slot == NULL) in get_power_status()
297 retval = slot->hpc_ops->get_power_status(slot, value); in get_power_status()
306 struct slot *slot = get_slot (hotplug_slot, __FUNCTION__); in get_attention_status() local
309 if (slot == NULL) in get_attention_status()
314 retval = slot->hpc_ops->get_attention_status(slot, value); in get_attention_status()
323 struct slot *slot = get_slot (hotplug_slot, __FUNCTION__); in get_latch_status() local
326 if (slot == NULL) in get_latch_status()
331 retval = slot->hpc_ops->get_latch_status(slot, value); in get_latch_status()
340 struct slot *slot = get_slot (hotplug_slot, __FUNCTION__); in get_adapter_status() local
343 if (slot == NULL) in get_adapter_status()
348 retval = slot->hpc_ops->get_adapter_status(slot, value); in get_adapter_status()
358 struct slot *slot = get_slot (hotplug_slot, __FUNCTION__); in get_max_bus_speed() local
361 if (slot == NULL) in get_max_bus_speed()
366 retval = slot->hpc_ops->get_max_bus_speed(slot, value); in get_max_bus_speed()
375 struct slot *slot = get_slot (hotplug_slot, __FUNCTION__); in get_cur_bus_speed() local
378 if (slot == NULL) in get_cur_bus_speed()
383 retval = slot->hpc_ops->get_cur_bus_speed(slot, value); in get_cur_bus_speed()
394 struct slot *t_slot; in shpc_probe()