Lines Matching refs:slot

75 static inline int get_cur_bus_info(struct slot **sl)  in get_cur_bus_info()
78 struct slot *slot_cur = *sl; in get_cur_bus_info()
105 static inline int slot_update(struct slot **sl) in slot_update()
118 struct slot *slot_cur; in get_max_slots()
123 slot_cur = list_entry(tmp, struct slot, ibm_slot_list); in get_max_slots()
136 int ibmphp_init_devno(struct slot **cur_slot) in ibmphp_init_devno()
157 if ((*cur_slot)->number == rtable->slots[loop].slot && in ibmphp_init_devno()
202 static inline int power_on(struct slot *slot_cur) in power_on()
220 static inline int power_off(struct slot *slot_cur) in power_off()
240 struct slot *pslot; in set_attention_status()
284 struct slot *pslot; in get_attention_status()
285 struct slot myslot; in get_attention_status()
294 memcpy(&myslot, pslot, sizeof(struct slot)); in get_attention_status()
315 struct slot *pslot; in get_latch_status()
316 struct slot myslot; in get_latch_status()
324 memcpy(&myslot, pslot, sizeof(struct slot)); in get_latch_status()
342 struct slot *pslot; in get_power_status()
343 struct slot myslot; in get_power_status()
351 memcpy(&myslot, pslot, sizeof(struct slot)); in get_power_status()
368 struct slot *pslot; in get_adapter_present()
370 struct slot myslot; in get_adapter_present()
378 memcpy(&myslot, pslot, sizeof(struct slot)); in get_adapter_present()
396 static int get_max_bus_speed(struct slot *slot) in get_max_bus_speed() argument
401 struct pci_bus *bus = slot->hotplug_slot->pci_slot->bus; in get_max_bus_speed()
403 debug("%s - Entry slot[%p]\n", __func__, slot); in get_max_bus_speed()
406 mode = slot->supported_bus_mode; in get_max_bus_speed()
407 speed = slot->supported_speed; in get_max_bus_speed()
503 struct slot *slot_cur; in init_ops()
509 slot_cur = list_entry(tmp, struct slot, ibm_slot_list); in init_ops()
564 static int validate(struct slot *slot_cur, int opn) in validate()
605 int ibmphp_update_slot_info(struct slot *slot_cur) in ibmphp_update_slot_info()
671 struct slot *slot_cur; in ibm_slot_find()
674 slot_cur = list_entry(tmp, struct slot, ibm_slot_list); in ibm_slot_find()
696 struct slot *slot_cur; in free_slots()
703 slot_cur = list_entry(tmp, struct slot, ibm_slot_list); in free_slots()
830 static int is_bus_empty(struct slot *slot_cur) in is_bus_empty()
833 struct slot *tmp_slot; in is_bus_empty()
861 static int set_bus(struct slot *slot_cur) in set_bus()
958 static int check_limitations(struct slot *slot_cur) in check_limitations()
961 struct slot *tmp_slot; in check_limitations()
997 static inline void print_card_capability(struct slot *slot_cur) in print_card_capability()
1019 struct slot *slot_cur; in enable_slot()
1189 struct slot *slot = hotplug_slot->private; in ibmphp_disable_slot() local
1193 rc = ibmphp_do_disable_slot(slot); in ibmphp_disable_slot()
1198 int ibmphp_do_disable_slot(struct slot *slot_cur) in ibmphp_do_disable_slot()