Lines Matching refs:window
47 struct pci_host_bridge_window *window; in pcibios_resource_to_bus() local
50 list_for_each_entry(window, &bridge->windows, list) { in pcibios_resource_to_bus()
51 if (resource_type(res) != resource_type(window->res)) in pcibios_resource_to_bus()
54 if (resource_contains(window->res, res)) { in pcibios_resource_to_bus()
55 offset = window->offset; in pcibios_resource_to_bus()
75 struct pci_host_bridge_window *window; in pcibios_bus_to_resource() local
78 list_for_each_entry(window, &bridge->windows, list) { in pcibios_bus_to_resource()
81 if (resource_type(res) != resource_type(window->res)) in pcibios_bus_to_resource()
84 bus_region.start = window->res->start - window->offset; in pcibios_bus_to_resource()
85 bus_region.end = window->res->end - window->offset; in pcibios_bus_to_resource()
88 offset = window->offset; in pcibios_bus_to_resource()