Lines Matching refs:phys_addr
21 unsigned long phys_addr, unsigned long flags) in remap_area_pte() argument
36 set_pte(pte, mk_pte_phys(phys_addr, in remap_area_pte()
39 phys_addr += PAGE_SIZE; in remap_area_pte()
45 unsigned long phys_addr, unsigned long flags) in remap_area_pmd() argument
53 phys_addr -= address; in remap_area_pmd()
60 remap_area_pte(pte, address, end - address, address + phys_addr, flags); in remap_area_pmd()
67 static int remap_area_pages(unsigned long address, unsigned long phys_addr, in remap_area_pages() argument
74 phys_addr -= address; in remap_area_pages()
87 phys_addr + address, flags)) in remap_area_pages()
107 void * __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flags) in __ioremap() argument
112 if (phys_addr < virt_to_phys(high_memory)) in __ioremap()
113 return phys_to_virt(phys_addr); in __ioremap()
114 if (phys_addr & ~PAGE_MASK) in __ioremap()
117 if (!size || size > phys_addr + size) in __ioremap()
123 if (remap_area_pages(VMALLOC_VMADDR(addr), phys_addr, size, flags)) { in __ioremap()