Lines Matching full:bar
13 * pci_iomap_range - create a virtual mapping cookie for a PCI BAR
14 * @dev: PCI device that owns the BAR
15 * @bar: BAR number
16 * @offset: map memory at the given offset in BAR
19 * Using this function you will get a __iomem address to your device BAR.
25 * the complete BAR from offset to the end, pass %0 here.
32 int bar, in pci_iomap_range() argument
36 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap_range()
37 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_range()
38 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap_range()
56 * pci_iomap_wc_range - create a virtual WC mapping cookie for a PCI BAR
57 * @dev: PCI device that owns the BAR
58 * @bar: BAR number
59 * @offset: map memory at the given offset in BAR
62 * Using this function you will get a __iomem address to your device BAR.
69 * the complete BAR from offset to the end, pass %0 here.
76 int bar, in pci_iomap_wc_range() argument
80 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap_wc_range()
81 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_wc_range()
82 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap_wc_range()
105 * pci_iomap - create a virtual mapping cookie for a PCI BAR
106 * @dev: PCI device that owns the BAR
107 * @bar: BAR number
110 * Using this function you will get a __iomem address to your device BAR.
116 * the complete BAR without checking for its length first, pass %0 here.
122 void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap() argument
124 return pci_iomap_range(dev, bar, 0, maxlen); in pci_iomap()
129 * pci_iomap_wc - create a virtual WC mapping cookie for a PCI BAR
130 * @dev: PCI device that owns the BAR
131 * @bar: BAR number
134 * Using this function you will get a __iomem address to your device BAR.
141 * the complete BAR without checking for its length first, pass %0 here.
147 void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap_wc() argument
149 return pci_iomap_wc_range(dev, bar, 0, maxlen); in pci_iomap_wc()