Lines Matching refs:pmu_base
33 void __iomem *pmu_base; member
149 void __iomem *pmu_base = pmu->pmu_base; in pmu_domain_power_off() local
157 val &= readl_relaxed(pmu_base + PMU_ISO); in pmu_domain_power_off()
158 writel_relaxed(val, pmu_base + PMU_ISO); in pmu_domain_power_off()
169 val = readl_relaxed(pmu_base + PMU_PWR) | pmu_dom->pwr_mask; in pmu_domain_power_off()
170 writel_relaxed(val, pmu_base + PMU_PWR); in pmu_domain_power_off()
183 void __iomem *pmu_base = pmu->pmu_base; in pmu_domain_power_on() local
189 val = ~pmu_dom->pwr_mask & readl_relaxed(pmu_base + PMU_PWR); in pmu_domain_power_on()
190 writel_relaxed(val, pmu_base + PMU_PWR); in pmu_domain_power_on()
202 val |= readl_relaxed(pmu_base + PMU_ISO); in pmu_domain_power_on()
203 writel_relaxed(val, pmu_base + PMU_ISO); in pmu_domain_power_on()
214 unsigned int val = readl_relaxed(domain->pmu->pmu_base + PMU_PWR); in __pmu_domain_register()
321 pmu->pmu_base = initdata->pmu_base; in dove_init_pmu_legacy()
397 pmu->pmu_base = of_iomap(pmu->of_node, 1); in dove_init_pmu()
398 if (!pmu->pmc_base || !pmu->pmu_base) { in dove_init_pmu()
400 iounmap(pmu->pmu_base); in dove_init_pmu()