Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/accel/habanalabs/common/mmu/
Dmmu.c784 struct pgt_info *hop0_pgt; in hl_mmu_hr_pool_destroy() local
793 hop0_pgt = &hr_priv->mmu_asid_hop0[asid]; in hl_mmu_hr_pool_destroy()
794 if (ZERO_OR_NULL_PTR(hop0_pgt->virt_addr)) in hl_mmu_hr_pool_destroy()
797 gen_pool_free(*pool, (uintptr_t) hop0_pgt->virt_addr, hop_table_size); in hl_mmu_hr_pool_destroy()
829 struct pgt_info *hop0_pgt; in hl_mmu_hr_init() local
873 hop0_pgt = &hr_priv->mmu_asid_hop0[i]; in hl_mmu_hr_init()
874 hop0_pgt->virt_addr = (uintptr_t) in hl_mmu_hr_init()
877 (dma_addr_t *) &hop0_pgt->phys_addr, in hl_mmu_hr_init()
879 if (!hop0_pgt->virt_addr) { in hl_mmu_hr_init()