Lines Matching full:bar

14  * pci_iomap_range - create a virtual mapping cookie for a PCI BAR
15 * @dev: PCI device that owns the BAR
16 * @bar: BAR number
17 * @offset: map memory at the given offset in BAR
20 * Using this function you will get a __iomem address to your device BAR.
26 * the complete BAR from offset to the end, pass %0 here.
29 int bar, in pci_iomap_range() argument
33 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap_range()
34 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_range()
35 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap_range()
53 * pci_iomap_wc_range - create a virtual WC mapping cookie for a PCI BAR
54 * @dev: PCI device that owns the BAR
55 * @bar: BAR number
56 * @offset: map memory at the given offset in BAR
59 * Using this function you will get a __iomem address to your device BAR.
66 * the complete BAR from offset to the end, pass %0 here.
69 int bar, in pci_iomap_wc_range() argument
73 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap_wc_range()
74 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_wc_range()
75 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap_wc_range()
98 * pci_iomap - create a virtual mapping cookie for a PCI BAR
99 * @dev: PCI device that owns the BAR
100 * @bar: BAR number
103 * Using this function you will get a __iomem address to your device BAR.
109 * the complete BAR without checking for its length first, pass %0 here.
111 void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap() argument
113 return pci_iomap_range(dev, bar, 0, maxlen); in pci_iomap()
118 * pci_iomap_wc - create a virtual WC 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.
130 * the complete BAR without checking for its length first, pass %0 here.
132 void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap_wc() argument
134 return pci_iomap_wc_range(dev, bar, 0, maxlen); in pci_iomap_wc()