Lines Matching refs:phys_addr
27 void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flags) in __ioremap() argument
35 unsigned long end = phys_addr + size - 1; in __ioremap()
37 if ((phys_addr >= 0x00080000 && end < 0x000fffff) || in __ioremap()
38 (phys_addr >= 0x00500000 && end < 0x03bfffff)) { in __ioremap()
39 phys_addr |= F_EXTEND(0xfc000000); in __ioremap()
45 last_addr = phys_addr + size - 1; in __ioremap()
46 if (!size || last_addr < phys_addr) in __ioremap()
52 if (phys_addr < virt_to_phys(high_memory)) { in __ioremap()
56 t_addr = __va(phys_addr); in __ioremap()
72 offset = phys_addr & ~PAGE_MASK; in __ioremap()
73 phys_addr &= PAGE_MASK; in __ioremap()
74 size = PAGE_ALIGN(last_addr + 1) - phys_addr; in __ioremap()
85 phys_addr, pgprot)) { in __ioremap()