Lines Matching refs:mmu_func

26 	return &hdev->mmu_func[pgt_residency];  in hl_mmu_get_funcs()
53 if (hdev->mmu_func[MMU_DR_PGT].init != NULL) { in hl_mmu_init()
54 rc = hdev->mmu_func[MMU_DR_PGT].init(hdev); in hl_mmu_init()
59 if (hdev->mmu_func[MMU_HR_PGT].init != NULL) { in hl_mmu_init()
60 rc = hdev->mmu_func[MMU_HR_PGT].init(hdev); in hl_mmu_init()
68 if (hdev->mmu_func[MMU_DR_PGT].fini != NULL) in hl_mmu_init()
69 hdev->mmu_func[MMU_DR_PGT].fini(hdev); in hl_mmu_init()
89 if (hdev->mmu_func[MMU_DR_PGT].fini != NULL) in hl_mmu_fini()
90 hdev->mmu_func[MMU_DR_PGT].fini(hdev); in hl_mmu_fini()
92 if (hdev->mmu_func[MMU_HR_PGT].fini != NULL) in hl_mmu_fini()
93 hdev->mmu_func[MMU_HR_PGT].fini(hdev); in hl_mmu_fini()
114 if (hdev->mmu_func[MMU_DR_PGT].ctx_init != NULL) { in hl_mmu_ctx_init()
115 rc = hdev->mmu_func[MMU_DR_PGT].ctx_init(ctx); in hl_mmu_ctx_init()
120 if (hdev->mmu_func[MMU_HR_PGT].ctx_init != NULL) { in hl_mmu_ctx_init()
121 rc = hdev->mmu_func[MMU_HR_PGT].ctx_init(ctx); in hl_mmu_ctx_init()
129 if (hdev->mmu_func[MMU_DR_PGT].fini != NULL) in hl_mmu_ctx_init()
130 hdev->mmu_func[MMU_DR_PGT].fini(hdev); in hl_mmu_ctx_init()
152 if (hdev->mmu_func[MMU_DR_PGT].ctx_fini != NULL) in hl_mmu_ctx_fini()
153 hdev->mmu_func[MMU_DR_PGT].ctx_fini(ctx); in hl_mmu_ctx_fini()
155 if (hdev->mmu_func[MMU_HR_PGT].ctx_fini != NULL) in hl_mmu_ctx_fini()
156 hdev->mmu_func[MMU_HR_PGT].ctx_fini(ctx); in hl_mmu_ctx_fini()
598 hl_mmu_v1_set_funcs(hdev, &hdev->mmu_func[MMU_DR_PGT]); in hl_mmu_if_set_funcs()
604 hl_mmu_v2_set_funcs(hdev, &hdev->mmu_func[MMU_DR_PGT]); in hl_mmu_if_set_funcs()
606 hl_mmu_v2_hr_set_funcs(hdev, &hdev->mmu_func[MMU_HR_PGT]); in hl_mmu_if_set_funcs()