Searched refs:tmp_slot (Results 1 – 4 of 4) sorted by relevance
38 struct mm_slot *tmp_slot, *mm_slot = NULL; \40 hash_for_each_possible(_hashtable, tmp_slot, hash, (unsigned long)_mm) \41 if (_mm == tmp_slot->mm) { \42 mm_slot = tmp_slot; \
692 struct slot *tmp_slot; in ebda_rsrc_controller() local843 tmp_slot = kzalloc(sizeof(*tmp_slot), GFP_KERNEL); in ebda_rsrc_controller()844 if (!tmp_slot) { in ebda_rsrc_controller()849 tmp_slot->flag = 1; in ebda_rsrc_controller()851 tmp_slot->capabilities = hpc_ptr->slots[index].slot_cap; in ebda_rsrc_controller()853 tmp_slot->supported_speed = 3; in ebda_rsrc_controller()855 tmp_slot->supported_speed = 2; in ebda_rsrc_controller()857 tmp_slot->supported_speed = 1; in ebda_rsrc_controller()860 tmp_slot->supported_bus_mode = 1; in ebda_rsrc_controller()862 tmp_slot->supported_bus_mode = 0; in ebda_rsrc_controller()[all …]
56 struct slot *tmp_slot; in is_registered() local58 list_for_each_entry(tmp_slot, &rpaphp_slot_head, rpaphp_slot_list) { in is_registered()59 if (!strcmp(tmp_slot->name, slot->name)) in is_registered()
710 struct slot *tmp_slot; in is_bus_empty() local718 tmp_slot = ibmphp_get_slot_from_physical_num(i); in is_bus_empty()719 if (!tmp_slot) in is_bus_empty()721 rc = slot_update(&tmp_slot); in is_bus_empty()724 if (SLOT_PRESENT(tmp_slot->status) && in is_bus_empty()725 SLOT_PWRGD(tmp_slot->status)) in is_bus_empty()838 struct slot *tmp_slot; in check_limitations() local843 tmp_slot = ibmphp_get_slot_from_physical_num(i); in check_limitations()844 if (!tmp_slot) in check_limitations()846 if ((SLOT_PWRGD(tmp_slot->status)) && in check_limitations()[all …]