Lines Matching refs:MMU_DR_PGT
34 if (hdev->mmu_func[MMU_DR_PGT].init != NULL) { in hl_mmu_init()
35 rc = hdev->mmu_func[MMU_DR_PGT].init(hdev); in hl_mmu_init()
61 if (hdev->mmu_func[MMU_DR_PGT].fini != NULL) in hl_mmu_fini()
62 hdev->mmu_func[MMU_DR_PGT].fini(hdev); in hl_mmu_fini()
86 if (hdev->mmu_func[MMU_DR_PGT].ctx_init != NULL) { in hl_mmu_ctx_init()
87 rc = hdev->mmu_func[MMU_DR_PGT].ctx_init(ctx); in hl_mmu_ctx_init()
115 if (hdev->mmu_func[MMU_DR_PGT].ctx_fini != NULL) in hl_mmu_ctx_fini()
116 hdev->mmu_func[MMU_DR_PGT].ctx_fini(ctx); in hl_mmu_ctx_fini()
168 pgt_residency = mmu_prop->host_resident ? MMU_HR_PGT : MMU_DR_PGT; in hl_mmu_unmap_page()
257 pgt_residency = mmu_prop->host_resident ? MMU_HR_PGT : MMU_DR_PGT; in hl_mmu_map_page()
452 if (hdev->mmu_func[MMU_DR_PGT].swap_out != NULL) in hl_mmu_swap_out()
453 hdev->mmu_func[MMU_DR_PGT].swap_out(ctx); in hl_mmu_swap_out()
472 if (hdev->mmu_func[MMU_DR_PGT].swap_in != NULL) in hl_mmu_swap_in()
473 hdev->mmu_func[MMU_DR_PGT].swap_in(ctx); in hl_mmu_swap_in()
581 rc = hdev->mmu_func[MMU_DR_PGT].get_tlb_info(ctx, in hl_mmu_get_tlb_info()
603 hl_mmu_v1_set_funcs(hdev, &hdev->mmu_func[MMU_DR_PGT]); in hl_mmu_if_set_funcs()