Searched refs:larb_mmu (Results 1 – 3 of 3) sorted by relevance
161 struct mtk_smi_larb_iommu *larb_mmu = data; in mtk_smi_larb_bind() local165 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()
235 struct mtk_smi_larb_iommu *larb_mmu; in mtk_iommu_v1_config() local243 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()
531 struct mtk_smi_larb_iommu *larb_mmu; in mtk_iommu_config() local543 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()