Lines Matching refs:addr
75 void *addr = NULL; in memremap() local
95 addr = try_ram_remap(offset, size, flags); in memremap()
96 if (!addr) in memremap()
97 addr = arch_memremap_wb(offset, size); in memremap()
106 if (!addr && is_ram == REGION_INTERSECTS && flags != MEMREMAP_WB) { in memremap()
112 if (!addr && (flags & MEMREMAP_WT)) in memremap()
113 addr = ioremap_wt(offset, size); in memremap()
115 if (!addr && (flags & MEMREMAP_WC)) in memremap()
116 addr = ioremap_wc(offset, size); in memremap()
118 return addr; in memremap()
122 void memunmap(void *addr) in memunmap() argument
124 if (is_ioremap_addr(addr)) in memunmap()
125 iounmap((void __iomem *) addr); in memunmap()
142 void **ptr, *addr; in devm_memremap() local
149 addr = memremap(offset, size, flags); in devm_memremap()
150 if (addr) { in devm_memremap()
151 *ptr = addr; in devm_memremap()
158 return addr; in devm_memremap()
162 void devm_memunmap(struct device *dev, void *addr) in devm_memunmap() argument
165 devm_memremap_match, addr)); in devm_memunmap()