Lines Matching defs:res
77 struct resource *res;
100 res = &dev->resource[(i - PCI_BASE_ADDRESS_0) >> 2];
102 res = &dev->resource[PCI_ROM_RESOURCE];
108 res->start = base;
109 res->end = base + size - 1;
110 res->flags = flags;
111 res->name = pci_name(dev);
211 struct resource *res;
245 res = &dev->resource[PCI_BRIDGE_RESOURCES];
247 res->flags = 0;
248 bus->resource[i] = res;
249 ++res;
258 res = bus->resource[0];
259 if (res->flags) {
270 res = bus->resource[i];
273 res->start = of_read_number(&ranges[1], 2);
274 res->end = res->start + size - 1;
275 res->flags = flags;