Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/accel/habanalabs/common/mmu/
Dmmu.c230 struct hl_mmu_funcs *mmu_funcs; in hl_mmu_unmap_page() local
243 mmu_funcs = hl_mmu_get_funcs(hdev, pgt_residency, is_dram_addr); in hl_mmu_unmap_page()
254 rc = mmu_funcs->unmap(ctx, real_virt_addr, is_dram_addr); in hl_mmu_unmap_page()
262 mmu_funcs->flush(ctx); in hl_mmu_unmap_page()
299 struct hl_mmu_funcs *mmu_funcs; in hl_mmu_map_page() local
311 mmu_funcs = hl_mmu_get_funcs(hdev, pgt_residency, is_dram_addr); in hl_mmu_map_page()
339 rc = mmu_funcs->map(ctx, real_virt_addr, real_phys_addr, real_page_size, in hl_mmu_map_page()
350 mmu_funcs->flush(ctx); in hl_mmu_map_page()
359 if (mmu_funcs->unmap(ctx, real_virt_addr, is_dram_addr)) in hl_mmu_map_page()
366 mmu_funcs->flush(ctx); in hl_mmu_map_page()
[all …]