Searched refs:bus_cur (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/pci/hotplug/ |
D | ibmphp_res.c | 25 static void update_resources(struct bus_node *bus_cur, int type, int rangeno); 185 struct bus_node *bus_cur; in ibmphp_rsrc_init() local 212 bus_cur = find_bus_wprev(curr->bus_num, &bus_prev, 1); in ibmphp_rsrc_init() 214 if (bus_cur) { in ibmphp_rsrc_init() 215 rc = alloc_bus_range(&bus_cur, &newrange, curr, MEM, 0); in ibmphp_rsrc_init() 238 bus_cur = find_bus_wprev(curr->bus_num, &bus_prev, 1); in ibmphp_rsrc_init() 239 if (bus_cur) { in ibmphp_rsrc_init() 241 rc = alloc_bus_range(&bus_cur, &newrange, curr, PFMEM, 0); in ibmphp_rsrc_init() 263 bus_cur = find_bus_wprev(curr->bus_num, &bus_prev, 1); in ibmphp_rsrc_init() 264 if (bus_cur) { in ibmphp_rsrc_init() [all …]
|
D | ibmphp_pci.c | 1666 struct bus_node *bus_cur; in find_sec_number() local 1681 bus_cur = ibmphp_find_res_bus(busno); in find_sec_number() 1686 if ((!bus_cur) || (!(bus_cur->rangeIO) && !(bus_cur->rangeMem) && !(bus_cur->rangePFMem))) in find_sec_number()
|