Lines Matching refs:pmd_dma_ptr
110 u64 *pud_dma_ptr, *pmd_dma_ptr, *pte_dma_ptr; in ivpu_mmu_pgtables_free() local
120 pmd_dma_ptr = pgtable->pmd_ptrs[pgd_idx][pud_idx]; in ivpu_mmu_pgtables_free()
123 if (!pmd_dma_ptr) in ivpu_mmu_pgtables_free()
134 ivpu_pgtable_free_page(vdev, pmd_dma_ptr, pmd_dma); in ivpu_mmu_pgtables_free()
185 u64 *pmd_dma_ptr = pgtable->pmd_ptrs[pgd_idx][pud_idx]; in ivpu_mmu_ensure_pmd() local
188 if (pmd_dma_ptr) in ivpu_mmu_ensure_pmd()
189 return pmd_dma_ptr; in ivpu_mmu_ensure_pmd()
191 pmd_dma_ptr = ivpu_pgtable_alloc_page(vdev, &pmd_dma); in ivpu_mmu_ensure_pmd()
192 if (!pmd_dma_ptr) in ivpu_mmu_ensure_pmd()
200 pgtable->pmd_ptrs[pgd_idx][pud_idx] = pmd_dma_ptr; in ivpu_mmu_ensure_pmd()
203 return pmd_dma_ptr; in ivpu_mmu_ensure_pmd()
206 ivpu_pgtable_free_page(vdev, pmd_dma_ptr, pmd_dma); in ivpu_mmu_ensure_pmd()