Home
last modified time | relevance | path

Searched refs:tmp_slot (Results 1 – 3 of 3) sorted by relevance

/drivers/pci/hotplug/
Dibmphp_ebda.c755 struct slot *tmp_slot; in ebda_rsrc_controller() local
920 tmp_slot = kzalloc(sizeof(*tmp_slot), GFP_KERNEL); in ebda_rsrc_controller()
921 if (!tmp_slot) { in ebda_rsrc_controller()
926 tmp_slot->flag = 1; in ebda_rsrc_controller()
928 tmp_slot->capabilities = hpc_ptr->slots[index].slot_cap; in ebda_rsrc_controller()
930 tmp_slot->supported_speed = 3; in ebda_rsrc_controller()
932 tmp_slot->supported_speed = 2; in ebda_rsrc_controller()
934 tmp_slot->supported_speed = 1; in ebda_rsrc_controller()
937 tmp_slot->supported_bus_mode = 1; in ebda_rsrc_controller()
939 tmp_slot->supported_bus_mode = 0; in ebda_rsrc_controller()
[all …]
Drpaphp_slot.c89 struct slot *tmp_slot; in is_registered() local
91 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()
Dibmphp_core.c822 struct slot * tmp_slot; in is_bus_empty() local
830 tmp_slot = ibmphp_get_slot_from_physical_num(i); in is_bus_empty()
831 if (!tmp_slot) in is_bus_empty()
833 rc = slot_update(&tmp_slot); in is_bus_empty()
836 if (SLOT_PRESENT(tmp_slot->status) && in is_bus_empty()
837 SLOT_PWRGD(tmp_slot->status)) in is_bus_empty()
950 struct slot * tmp_slot; in check_limitations() local
955 tmp_slot = ibmphp_get_slot_from_physical_num(i); in check_limitations()
956 if (!tmp_slot) in check_limitations()
958 if ((SLOT_PWRGD(tmp_slot->status)) && in check_limitations()
[all …]