Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/ivpu/
H A Divpu_mmu_context.c34 #define IVPU_MMU_PGTABLE_SIZE (IVPU_MMU_PGTABLE_ENTRIES * sizeof(u64)) macro
46 pgtable->pgd_dma_ptr = dma_alloc_coherent(vdev->drm.dev, IVPU_MMU_PGTABLE_SIZE, &pgd_dma, in ivpu_mmu_pgtable_init()
59 dma_free_coherent(vdev->drm.dev, IVPU_MMU_PGTABLE_SIZE, cpu_addr, in ivpu_mmu_pgtable_free()
111 pud_dma_ptr = dma_alloc_wc(vdev->drm.dev, IVPU_MMU_PGTABLE_SIZE, &pud_dma, GFP_KERNEL); in ivpu_mmu_ensure_pud()
116 pgtable->pmd_ptrs[pgd_idx] = kzalloc(IVPU_MMU_PGTABLE_SIZE, GFP_KERNEL); in ivpu_mmu_ensure_pud()
121 pgtable->pte_ptrs[pgd_idx] = kzalloc(IVPU_MMU_PGTABLE_SIZE, GFP_KERNEL); in ivpu_mmu_ensure_pud()
153 pgtable->pte_ptrs[pgd_idx][pud_idx] = kzalloc(IVPU_MMU_PGTABLE_SIZE, GFP_KERNEL); in ivpu_mmu_ensure_pmd()
273 IVPU_MMU_PGTABLE_SIZE); in ivpu_mmu_context_flush_page_tables()
277 IVPU_MMU_PGTABLE_SIZE); in ivpu_mmu_context_flush_page_tables()
279 clflush_cache_range(pgtable->pud_ptrs[pgd_idx], IVPU_MMU_PGTABLE_SIZE); in ivpu_mmu_context_flush_page_tables()
[all …]