Home
last modified time | relevance | path

Searched refs:pci_resource_n (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/platform/x86/
H A Dp2sb.c68 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 Drebar.c242 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 Dide.c299 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 Dsetup-bus.c377 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 Dquirks.c622 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 Dpci.h2251 #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 Di2c-i801.c1588 pci_resource_n(dev, bar)); in i801_probe()