Searched refs:mmu_func (Results 1 – 3 of 3) sorted by relevance
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()[all …]
141 &ctx->hdev->mmu_func[MMU_HR_PGT].hr_funcs, curr_pte); in _hl_mmu_v2_hr_unmap()248 &ctx->hdev->mmu_func[MMU_HR_PGT].hr_funcs, in _hl_mmu_v2_hr_map()292 hl_mmu_hr_get_pte(ctx, &ctx->hdev->mmu_func[MMU_HR_PGT].hr_funcs, in _hl_mmu_v2_hr_map()297 hl_mmu_hr_get_pte(ctx, &ctx->hdev->mmu_func[MMU_HR_PGT].hr_funcs, in _hl_mmu_v2_hr_map()374 &ctx->hdev->mmu_func[MMU_HR_PGT].hr_funcs); in hl_mmu_v2_hr_get_tlb_info()
3481 struct hl_mmu_funcs mmu_func[MMU_NUM_PGT_LOCATIONS]; member