Home
last modified time | relevance | path

Searched refs:MMU_DR_PGT (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/misc/habanalabs/common/mmu/
Dmmu.c34 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()
[all …]
/Linux-v5.15/drivers/misc/habanalabs/common/
Dhabanalabs.h87 MMU_DR_PGT = 0, /* device-dram-resident MMU PGT */ enumerator