Searched refs:mmu_priv (Results 1 – 2 of 2) sorted by relevance
32 gen_pool_free(hdev->mmu_priv.mmu_pgt_pool, pgt_info->phys_addr, in _free_hop()57 phys_addr = (u64) gen_pool_alloc(hdev->mmu_priv.mmu_pgt_pool, in alloc_hop()78 gen_pool_free(hdev->mmu_priv.mmu_pgt_pool, phys_addr, in alloc_hop()94 return (u64) (uintptr_t) ctx->hdev->mmu_priv.mmu_shadow_hop0 + in get_hop0_addr()422 hdev->mmu_priv.mmu_pgt_pool = in hl_mmu_v1_init()425 if (!hdev->mmu_priv.mmu_pgt_pool) { in hl_mmu_v1_init()430 rc = gen_pool_add(hdev->mmu_priv.mmu_pgt_pool, prop->mmu_pgt_addr + in hl_mmu_v1_init()439 hdev->mmu_priv.mmu_shadow_hop0 = kvmalloc_array(prop->max_asid, in hl_mmu_v1_init()442 if (ZERO_OR_NULL_PTR(hdev->mmu_priv.mmu_shadow_hop0)) { in hl_mmu_v1_init()452 gen_pool_destroy(hdev->mmu_priv.mmu_pgt_pool); in hl_mmu_v1_init()[all …]
1654 struct hl_mmu_priv mmu_priv; member