Lines Matching defs:l2pt_idx
152 * @l2pt_idx: Output for the L2 page index.
155 u32 *l2pt_idx)
159 if (l2pt_idx)
160 *l2pt_idx = iova & IPU3_L2PT_MASK;
213 u32 l1pt_idx, l2pt_idx;
220 address_to_pte_idx(iova, &l1pt_idx, &l2pt_idx);
228 if (l2pt[l2pt_idx] != mmu->dummy_page_pteval) {
233 l2pt[l2pt_idx] = IPU3_ADDR2PTE(paddr);
341 u32 l1pt_idx, l2pt_idx;
349 address_to_pte_idx(iova, &l1pt_idx, &l2pt_idx);
359 if (l2pt[l2pt_idx] == mmu->dummy_page_pteval)
362 l2pt[l2pt_idx] = mmu->dummy_page_pteval;