Lines Matching refs:phys_addr
46 void __iomem *ioremap_prot(phys_addr_t phys_addr, unsigned long size, in ioremap_prot() argument
56 cpu_addr = plat_ioremap(phys_addr, size, flags); in ioremap_prot()
60 phys_addr = fixup_bigphys_addr(phys_addr, size); in ioremap_prot()
63 last_addr = phys_addr + size - 1; in ioremap_prot()
64 if (!size || last_addr < phys_addr) in ioremap_prot()
71 if (IS_LOW512(phys_addr) && IS_LOW512(last_addr) && in ioremap_prot()
73 return (void __iomem *) CKSEG1ADDR(phys_addr); in ioremap_prot()
79 pfn = PFN_DOWN(phys_addr); in ioremap_prot()
84 &phys_addr, &last_addr); in ioremap_prot()
91 offset = phys_addr & ~PAGE_MASK; in ioremap_prot()
92 phys_addr &= PAGE_MASK; in ioremap_prot()
93 size = PAGE_ALIGN(last_addr + 1) - phys_addr; in ioremap_prot()
104 if (ioremap_page_range(vaddr, vaddr + size, phys_addr, in ioremap_prot()