Lines Matching full:bar

15  * pci_iomap_range - create a virtual mapping cookie for a PCI BAR
16 * @dev: PCI device that owns the BAR
17 * @bar: BAR number
18 * @offset: map memory at the given offset in BAR
21 * Using this function you will get a __iomem address to your device BAR.
27 * the complete BAR from offset to the end, pass %0 here.
34 int bar, in pci_iomap_range() argument
41 if (!pci_bar_index_is_valid(bar)) in pci_iomap_range()
44 start = pci_resource_start(dev, bar); in pci_iomap_range()
45 len = pci_resource_len(dev, bar); in pci_iomap_range()
46 flags = pci_resource_flags(dev, bar); in pci_iomap_range()
65 * pci_iomap_wc_range - create a virtual WC mapping cookie for a PCI BAR
66 * @dev: PCI device that owns the BAR
67 * @bar: BAR number
68 * @offset: map memory at the given offset in BAR
71 * Using this function you will get a __iomem address to your device BAR.
78 * the complete BAR from offset to the end, pass %0 here.
85 int bar, in pci_iomap_wc_range() argument
92 if (!pci_bar_index_is_valid(bar)) in pci_iomap_wc_range()
95 start = pci_resource_start(dev, bar); in pci_iomap_wc_range()
96 len = pci_resource_len(dev, bar); in pci_iomap_wc_range()
97 flags = pci_resource_flags(dev, bar); in pci_iomap_wc_range()
118 * pci_iomap - create a virtual mapping cookie for a PCI BAR
119 * @dev: PCI device that owns the BAR
120 * @bar: BAR number
123 * Using this function you will get a __iomem address to your device BAR.
129 * the complete BAR without checking for its length first, pass %0 here.
135 void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap() argument
137 return pci_iomap_range(dev, bar, 0, maxlen); in pci_iomap()
142 * pci_iomap_wc - create a virtual WC mapping cookie for a PCI BAR
143 * @dev: PCI device that owns the BAR
144 * @bar: BAR number
147 * Using this function you will get a __iomem address to your device BAR.
154 * the complete BAR without checking for its length first, pass %0 here.
160 void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap_wc() argument
162 return pci_iomap_wc_range(dev, bar, 0, maxlen); in pci_iomap_wc()