Searched refs:larb_mmu (Results 1 – 3 of 3) sorted by relevance
155 struct mtk_smi_larb_iommu *larb_mmu = data; in mtk_smi_larb_bind() local159 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()
362 struct mtk_smi_larb_iommu *larb_mmu; in mtk_iommu_config() local372 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()
201 struct mtk_smi_larb_iommu *larb_mmu; in mtk_iommu_config() local209 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()