Home
last modified time | relevance | path

Searched refs:bar (Results 1 – 15 of 15) sorted by relevance

/include/asm-generic/
Dpci_iomap.h13 extern void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max);
14 extern void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long max);
15 extern void __iomem *pci_iomap_range(struct pci_dev *dev, int bar,
18 extern void __iomem *pci_iomap_wc_range(struct pci_dev *dev, int bar,
33 static inline void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max) in pci_iomap() argument
38 static inline void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long max) in pci_iomap_wc() argument
42 static inline void __iomem *pci_iomap_range(struct pci_dev *dev, int bar, in pci_iomap_range() argument
48 static inline void __iomem *pci_iomap_wc_range(struct pci_dev *dev, int bar, in pci_iomap_wc_range() argument
/include/linux/
Dpnp.h60 unsigned int bar) in pnp_port_start() argument
62 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_start()
70 unsigned int bar) in pnp_port_end() argument
72 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_end()
80 unsigned int bar) in pnp_port_flags() argument
82 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_flags()
89 static inline int pnp_port_valid(struct pnp_dev *dev, unsigned int bar) in pnp_port_valid() argument
91 return pnp_resource_valid(pnp_get_resource(dev, IORESOURCE_IO, bar)); in pnp_port_valid()
95 unsigned int bar) in pnp_port_len() argument
97 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_len()
[all …]
Dpci-epf.h147 struct pci_epf_bar bar[6]; member
206 void *pci_epf_alloc_space(struct pci_epf *epf, size_t size, enum pci_barno bar,
208 void pci_epf_free_space(struct pci_epf *epf, void *addr, enum pci_barno bar,
Dpci-p2pdma.h20 int pci_p2pdma_add_resource(struct pci_dev *pdev, int bar, size_t size,
42 static inline int pci_p2pdma_add_resource(struct pci_dev *pdev, int bar, in pci_p2pdma_add_resource() argument
Dof_address.h64 extern int of_pci_address_to_resource(struct device_node *dev, int bar,
108 static inline int of_pci_address_to_resource(struct device_node *dev, int bar, in of_pci_address_to_resource() argument
Dpci.h1325 u32 pci_rebar_get_possible_sizes(struct pci_dev *pdev, int bar);
1454 static inline pci_bus_addr_t pci_bus_address(struct pci_dev *pdev, int bar) in pci_bus_address() argument
1458 pcibios_resource_to_bus(pdev->bus, &region, &pdev->resource[bar]); in pci_bus_address()
1932 int pci_mmap_resource_range(struct pci_dev *dev, int bar,
1935 int pci_mmap_page_range(struct pci_dev *pdev, int bar,
1945 #define pci_iobar_pfn(pdev, bar, vma) (-EINVAL) argument
1947 int pci_iobar_pfn(struct pci_dev *pdev, int bar, struct vm_area_struct *vma);
1958 #define pci_resource_start(dev, bar) ((dev)->resource[(bar)].start) argument
1959 #define pci_resource_end(dev, bar) ((dev)->resource[(bar)].end) argument
1960 #define pci_resource_flags(dev, bar) ((dev)->resource[(bar)].flags) argument
[all …]
Dmcb.h71 int bar; member
Dvfio_pci_core.h42 int bar; member
Dpci-epc.h244 *epc_features, enum pci_barno bar);
Dlibata.h1565 extern void ata_port_pbar_desc(struct ata_port *ap, int bar, ssize_t offset,
/include/uapi/linux/
Dvirtio_pcidev.h58 __u8 bar; member
Dvirtio_pci.h125 __u8 bar; /* Where to find it. */ member
Dacrn.h417 __u32 bar[ACRN_PCI_NUM_BARS]; member
/include/pcmcia/
Dcistpl.h544 cistpl_bar_t bar; member
/include/linux/mlx4/
Ddevice.h894 u8 bar; member