Searched refs:tmp_slot (Results 1 – 3 of 3) sorted by relevance
754 struct slot *tmp_slot; in ebda_rsrc_controller() local919 tmp_slot = kzalloc(sizeof(*tmp_slot), GFP_KERNEL); in ebda_rsrc_controller()920 if (!tmp_slot) { in ebda_rsrc_controller()925 tmp_slot->flag = 1; in ebda_rsrc_controller()927 tmp_slot->capabilities = hpc_ptr->slots[index].slot_cap; in ebda_rsrc_controller()929 tmp_slot->supported_speed = 3; in ebda_rsrc_controller()931 tmp_slot->supported_speed = 2; in ebda_rsrc_controller()933 tmp_slot->supported_speed = 1; in ebda_rsrc_controller()936 tmp_slot->supported_bus_mode = 1; in ebda_rsrc_controller()938 tmp_slot->supported_bus_mode = 0; in ebda_rsrc_controller()[all …]
89 struct slot *tmp_slot; in is_registered() local91 list_for_each_entry(tmp_slot, &rpaphp_slot_head, rpaphp_slot_list) { in is_registered()92 if (!strcmp(tmp_slot->name, slot->name)) in is_registered()
821 struct slot *tmp_slot; in is_bus_empty() local829 tmp_slot = ibmphp_get_slot_from_physical_num(i); in is_bus_empty()830 if (!tmp_slot) in is_bus_empty()832 rc = slot_update(&tmp_slot); in is_bus_empty()835 if (SLOT_PRESENT(tmp_slot->status) && in is_bus_empty()836 SLOT_PWRGD(tmp_slot->status)) in is_bus_empty()949 struct slot *tmp_slot; in check_limitations() local954 tmp_slot = ibmphp_get_slot_from_physical_num(i); in check_limitations()955 if (!tmp_slot) in check_limitations()957 if ((SLOT_PWRGD(tmp_slot->status)) && in check_limitations()[all …]