Home
last modified time | relevance | path

Searched refs:l2pt_idx (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/staging/media/ipu3/
H A Dipu3-mmu.c155 u32 *l2pt_idx) in address_to_pte_idx() argument
159 if (l2pt_idx) in address_to_pte_idx()
160 *l2pt_idx = iova & IPU3_L2PT_MASK; in address_to_pte_idx()
213 u32 l1pt_idx, l2pt_idx; in __imgu_mmu_map() local
220 address_to_pte_idx(iova, &l1pt_idx, &l2pt_idx); in __imgu_mmu_map()
228 if (l2pt[l2pt_idx] != mmu->dummy_page_pteval) { in __imgu_mmu_map()
233 l2pt[l2pt_idx] = IPU3_ADDR2PTE(paddr); in __imgu_mmu_map()
341 u32 l1pt_idx, l2pt_idx; in __imgu_mmu_unmap() local
349 address_to_pte_idx(iova, &l1pt_idx, &l2pt_idx); in __imgu_mmu_unmap()
359 if (l2pt[l2pt_idx] == mmu->dummy_page_pteval) in __imgu_mmu_unmap()
[all …]