Lines Matching refs:vpn
37 unsigned long vpn; member
132 return (b->vpn == (a->vpn + a->size)) && in pmb_can_merge()
156 if ((vaddr < pmbe->vpn) || (vaddr >= (pmbe->vpn + pmbe->size))) in pmb_mapping_exists()
236 static struct pmb_entry *pmb_alloc(unsigned long vpn, unsigned long ppn, in pmb_alloc() argument
269 pmbe->vpn = vpn; in pmb_alloc()
302 __raw_writel(pmbe->vpn | PMB_V, addr); in __set_pmb_entry()
472 if (pmbe->vpn == vaddr) { in pmb_unmap()
506 flush_cache_vunmap(pmbe->vpn, pmbe->vpn + pmbe->size); in __pmb_unmap_entry()
543 pmbe->vpn >> PAGE_SHIFT, pmbe->ppn >> PAGE_SHIFT, in pmb_notify()
579 unsigned long ppn, vpn, flags; in pmb_synchronize() local
597 vpn = addr_val & PMB_PFN_MASK; in pmb_synchronize()
624 pmbe = pmb_alloc(vpn, ppn, flags, i); in pmb_synchronize()
752 if (pmbe->vpn != uncached_start) in pmb_resize()