• Home
  • Raw
  • Download

Lines Matching refs:mmu_func

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()
40 if (hdev->mmu_func[MMU_HR_PGT].init != NULL) in hl_mmu_init()
41 rc = hdev->mmu_func[MMU_HR_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()
64 if (hdev->mmu_func[MMU_HR_PGT].fini != NULL) in hl_mmu_fini()
65 hdev->mmu_func[MMU_HR_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()
92 if (hdev->mmu_func[MMU_HR_PGT].ctx_init != NULL) in hl_mmu_ctx_init()
93 rc = hdev->mmu_func[MMU_HR_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()
118 if (hdev->mmu_func[MMU_HR_PGT].ctx_fini != NULL) in hl_mmu_ctx_fini()
119 hdev->mmu_func[MMU_HR_PGT].ctx_fini(ctx); in hl_mmu_ctx_fini()
197 rc = hdev->mmu_func[pgt_residency].unmap(ctx, in hl_mmu_unmap_page()
206 hdev->mmu_func[pgt_residency].flush(ctx); in hl_mmu_unmap_page()
305 rc = hdev->mmu_func[pgt_residency].map(ctx, in hl_mmu_map_page()
317 hdev->mmu_func[pgt_residency].flush(ctx); in hl_mmu_map_page()
324 if (hdev->mmu_func[pgt_residency].unmap(ctx, in hl_mmu_map_page()
332 hdev->mmu_func[pgt_residency].flush(ctx); 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()
455 if (hdev->mmu_func[MMU_HR_PGT].swap_out != NULL) in hl_mmu_swap_out()
456 hdev->mmu_func[MMU_HR_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()
475 if (hdev->mmu_func[MMU_HR_PGT].swap_in != NULL) in hl_mmu_swap_in()
476 hdev->mmu_func[MMU_HR_PGT].swap_in(ctx); in hl_mmu_swap_in()
578 rc = hdev->mmu_func[MMU_HR_PGT].get_tlb_info(ctx, in hl_mmu_get_tlb_info()
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()