Lines Matching refs:mc
170 struct mc_ctlr *mc = (struct mc_ctlr *)NV_PA_MC_BASE; in protect_secure_section() local
176 writel(CONFIG_ARMV7_SECURE_BASE, &mc->mc_security_cfg0); in protect_secure_section()
177 writel(CONFIG_ARMV7_SECURE_RESERVE_SIZE >> 20, &mc->mc_security_cfg1); in protect_secure_section()
182 static void smmu_flush(struct mc_ctlr *mc) in smmu_flush() argument
184 (void)readl(&mc->mc_smmu_config); in smmu_flush()
189 struct mc_ctlr *mc = (struct mc_ctlr *)NV_PA_MC_BASE; in smmu_enable() local
197 writel(0xffffffff, &mc->mc_smmu_translation_enable_0); in smmu_enable()
198 writel(0xffffffff, &mc->mc_smmu_translation_enable_1); in smmu_enable()
199 writel(0xffffffff, &mc->mc_smmu_translation_enable_2); in smmu_enable()
200 writel(0xffffffff, &mc->mc_smmu_translation_enable_3); in smmu_enable()
206 value = readl(&mc->mc_smmu_config); in smmu_enable()
208 writel(value, &mc->mc_smmu_config); in smmu_enable()
210 smmu_flush(mc); in smmu_enable()