Lines Matching refs:bar
1157 static inline pci_bus_addr_t pci_bus_address(struct pci_dev *pdev, int bar) in pci_bus_address() argument
1161 pcibios_resource_to_bus(pdev->bus, ®ion, &pdev->resource[bar]); in pci_bus_address()
1506 #define pci_resource_start(dev, bar) ((dev)->resource[(bar)].start) argument
1507 #define pci_resource_end(dev, bar) ((dev)->resource[(bar)].end) argument
1508 #define pci_resource_flags(dev, bar) ((dev)->resource[(bar)].flags) argument
1509 #define pci_resource_len(dev,bar) \ argument
1510 ((pci_resource_start((dev), (bar)) == 0 && \
1511 pci_resource_end((dev), (bar)) == \
1512 pci_resource_start((dev), (bar))) ? 0 : \
1514 (pci_resource_end((dev), (bar)) - \
1515 pci_resource_start((dev), (bar)) + 1))
1544 static inline void pci_resource_to_user(const struct pci_dev *dev, int bar, in pci_resource_to_user() argument
1668 void __iomem *pcim_iomap(struct pci_dev *pdev, int bar, unsigned long maxlen);
1718 void __iomem *pci_ioremap_bar(struct pci_dev *pdev, int bar);
1719 void __iomem *pci_ioremap_wc_bar(struct pci_dev *pdev, int bar);