Lines Matching full:phys
27 static inline void do_page_mapin(unsigned long phys, unsigned long virt, in do_page_mapin() argument
33 ptep = pfn_pte(phys >> PAGE_SHIFT, PAGE_KERNEL); in do_page_mapin()
46 static inline void do_pmeg_mapin(unsigned long phys, unsigned long virt, in do_pmeg_mapin() argument
54 do_page_mapin(phys, virt, type); in do_pmeg_mapin()
55 phys += PAGE_SIZE; in do_pmeg_mapin()
61 void __iomem *sun3_ioremap(unsigned long phys, unsigned long size, in sun3_ioremap() argument
72 offset = phys & (PAGE_SIZE-1); in sun3_ioremap()
73 phys &= ~(PAGE_SIZE-1); in sun3_ioremap()
96 do_pmeg_mapin(phys, virt, type, seg_pages); in sun3_ioremap()
99 phys += seg_pages * PAGE_SIZE; in sun3_ioremap()
109 void __iomem *__ioremap(unsigned long phys, unsigned long size, int cache) in __ioremap() argument
112 return sun3_ioremap(phys, size, SUN3_PAGE_TYPE_IO); in __ioremap()