Lines Matching refs:l2_pt
109 u32 *l2_pt = mmu_info->l2_pts[l1_idx]; in page_table_dump() local
112 if (l2_pt[l2_idx] == mmu_info->dummy_page_pteval) in page_table_dump()
118 TBL_PHYS_ADDR(l2_pt[l2_idx])); in page_table_dump()
260 u32 *l2_pt, *l2_virt; in l2_map() local
300 l2_pt = mmu_info->l2_pts[l1_idx]; in l2_map()
302 dev_dbg(mmu_info->dev, "l2_pt at %p with dma 0x%x\n", l2_pt, l1_entry); in l2_map()
309 l2_pt[l2_idx]); in l2_map()
310 if (l2_pt[l2_idx] != mmu_info->dummy_page_pteval) { in l2_map()
315 l2_pt[l2_idx] = paddr >> ISP_PADDR_SHIFT; in l2_map()
317 clflush_cache_range((void *)&l2_pt[l2_idx], sizeof(l2_pt[l2_idx])); in l2_map()
321 l2_pt[l2_idx]); in l2_map()
347 u32 *l2_pt; in l2_unmap() local
364 l2_pt = mmu_info->l2_pts[l1_idx]; in l2_unmap()
367 l2_idx, TBL_PHYS_ADDR(l2_pt[l2_idx])); in l2_unmap()
368 l2_pt[l2_idx] = mmu_info->dummy_page_pteval; in l2_unmap()
370 clflush_cache_range((void *)&l2_pt[l2_idx], in l2_unmap()
371 sizeof(l2_pt[l2_idx])); in l2_unmap()
611 u32 *l2_pt; in ipu6_mmu_iova_to_phys() local
614 l2_pt = mmu_info->l2_pts[iova >> ISP_L1PT_SHIFT]; in ipu6_mmu_iova_to_phys()
615 phy_addr = (phys_addr_t)l2_pt[(iova & ISP_L2PT_MASK) >> ISP_L2PT_SHIFT]; in ipu6_mmu_iova_to_phys()