Lines Matching refs:res
29 struct resource *res;
36 pci_bus_for_each_resource(bus, res, index) {
37 if (res && (res->flags & IORESOURCE_MEM) &&
38 !(res->flags & IORESOURCE_PREFETCH)) {
40 (unsigned long long)res->start,
41 (unsigned long long)resource_size(res));
45 pci_bus_for_each_resource(bus, res, index) {
46 if (res && (res->flags & IORESOURCE_MEM) &&
47 (res->flags & IORESOURCE_PREFETCH)) {
49 (unsigned long long)res->start,
50 (unsigned long long)resource_size(res));
54 pci_bus_for_each_resource(bus, res, index) {
55 if (res && (res->flags & IORESOURCE_IO)) {
57 (unsigned long long)res->start,
58 (unsigned long long)resource_size(res));