Lines Matching refs:res
45 if (window->res->flags & IORESOURCE_BUS) { in x86_pci_root_bus_resources()
54 struct resource *res; in x86_pci_root_bus_resources() local
57 res = &root_res->res; in x86_pci_root_bus_resources()
58 pci_add_resource(resources, res); in x86_pci_root_bus_resources()
59 if (res->flags & IORESOURCE_IO) in x86_pci_root_bus_resources()
63 insert_resource(root, res); in x86_pci_root_bus_resources()
106 struct resource *res; in update_res() local
123 res = &root_res->res; in update_res()
124 if (res->flags != flags) in update_res()
127 common_start = max(res->start, start); in update_res()
128 common_end = min(res->end, end); in update_res()
132 final_start = min(res->start, start); in update_res()
133 final_end = max(res->end, end); in update_res()
135 res->start = final_start; in update_res()
136 res->end = final_end; in update_res()
147 res = &root_res->res; in update_res()
148 res->name = info->name; in update_res()
149 res->flags = flags; in update_res()
150 res->start = start; in update_res()
151 res->end = end; in update_res()