Lines Matching refs:phys_addr
28 void __iomem *ioremap(unsigned long phys_addr, unsigned long size) in ioremap() argument
36 unsigned long end = phys_addr + size - 1; in ioremap()
38 if ((phys_addr >= 0x00080000 && end < 0x000fffff) || in ioremap()
39 (phys_addr >= 0x00500000 && end < 0x03bfffff)) in ioremap()
40 phys_addr |= F_EXTEND(0xfc000000); in ioremap()
44 last_addr = phys_addr + size - 1; in ioremap()
45 if (!size || last_addr < phys_addr) in ioremap()
51 if (phys_addr < virt_to_phys(high_memory)) { in ioremap()
55 t_addr = __va(phys_addr); in ioremap()
71 offset = phys_addr & ~PAGE_MASK; in ioremap()
72 phys_addr &= PAGE_MASK; in ioremap()
73 size = PAGE_ALIGN(last_addr + 1) - phys_addr; in ioremap()
84 phys_addr, pgprot)) { in ioremap()