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.
30 int bar, in pci_iomap_range() argument
37 if (!pci_bar_index_is_valid(bar)) in pci_iomap_range()
40 start = pci_resource_start(dev, bar); in pci_iomap_range()
41 len = pci_resource_len(dev, bar); in pci_iomap_range()
42 flags = pci_resource_flags(dev, bar); in pci_iomap_range()
61 * pci_iomap_wc_range - create a virtual WC mapping cookie for a PCI BAR
62 * @dev: PCI device that owns the BAR
63 * @bar: BAR number
64 * @offset: map memory at the given offset in BAR
67 * Using this function you will get a __iomem address to your device BAR.
74 * the complete BAR from offset to the end, pass %0 here.
77 int bar, in pci_iomap_wc_range() argument
84 if (!pci_bar_index_is_valid(bar)) in pci_iomap_wc_range()
87 start = pci_resource_start(dev, bar); in pci_iomap_wc_range()
88 len = pci_resource_len(dev, bar); in pci_iomap_wc_range()
89 flags = pci_resource_flags(dev, bar); in pci_iomap_wc_range()
110 * pci_iomap - create a virtual mapping cookie for a PCI BAR
111 * @dev: PCI device that owns the BAR
112 * @bar: BAR number
115 * Using this function you will get a __iomem address to your device BAR.
121 * the complete BAR without checking for its length first, pass %0 here.
123 void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap() argument
125 return pci_iomap_range(dev, bar, 0, maxlen); in pci_iomap()
130 * pci_iomap_wc - create a virtual WC mapping cookie for a PCI BAR
131 * @dev: PCI device that owns the BAR
132 * @bar: BAR number
135 * Using this function you will get a __iomem address to your device BAR.
142 * the complete BAR without checking for its length first, pass %0 here.
144 void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap_wc() argument
146 return pci_iomap_wc_range(dev, bar, 0, maxlen); in pci_iomap_wc()