Lines Matching refs:mmu_funcs
230 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()
553 struct hl_mmu_funcs *mmu_funcs; in hl_mmu_get_tlb_info() local
570 mmu_funcs = hl_mmu_get_funcs(hdev, pgt_residency, is_dram_addr); in hl_mmu_get_tlb_info()
573 rc = mmu_funcs->get_tlb_info(ctx, virt_addr, hops); in hl_mmu_get_tlb_info()