Home
last modified time | relevance | path

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

/drivers/misc/habanalabs/common/mmu/
Dmmu_v1.c31 gen_pool_free(hdev->mmu_priv.dr.mmu_pgt_pool, pgt_info->phys_addr, in _free_hop()
56 phys_addr = (u64) gen_pool_alloc(hdev->mmu_priv.dr.mmu_pgt_pool, in alloc_hop()
77 gen_pool_free(hdev->mmu_priv.dr.mmu_pgt_pool, phys_addr, in alloc_hop()
93 return (u64) (uintptr_t) ctx->hdev->mmu_priv.dr.mmu_shadow_hop0 + in get_hop0_addr()
421 hdev->mmu_priv.dr.mmu_pgt_pool = in hl_mmu_v1_init()
424 if (!hdev->mmu_priv.dr.mmu_pgt_pool) { in hl_mmu_v1_init()
429 rc = gen_pool_add(hdev->mmu_priv.dr.mmu_pgt_pool, prop->mmu_pgt_addr + in hl_mmu_v1_init()
438 hdev->mmu_priv.dr.mmu_shadow_hop0 = kvmalloc_array(prop->max_asid, in hl_mmu_v1_init()
441 if (ZERO_OR_NULL_PTR(hdev->mmu_priv.dr.mmu_shadow_hop0)) { in hl_mmu_v1_init()
451 gen_pool_destroy(hdev->mmu_priv.dr.mmu_pgt_pool); in hl_mmu_v1_init()
[all …]
/drivers/misc/habanalabs/common/
Dhabanalabs.h2525 struct hl_mmu_priv mmu_priv; member