diff options
Diffstat (limited to 'include/linux/io.h')
-rw-r--r-- | include/linux/io.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/io.h b/include/linux/io.h index 81877ea39309..f5edf9c5de0a 100644 --- a/include/linux/io.h +++ b/include/linux/io.h | |||
@@ -28,6 +28,23 @@ void __iowrite64_copy(void __iomem *to, const void *from, size_t count); | |||
28 | int ioremap_page_range(unsigned long addr, unsigned long end, | 28 | int ioremap_page_range(unsigned long addr, unsigned long end, |
29 | unsigned long phys_addr, pgprot_t prot); | 29 | unsigned long phys_addr, pgprot_t prot); |
30 | 30 | ||
31 | /* | ||
32 | * Managed iomap interface | ||
33 | */ | ||
34 | void __iomem * devm_ioport_map(struct device *dev, unsigned long port, | ||
35 | unsigned int nr); | ||
36 | void devm_ioport_unmap(struct device *dev, void __iomem *addr); | ||
37 | |||
38 | void __iomem * devm_ioremap(struct device *dev, unsigned long offset, | ||
39 | unsigned long size); | ||
40 | void __iomem * devm_ioremap_nocache(struct device *dev, unsigned long offset, | ||
41 | unsigned long size); | ||
42 | void devm_iounmap(struct device *dev, void __iomem *addr); | ||
43 | |||
44 | void __iomem * pcim_iomap(struct pci_dev *pdev, int bar, unsigned long maxlen); | ||
45 | void pcim_iounmap(struct pci_dev *pdev, void __iomem *addr); | ||
46 | void __iomem * const * pcim_iomap_table(struct pci_dev *pdev); | ||
47 | |||
31 | /** | 48 | /** |
32 | * check_signature - find BIOS signatures | 49 | * check_signature - find BIOS signatures |
33 | * @io_addr: mmio address to check | 50 | * @io_addr: mmio address to check |