Home
last modified time | relevance | path

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

/drivers/memory/
Dmtk-smi.c155 struct mtk_smi_larb_iommu *larb_mmu = data; in mtk_smi_larb_bind() local
159 if (dev == larb_mmu[i].dev) { in mtk_smi_larb_bind()
161 larb->mmu = &larb_mmu[i].mmu; in mtk_smi_larb_bind()
162 larb->bank = larb_mmu[i].bank; in mtk_smi_larb_bind()
/drivers/iommu/
Dmtk_iommu.c362 struct mtk_smi_larb_iommu *larb_mmu; in mtk_iommu_config() local
372 larb_mmu = &data->larb_imu[larbid]; in mtk_iommu_config()
375 larb_mmu->bank[portid] = upper_32_bits(region->iova_base); in mtk_iommu_config()
378 enable ? "enable" : "disable", dev_name(larb_mmu->dev), in mtk_iommu_config()
379 portid, domid, larb_mmu->bank[portid]); in mtk_iommu_config()
382 larb_mmu->mmu |= MTK_SMI_MMU_EN(portid); in mtk_iommu_config()
384 larb_mmu->mmu &= ~MTK_SMI_MMU_EN(portid); in mtk_iommu_config()
Dmtk_iommu_v1.c201 struct mtk_smi_larb_iommu *larb_mmu; in mtk_iommu_config() local
209 larb_mmu = &data->larb_imu[larbid]; in mtk_iommu_config()
215 larb_mmu->mmu |= MTK_SMI_MMU_EN(portid); in mtk_iommu_config()
217 larb_mmu->mmu &= ~MTK_SMI_MMU_EN(portid); in mtk_iommu_config()