Searched refs:pci_resource_n (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/platform/x86/ |
| H A D | p2sb.c | 68 struct resource *bar0 = pci_resource_n(pdev, 0); in p2sb_read_bar0() 205 if (p2sb_valid_resource(pci_resource_n(pdev, 0))) in p2sb_read_from_dev()
|
| /linux/drivers/pci/ |
| H A D | rebar.c | 242 res = pci_resource_n(pdev, bar_idx); in pci_restore_rebar_state() 266 struct resource *res = pci_resource_n(dev, resno); in pci_resize_resource_set_size()
|
| H A D | ide.c | 299 mem = pci_resource_n(br, PCI_BRIDGE_MEM_WINDOW); in pci_ide_stream_alloc() 300 pref = pci_resource_n(br, PCI_BRIDGE_PREF_MEM_WINDOW); in pci_ide_stream_alloc()
|
| H A D | setup-bus.c | 377 const struct resource *res = pci_resource_n(dev, resno); in pci_resource_is_optional() 2093 pci_resource_n(bridge, PCI_BRIDGE_RESOURCES + i); in pci_bus_distribute_available_resources() 2166 res = pci_resource_n(dev, PCI_BRIDGE_RESOURCES + i); in pci_bus_distribute_available_resources() 2208 res = pci_resource_n(bridge, PCI_BRIDGE_RESOURCES + i); in pci_bridge_distribute_available_resources() 2501 struct resource *res = pci_resource_n(pdev, resno); in pci_do_resource_release_and_resize()
|
| H A D | quirks.c | 622 struct resource *res = pci_resource_n(dev, pos); in quirk_io() 672 struct resource *res = pci_resource_n(dev, nr); in quirk_io_region()
|
| /linux/include/linux/ |
| H A D | pci.h | 2251 #define pci_resource_n(dev, bar) (&(dev)->resource[(bar)]) macro 2252 #define pci_resource_start(dev, bar) (pci_resource_n(dev, bar)->start) 2253 #define pci_resource_end(dev, bar) (pci_resource_n(dev, bar)->end) 2254 #define pci_resource_flags(dev, bar) (pci_resource_n(dev, bar)->flags) 2257 resource_size(pci_resource_n((dev), (bar))) : 0) 2261 __b < PCI_NUM_RESOURCES && (res = pci_resource_n(dev, __b)); \ 2266 __b < PCI_NUM_RESOURCES && (res = pci_resource_n(dev, __b)); \
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-i801.c | 1588 pci_resource_n(dev, bar)); in i801_probe()
|