Lines Matching refs:addr
28 void __iomem **ptr, *addr; in devm_ioremap() local
34 addr = ioremap(offset, size); in devm_ioremap()
35 if (addr) { in devm_ioremap()
36 *ptr = addr; in devm_ioremap()
41 return addr; in devm_ioremap()
57 void __iomem **ptr, *addr; in devm_ioremap_nocache() local
63 addr = ioremap_nocache(offset, size); in devm_ioremap_nocache()
64 if (addr) { in devm_ioremap_nocache()
65 *ptr = addr; in devm_ioremap_nocache()
70 return addr; in devm_ioremap_nocache()
85 void __iomem **ptr, *addr; in devm_ioremap_wc() local
91 addr = ioremap_wc(offset, size); in devm_ioremap_wc()
92 if (addr) { in devm_ioremap_wc()
93 *ptr = addr; in devm_ioremap_wc()
98 return addr; in devm_ioremap_wc()
109 void devm_iounmap(struct device *dev, void __iomem *addr) in devm_iounmap() argument
112 (__force void *)addr)); in devm_iounmap()
113 iounmap(addr); in devm_iounmap()
193 void __iomem **ptr, *addr; in devm_ioport_map() local
199 addr = ioport_map(port, nr); in devm_ioport_map()
200 if (addr) { in devm_ioport_map()
201 *ptr = addr; in devm_ioport_map()
206 return addr; in devm_ioport_map()
218 void devm_ioport_unmap(struct device *dev, void __iomem *addr) in devm_ioport_unmap() argument
220 ioport_unmap(addr); in devm_ioport_unmap()
222 devm_ioport_map_match, (__force void *)addr)); in devm_ioport_unmap()
308 void pcim_iounmap(struct pci_dev *pdev, void __iomem *addr) in pcim_iounmap() argument
313 pci_iounmap(pdev, addr); in pcim_iounmap()
319 if (tbl[i] == addr) { in pcim_iounmap()