Lines Matching defs:res
52 struct resource *res)
59 if (resource_contains(window->res, res)) {
65 region->start = res->start - offset;
66 region->end = res->end - offset;
76 void pcibios_bus_to_resource(struct pci_bus *bus, struct resource *res,
86 if (resource_type(res) != resource_type(window->res))
89 bus_region.start = window->res->start - window->offset;
90 bus_region.end = window->res->end - window->offset;
98 res->start = region->start + offset;
99 res->end = region->end + offset;