Lines Matching refs:virt
30 static inline void do_page_mapin(unsigned long phys, unsigned long virt,
40 sun3_put_pte(virt, pte);
43 print_pte_vaddr(virt);
48 static inline void do_pmeg_mapin(unsigned long phys, unsigned long virt,
52 if(sun3_get_segmap(virt & ~SUN3_PMEG_MASK) == SUN3_INVALID_PMEG)
53 mmu_emu_map_pmeg(sun3_get_context(), virt);
56 do_page_mapin(phys, virt, type);
58 virt += PAGE_SIZE;
67 unsigned long offset, virt, ret;
83 printk("ioremap: got virt %p size %lx(%lx)\n",
88 virt = (unsigned long)area->addr;
89 ret = virt + offset;
94 seg_pages = (SUN3_PMEG_SIZE - (virt & SUN3_PMEG_MASK)) / PAGE_SIZE;
98 do_pmeg_mapin(phys, virt, type, seg_pages);
102 virt += seg_pages * PAGE_SIZE;