Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/accel/habanalabs/common/mmu/
Dmmu.c777 struct pgt_info *hop0_pgt; in hl_mmu_hr_pool_destroy() local
786 hop0_pgt = &hr_priv->mmu_asid_hop0[asid]; in hl_mmu_hr_pool_destroy()
787 if (ZERO_OR_NULL_PTR(hop0_pgt->virt_addr)) in hl_mmu_hr_pool_destroy()
790 gen_pool_free(*pool, (uintptr_t) hop0_pgt->virt_addr, hop_table_size); in hl_mmu_hr_pool_destroy()
822 struct pgt_info *hop0_pgt; in hl_mmu_hr_init() local
866 hop0_pgt = &hr_priv->mmu_asid_hop0[i]; in hl_mmu_hr_init()
867 hop0_pgt->virt_addr = (uintptr_t) in hl_mmu_hr_init()
870 (dma_addr_t *) &hop0_pgt->phys_addr, in hl_mmu_hr_init()
872 if (!hop0_pgt->virt_addr) { in hl_mmu_hr_init()