1 // SPDX-License-Identifier: GPL-2.0-only 1 2 #include <linux/io.h> 3 #include <ioremap.h> 4 5 void __iomem *ioremap_prot(phys_addr_t offset, 6 unsigned long prot_val) 7 { 8 unsigned long flags = prot_val & _CACH 9 u64 base = (flags == _CACHE_UNCACHED ? 10 void __iomem *addr; 11 12 addr = plat_ioremap(offset, size, flag 13 if (!addr) 14 addr = (void __iomem *)(unsign 15 return addr; 16 } 17 EXPORT_SYMBOL(ioremap_prot); 18 19 void iounmap(const volatile void __iomem *addr 20 { 21 plat_iounmap(addr); 22 } 23 EXPORT_SYMBOL(iounmap); 24
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.