Lines Matching refs:vpn
38 unsigned long vpn; member
133 return (b->vpn == (a->vpn + a->size)) && in pmb_can_merge()
157 if ((vaddr < pmbe->vpn) || (vaddr >= (pmbe->vpn + pmbe->size))) in pmb_mapping_exists()
237 static struct pmb_entry *pmb_alloc(unsigned long vpn, unsigned long ppn, in pmb_alloc() argument
270 pmbe->vpn = vpn; in pmb_alloc()
303 __raw_writel(pmbe->vpn | PMB_V, addr); in __set_pmb_entry()
473 if (pmbe->vpn == vaddr) { in pmb_unmap()
507 flush_cache_vunmap(pmbe->vpn, pmbe->vpn + pmbe->size); in __pmb_unmap_entry()
544 pmbe->vpn >> PAGE_SHIFT, pmbe->ppn >> PAGE_SHIFT, in pmb_notify()
580 unsigned long ppn, vpn, flags; in pmb_synchronize() local
598 vpn = addr_val & PMB_PFN_MASK; in pmb_synchronize()
625 pmbe = pmb_alloc(vpn, ppn, flags, i); in pmb_synchronize()
753 if (pmbe->vpn != uncached_start) in pmb_resize()