Lines Matching refs:rangeno

25 static void update_resources(struct bus_node *bus_cur, int type, int rangeno);
114 newrange->rangeno = 1; in alloc_bus_range()
303 new_mem->rangeno = -1; in ibmphp_rsrc_init()
320 new_pfmem->rangeno = -1; in ibmphp_rsrc_init()
344 new_io->rangeno = -1; in ibmphp_rsrc_init()
412 range->rangeno = 1; in add_bus_range()
418 range->rangeno = range_prev->rangeno + 1; in add_bus_range()
424 range->rangeno = range_cur->rangeno; in add_bus_range()
425 i_init = range_prev->rangeno; in add_bus_range()
429 ++range_cur->rangeno; in add_bus_range()
443 static void update_resources(struct bus_node *bus_cur, int type, int rangeno) in update_resources() argument
465 if (res->rangeno == rangeno) in update_resources()
480 ++res->rangeno; in update_resources()
503 if (res->rangeno == -1) { in fix_me()
506 res->rangeno = range->rangeno; in fix_me()
507 debug("%s->rangeno in fix_resources is %d\n", str, res->rangeno); in fix_me()
618 res->rangeno = range_cur->rangeno; in ibmphp_add_resource()
641 res->rangeno = -1; in ibmphp_add_resource()
644 debug("The range is %d\n", res->rangeno); in ibmphp_add_resource()
664 debug("res_cur->rangeno is %d\n", res_cur->rangeno); in ibmphp_add_resource()
667 if (res_cur->rangeno >= res->rangeno) in ibmphp_add_resource()
682 } else if (res_cur->rangeno == res->rangeno) { in ibmphp_add_resource()
710 } else if (res_prev->rangeno == res_cur->rangeno) in ibmphp_add_resource()
737 } else if (res_cur->rangeno > res->rangeno) { in ibmphp_add_resource()
899 if (res_prev->rangeno == res_cur->rangeno) in ibmphp_remove_resource()
936 if (res->rangeno == range->rangeno) in find_range()
1012 debug("%s - rangeno = %d\n", __func__, res_cur->rangeno); in ibmphp_check_resource()
1103 if (res_prev->rangeno != res_cur->rangeno) { in ibmphp_check_resource()
1254 debug("prev->rangeno = %d, noranges = %d\n", res_prev->rangeno, noranges); in ibmphp_check_resource()
1255 if (res_prev->rangeno < noranges) { in ibmphp_check_resource()
1702 pfmem_cur->rangeno = mem->rangeno; in once_over()
1776 debug_pci("rangeno is %d\n", range->rangeno); in ibmphp_print_test()
1786 debug_pci("rangeno is %d\n", range->rangeno); in ibmphp_print_test()
1797 debug_pci("rangeno is %d\n", range->rangeno); in ibmphp_print_test()
1809 debug_pci("The range # is %d\n", res->rangeno); in ibmphp_print_test()
1824 debug_pci("The range # is %d\n", res->rangeno); in ibmphp_print_test()
1839 debug_pci("The range # is %d\n", res->rangeno); in ibmphp_print_test()
1855 debug_pci("The range # is %d\n", res->rangeno); in ibmphp_print_test()
1988 range->rangeno = 1; in update_bridge_ranges()
2035 range->rangeno = 1; in update_bridge_ranges()
2087 range->rangeno = 1; in update_bridge_ranges()