Searched refs:tmp_slot (Results 1 – 3 of 3) sorted by relevance
692 struct slot *tmp_slot; in ebda_rsrc_controller() local844 tmp_slot = kzalloc(sizeof(*tmp_slot), GFP_KERNEL); in ebda_rsrc_controller()845 if (!tmp_slot) { in ebda_rsrc_controller()850 tmp_slot->flag = 1; in ebda_rsrc_controller()852 tmp_slot->capabilities = hpc_ptr->slots[index].slot_cap; in ebda_rsrc_controller()854 tmp_slot->supported_speed = 3; in ebda_rsrc_controller()856 tmp_slot->supported_speed = 2; in ebda_rsrc_controller()858 tmp_slot->supported_speed = 1; in ebda_rsrc_controller()861 tmp_slot->supported_bus_mode = 1; in ebda_rsrc_controller()863 tmp_slot->supported_bus_mode = 0; in ebda_rsrc_controller()[all …]
55 struct slot *tmp_slot; in is_registered() local57 list_for_each_entry(tmp_slot, &rpaphp_slot_head, rpaphp_slot_list) { in is_registered()58 if (!strcmp(tmp_slot->name, slot->name)) in is_registered()
781 struct slot *tmp_slot; in is_bus_empty() local789 tmp_slot = ibmphp_get_slot_from_physical_num(i); in is_bus_empty()790 if (!tmp_slot) in is_bus_empty()792 rc = slot_update(&tmp_slot); in is_bus_empty()795 if (SLOT_PRESENT(tmp_slot->status) && in is_bus_empty()796 SLOT_PWRGD(tmp_slot->status)) in is_bus_empty()909 struct slot *tmp_slot; in check_limitations() local914 tmp_slot = ibmphp_get_slot_from_physical_num(i); in check_limitations()915 if (!tmp_slot) in check_limitations()917 if ((SLOT_PWRGD(tmp_slot->status)) && in check_limitations()[all …]