Lines Matching refs:resource_size
245 if (!resource_size(res)) { in reassign_resources_sorted()
285 if (resource_size(res) && in assign_requested_resources_sorted()
413 resource_size_t r_size = resource_size(dev_res->res); in __assign_resources_sorted()
906 r_size = resource_size(r); in pbus_size_io()
924 resource_size(b_res), min_align); in pbus_size_io()
927 resource_size(b_res), min_align); in pbus_size_io()
1028 r_size = resource_size(r); in pbus_size_mem()
1076 size0 = calculate_memsize(size, min_size, 0, 0, resource_size(b_res), min_align); in pbus_size_mem()
1080 resource_size(b_res), add_align); in pbus_size_mem()
1569 r->end = resource_size(r) - 1; in pci_bridge_release_resources()
1865 resource_size_t add_size, size = resource_size(res); in adjust_bridge_window()
1923 adjust_bridge_window(bridge, io_res, add_list, resource_size(&io)); in pci_bus_distribute_available_resources()
1924 adjust_bridge_window(bridge, mmio_res, add_list, resource_size(&mmio)); in pci_bus_distribute_available_resources()
1926 resource_size(&mmio_pref)); in pci_bus_distribute_available_resources()
1976 used_size = align + resource_size(res); in pci_bus_distribute_available_resources()
1983 used_size = align + resource_size(res); in pci_bus_distribute_available_resources()
1991 used_size = align + resource_size(res); in pci_bus_distribute_available_resources()
1997 io_per_hp = div64_ul(resource_size(&io), hotplug_bridges); in pci_bus_distribute_available_resources()
1998 mmio_per_hp = div64_ul(resource_size(&mmio), hotplug_bridges); in pci_bus_distribute_available_resources()
1999 mmio_pref_per_hp = div64_ul(resource_size(&mmio_pref), in pci_bus_distribute_available_resources()