Searched refs:bus_cur (Results 1 – 2 of 2) sorted by relevance
/drivers/pci/hotplug/ |
D | ibmphp_res.c | 39 static void update_resources (struct bus_node *bus_cur, int type, int rangeno); 204 struct bus_node *bus_cur; in ibmphp_rsrc_init() local 232 bus_cur = find_bus_wprev (curr->bus_num, &bus_prev, 1); in ibmphp_rsrc_init() 234 if (bus_cur) { in ibmphp_rsrc_init() 235 rc = alloc_bus_range (&bus_cur, &newrange, curr, MEM, 0); in ibmphp_rsrc_init() 256 bus_cur = find_bus_wprev (curr->bus_num, &bus_prev, 1); in ibmphp_rsrc_init() 257 if (bus_cur) { in ibmphp_rsrc_init() 259 rc = alloc_bus_range (&bus_cur, &newrange, curr, PFMEM, 0); in ibmphp_rsrc_init() 279 bus_cur = find_bus_wprev (curr->bus_num, &bus_prev, 1); in ibmphp_rsrc_init() 280 if (bus_cur) { in ibmphp_rsrc_init() [all …]
|
D | ibmphp_pci.c | 1705 struct bus_node *bus_cur; in find_sec_number() local 1720 bus_cur = ibmphp_find_res_bus (busno); in find_sec_number() 1725 if ((!bus_cur) || (!(bus_cur->rangeIO) && !(bus_cur->rangeMem) && !(bus_cur->rangePFMem))) in find_sec_number()
|