Lines Matching refs:ppn
38 unsigned long ppn; member
87 static __always_inline unsigned int pmb_ppn_in_range(unsigned long ppn) in pmb_ppn_in_range() argument
89 return ppn >= __pa(memory_start) && ppn < __pa(memory_end); in pmb_ppn_in_range()
133 (b->ppn == (a->ppn + a->size)) && in pmb_can_merge()
158 if ((phys < pmbe->ppn) || (phys >= (pmbe->ppn + pmbe->size))) in pmb_mapping_exists()
236 static struct pmb_entry *pmb_alloc(unsigned long vpn, unsigned long ppn, in pmb_alloc() argument
270 pmbe->ppn = ppn; in pmb_alloc()
303 __raw_writel(pmbe->ppn | pmbe->flags | PMB_V, data); in __set_pmb_entry()
543 pmbe->vpn >> PAGE_SHIFT, pmbe->ppn >> PAGE_SHIFT, in pmb_notify()
579 unsigned long ppn, vpn, flags; in pmb_synchronize() local
596 ppn = data_val & PMB_PFN_MASK; in pmb_synchronize()
602 if (!pmb_ppn_in_range(ppn)) { in pmb_synchronize()
624 pmbe = pmb_alloc(vpn, ppn, flags, i); in pmb_synchronize()