Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/ivpu/
H A Divpu_mmu_context.c46 pgtable->pgd_dma_ptr = dma_alloc_coherent(vdev->drm.dev, IVPU_MMU_PGTABLE_SIZE, &pgd_dma, in ivpu_mmu_pgtable_init()
48 if (!pgtable->pgd_dma_ptr) in ivpu_mmu_pgtable_init()
71 pud_dma = pgtable->pgd_dma_ptr[pgd_idx]; in ivpu_mmu_pgtables_free()
99 ivpu_mmu_pgtable_free(vdev, pgtable->pgd_dma_ptr, pgtable->pgd_dma); in ivpu_mmu_pgtables_free()
126 pgtable->pgd_dma_ptr[pgd_idx] = pud_dma | IVPU_MMU_ENTRY_VALID; in ivpu_mmu_ensure_pud()
281 clflush_cache_range(pgtable->pgd_dma_ptr, IVPU_MMU_PGTABLE_SIZE); in ivpu_mmu_context_flush_page_tables()
446 if (drm_WARN_ON(&vdev->drm, !ctx->pgtable.pgd_dma_ptr)) in ivpu_mmu_context_fini()
453 ctx->pgtable.pgd_dma_ptr = NULL; in ivpu_mmu_context_fini()
H A Divpu_mmu_context.h21 u64 *pgd_dma_ptr; member