Lines Matching refs:pte_ptrs
84 pte_dma_ptr = pgtable->pte_ptrs[pgd_idx][pud_idx][pmd_idx]; in ivpu_mmu_pgtables_free()
90 kfree(pgtable->pte_ptrs[pgd_idx][pud_idx]); in ivpu_mmu_pgtables_free()
95 kfree(pgtable->pte_ptrs[pgd_idx]); in ivpu_mmu_pgtables_free()
120 drm_WARN_ON(&vdev->drm, pgtable->pte_ptrs[pgd_idx]); in ivpu_mmu_ensure_pud()
121 pgtable->pte_ptrs[pgd_idx] = kzalloc(IVPU_MMU_PGTABLE_SIZE, GFP_KERNEL); in ivpu_mmu_ensure_pud()
122 if (!pgtable->pte_ptrs[pgd_idx]) in ivpu_mmu_ensure_pud()
152 drm_WARN_ON(&vdev->drm, pgtable->pte_ptrs[pgd_idx][pud_idx]); in ivpu_mmu_ensure_pmd()
153 pgtable->pte_ptrs[pgd_idx][pud_idx] = kzalloc(IVPU_MMU_PGTABLE_SIZE, GFP_KERNEL); in ivpu_mmu_ensure_pmd()
154 if (!pgtable->pte_ptrs[pgd_idx][pud_idx]) in ivpu_mmu_ensure_pmd()
171 u64 *pte_dma_ptr = pgtable->pte_ptrs[pgd_idx][pud_idx][pmd_idx]; in ivpu_mmu_ensure_pte()
181 pgtable->pte_ptrs[pgd_idx][pud_idx][pmd_idx] = pte_dma_ptr; in ivpu_mmu_ensure_pte()
249 ctx->pgtable.pte_ptrs[pgd_idx][pud_idx][pmd_idx][pte_idx] = IVPU_MMU_ENTRY_INVALID; in ivpu_mmu_context_unmap_page()
272 clflush_cache_range(pgtable->pte_ptrs[pgd_idx][pud_idx][pmd_idx], in ivpu_mmu_context_flush_page_tables()