Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/accel/habanalabs/common/mmu/
Dmmu.c231 struct hl_mmu_funcs *mmu_funcs; in hl_mmu_unmap_page() local
244 mmu_funcs = hl_mmu_get_funcs(hdev, pgt_residency, is_dram_addr); in hl_mmu_unmap_page()
255 rc = mmu_funcs->unmap(ctx, real_virt_addr, is_dram_addr); in hl_mmu_unmap_page()
263 mmu_funcs->flush(ctx); in hl_mmu_unmap_page()
300 struct hl_mmu_funcs *mmu_funcs; in hl_mmu_map_page() local
312 mmu_funcs = hl_mmu_get_funcs(hdev, pgt_residency, is_dram_addr); in hl_mmu_map_page()
340 rc = mmu_funcs->map(ctx, real_virt_addr, real_phys_addr, real_page_size, in hl_mmu_map_page()
351 mmu_funcs->flush(ctx); in hl_mmu_map_page()
360 if (mmu_funcs->unmap(ctx, real_virt_addr, is_dram_addr)) in hl_mmu_map_page()
367 mmu_funcs->flush(ctx); in hl_mmu_map_page()
[all …]