Lines Matching refs:phys_addr
23 unsigned long size, unsigned long phys_addr, in remap_area_pte() argument
37 pfn = PFN_DOWN(phys_addr); in remap_area_pte()
51 unsigned long size, unsigned long phys_addr, in remap_area_pmd() argument
60 phys_addr -= address; in remap_area_pmd()
68 remap_area_pte(pte, address, end - address, address + phys_addr, in remap_area_pmd()
76 static int remap_area_pages(unsigned long address, unsigned long phys_addr, in remap_area_pages() argument
83 phys_addr -= address; in remap_area_pages()
100 phys_addr + address, flags)) in remap_area_pages()
115 void __iomem *__ioremap(unsigned long phys_addr, unsigned long size, in __ioremap() argument
124 last_addr = phys_addr + size - 1; in __ioremap()
126 if (!size || last_addr < phys_addr) in __ioremap()
130 if (phys_addr > PHYS_OFFSET && phys_addr < virt_to_phys(high_memory)) { in __ioremap()
134 t_addr = __va(phys_addr); in __ioremap()
146 if (IS_MAPPABLE_UNCACHEABLE(phys_addr) && in __ioremap()
149 return (void __iomem *)(CONFIG_NIOS2_IO_REGION_BASE + phys_addr); in __ioremap()
152 offset = phys_addr & ~PAGE_MASK; in __ioremap()
153 phys_addr &= PAGE_MASK; in __ioremap()
154 size = PAGE_ALIGN(last_addr + 1) - phys_addr; in __ioremap()
161 if (remap_area_pages((unsigned long) addr, phys_addr, size, in __ioremap()