Lines Matching full:virt
27 static inline void do_page_mapin(unsigned long phys, unsigned long virt, in do_page_mapin() argument
37 sun3_put_pte(virt, pte); in do_page_mapin()
41 print_pte_vaddr(virt); in do_page_mapin()
46 static inline void do_pmeg_mapin(unsigned long phys, unsigned long virt, in do_pmeg_mapin() argument
50 if(sun3_get_segmap(virt & ~SUN3_PMEG_MASK) == SUN3_INVALID_PMEG) in do_pmeg_mapin()
51 mmu_emu_map_pmeg(sun3_get_context(), virt); in do_pmeg_mapin()
54 do_page_mapin(phys, virt, type); in do_pmeg_mapin()
56 virt += PAGE_SIZE; in do_pmeg_mapin()
65 unsigned long offset, virt, ret; in sun3_ioremap() local
81 pr_info("ioremap: got virt %p size %lx(%lx)\n", area->addr, size, in sun3_ioremap()
86 virt = (unsigned long)area->addr; in sun3_ioremap()
87 ret = virt + offset; in sun3_ioremap()
92 seg_pages = (SUN3_PMEG_SIZE - (virt & SUN3_PMEG_MASK)) / PAGE_SIZE; in sun3_ioremap()
96 do_pmeg_mapin(phys, virt, type, seg_pages); in sun3_ioremap()
100 virt += seg_pages * PAGE_SIZE; in sun3_ioremap()