Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/memory/
Dmtk-smi.c161 struct mtk_smi_larb_iommu *larb_mmu = data; in mtk_smi_larb_bind() local
165 if (dev == larb_mmu[i].dev) { in mtk_smi_larb_bind()
167 larb->mmu = &larb_mmu[i].mmu; in mtk_smi_larb_bind()
168 larb->bank = larb_mmu[i].bank; in mtk_smi_larb_bind()
/linux-5.19.10/drivers/iommu/
Dmtk_iommu_v1.c235 struct mtk_smi_larb_iommu *larb_mmu; in mtk_iommu_v1_config() local
243 larb_mmu = &data->larb_imu[larbid]; in mtk_iommu_v1_config()
249 larb_mmu->mmu |= MTK_SMI_MMU_EN(portid); in mtk_iommu_v1_config()
251 larb_mmu->mmu &= ~MTK_SMI_MMU_EN(portid); in mtk_iommu_v1_config()
Dmtk_iommu.c531 struct mtk_smi_larb_iommu *larb_mmu; in mtk_iommu_config() local
543 larb_mmu = &data->larb_imu[larbid]; in mtk_iommu_config()
546 larb_mmu->bank[portid] = upper_32_bits(region->iova_base); in mtk_iommu_config()
549 enable ? "enable" : "disable", dev_name(larb_mmu->dev), in mtk_iommu_config()
550 portid, regionid, larb_mmu->bank[portid]); in mtk_iommu_config()
553 larb_mmu->mmu |= MTK_SMI_MMU_EN(portid); in mtk_iommu_config()
555 larb_mmu->mmu &= ~MTK_SMI_MMU_EN(portid); in mtk_iommu_config()