Lines Matching refs:res
43 struct resource *res; in show_ctrl() local
50 pci_bus_for_each_resource(bus, res, index) { in show_ctrl()
51 if (res && (res->flags & IORESOURCE_MEM) && in show_ctrl()
52 !(res->flags & IORESOURCE_PREFETCH)) { in show_ctrl()
54 (unsigned long long)res->start, in show_ctrl()
55 (unsigned long long)resource_size(res)); in show_ctrl()
59 pci_bus_for_each_resource(bus, res, index) { in show_ctrl()
60 if (res && (res->flags & IORESOURCE_MEM) && in show_ctrl()
61 (res->flags & IORESOURCE_PREFETCH)) { in show_ctrl()
63 (unsigned long long)res->start, in show_ctrl()
64 (unsigned long long)resource_size(res)); in show_ctrl()
68 pci_bus_for_each_resource(bus, res, index) { in show_ctrl()
69 if (res && (res->flags & IORESOURCE_IO)) { in show_ctrl()
71 (unsigned long long)res->start, in show_ctrl()
72 (unsigned long long)resource_size(res)); in show_ctrl()