Home
last modified time | relevance | path

Searched refs:mmu_asid_hop0 (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/accel/habanalabs/common/mmu/
Dmmu.c784 if (hr_priv->mmu_asid_hop0) { in hl_mmu_hr_pool_destroy()
786 hop0_pgt = &hr_priv->mmu_asid_hop0[asid]; in hl_mmu_hr_pool_destroy()
839 hr_priv->mmu_asid_hop0 = kvcalloc(prop->max_asid, sizeof(struct pgt_info), GFP_KERNEL); in hl_mmu_hr_init()
840 if (ZERO_OR_NULL_PTR(hr_priv->mmu_asid_hop0)) { in hl_mmu_hr_init()
866 hop0_pgt = &hr_priv->mmu_asid_hop0[i]; in hl_mmu_hr_init()
885 if (!ZERO_OR_NULL_PTR(hr_priv->mmu_asid_hop0)) in hl_mmu_hr_init()
886 kvfree(hr_priv->mmu_asid_hop0); in hl_mmu_hr_init()
909 if (!ZERO_OR_NULL_PTR(hr_priv->mmu_asid_hop0)) { in hl_mmu_hr_fini()
910 kvfree(hr_priv->mmu_asid_hop0); in hl_mmu_hr_fini()
916 hr_priv->mmu_asid_hop0 = NULL; in hl_mmu_hr_fini()
Dmmu_v2_hr.c33 return &ctx->hdev->mmu_priv.hr.mmu_asid_hop0[ctx->asid]; in hl_mmu_v2_hr_get_hop0_pgt_info()
/linux-6.6.21/drivers/accel/habanalabs/common/
Dhabanalabs.h2736 struct pgt_info *mmu_asid_hop0; member
/linux-6.6.21/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c5751 hop0_addr = hdev->mmu_priv.hr.mmu_asid_hop0[asid].phys_addr; in gaudi2_mmu_update_hop0_addr()