Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/ivpu/
H A Divpu_mmu_context.c77 pmd_dma_ptr = pgtable->pmd_ptrs[pgd_idx][pud_idx]; in ivpu_mmu_pgtables_free()
85 pte_dma = pgtable->pmd_ptrs[pgd_idx][pud_idx][pmd_idx]; in ivpu_mmu_pgtables_free()
94 kfree(pgtable->pmd_ptrs[pgd_idx]); in ivpu_mmu_pgtables_free()
115 drm_WARN_ON(&vdev->drm, pgtable->pmd_ptrs[pgd_idx]); in ivpu_mmu_ensure_pud()
116 pgtable->pmd_ptrs[pgd_idx] = kzalloc(IVPU_MMU_PGTABLE_SIZE, GFP_KERNEL); in ivpu_mmu_ensure_pud()
117 if (!pgtable->pmd_ptrs[pgd_idx]) in ivpu_mmu_ensure_pud()
131 kfree(pgtable->pmd_ptrs[pgd_idx]); in ivpu_mmu_ensure_pud()
142 u64 *pmd_dma_ptr = pgtable->pmd_ptrs[pgd_idx][pud_idx]; in ivpu_mmu_ensure_pmd()
157 pgtable->pmd_ptrs[pgd_idx][pud_idx] = pmd_dma_ptr; in ivpu_mmu_ensure_pmd()
182 pgtable->pmd_ptrs[pgd_idx][pud_idx][pmd_idx] = pte_dma | IVPU_MMU_ENTRY_VALID; in ivpu_mmu_ensure_pte()
[all …]
H A Divpu_mmu_context.h19 u64 **pmd_ptrs[IVPU_MMU_PGTABLE_ENTRIES]; member