Lines Matching refs:bar
1137 static inline pci_bus_addr_t pci_bus_address(struct pci_dev *pdev, int bar) in pci_bus_address() argument
1141 pcibios_resource_to_bus(pdev->bus, ®ion, &pdev->resource[bar]); in pci_bus_address()
1470 #define pci_resource_start(dev, bar) ((dev)->resource[(bar)].start) argument
1471 #define pci_resource_end(dev, bar) ((dev)->resource[(bar)].end) argument
1472 #define pci_resource_flags(dev, bar) ((dev)->resource[(bar)].flags) argument
1473 #define pci_resource_len(dev,bar) \ argument
1474 ((pci_resource_start((dev), (bar)) == 0 && \
1475 pci_resource_end((dev), (bar)) == \
1476 pci_resource_start((dev), (bar))) ? 0 : \
1478 (pci_resource_end((dev), (bar)) - \
1479 pci_resource_start((dev), (bar)) + 1))
1508 static inline void pci_resource_to_user(const struct pci_dev *dev, int bar, in pci_resource_to_user() argument
1632 void __iomem *pcim_iomap(struct pci_dev *pdev, int bar, unsigned long maxlen);
1680 void __iomem *pci_ioremap_bar(struct pci_dev *pdev, int bar);