Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/pci/hotplug/
Dibmphp_ebda.c721 struct slot *tmp_slot; in ebda_rsrc_controller() local
886 tmp_slot = kzalloc(sizeof(*tmp_slot), GFP_KERNEL); in ebda_rsrc_controller()
887 if (!tmp_slot) { in ebda_rsrc_controller()
892 tmp_slot->flag = 1; in ebda_rsrc_controller()
894 tmp_slot->capabilities = hpc_ptr->slots[index].slot_cap; in ebda_rsrc_controller()
896 tmp_slot->supported_speed = 3; in ebda_rsrc_controller()
898 tmp_slot->supported_speed = 2; in ebda_rsrc_controller()
900 tmp_slot->supported_speed = 1; in ebda_rsrc_controller()
903 tmp_slot->supported_bus_mode = 1; in ebda_rsrc_controller()
905 tmp_slot->supported_bus_mode = 0; in ebda_rsrc_controller()
[all …]
Drpaphp_slot.c68 struct slot *tmp_slot; in is_registered() local
70 list_for_each_entry(tmp_slot, &rpaphp_slot_head, rpaphp_slot_list) { in is_registered()
71 if (!strcmp(tmp_slot->name, slot->name)) in is_registered()
Dibmphp_core.c817 struct slot *tmp_slot; in is_bus_empty() local
825 tmp_slot = ibmphp_get_slot_from_physical_num(i); in is_bus_empty()
826 if (!tmp_slot) in is_bus_empty()
828 rc = slot_update(&tmp_slot); in is_bus_empty()
831 if (SLOT_PRESENT(tmp_slot->status) && in is_bus_empty()
832 SLOT_PWRGD(tmp_slot->status)) in is_bus_empty()
945 struct slot *tmp_slot; in check_limitations() local
950 tmp_slot = ibmphp_get_slot_from_physical_num(i); in check_limitations()
951 if (!tmp_slot) in check_limitations()
953 if ((SLOT_PWRGD(tmp_slot->status)) && in check_limitations()
[all …]