Lines Matching refs:pmc_base
32 void __iomem *pmc_base; member
55 val = readl_relaxed(pmu->pmc_base + PMC_SW_RST); in pmu_reset_reset()
56 writel_relaxed(val & ~BIT(id), pmu->pmc_base + PMC_SW_RST); in pmu_reset_reset()
57 writel_relaxed(val | BIT(id), pmu->pmc_base + PMC_SW_RST); in pmu_reset_reset()
70 val &= readl_relaxed(pmu->pmc_base + PMC_SW_RST); in pmu_reset_assert()
71 writel_relaxed(val, pmu->pmc_base + PMC_SW_RST); in pmu_reset_assert()
84 val |= readl_relaxed(pmu->pmc_base + PMC_SW_RST); in pmu_reset_deassert()
85 writel_relaxed(val, pmu->pmc_base + PMC_SW_RST); in pmu_reset_deassert()
150 void __iomem *pmc_base = pmu->pmc_base; in pmu_domain_power_off() local
164 val &= readl_relaxed(pmc_base + PMC_SW_RST); in pmu_domain_power_off()
165 writel_relaxed(val, pmc_base + PMC_SW_RST); in pmu_domain_power_off()
184 void __iomem *pmc_base = pmu->pmc_base; in pmu_domain_power_on() local
195 val |= readl_relaxed(pmc_base + PMC_SW_RST); in pmu_domain_power_on()
196 writel_relaxed(val, pmc_base + PMC_SW_RST); in pmu_domain_power_on()
274 writel(0, pmu->pmc_base + PMC_IRQ_MASK); in dove_init_pmu_irq()
275 writel(0, pmu->pmc_base + PMC_IRQ_CAUSE); in dove_init_pmu_irq()
295 gc->reg_base = pmu->pmc_base; in dove_init_pmu_irq()
320 pmu->pmc_base = initdata->pmc_base; in dove_init_pmu_legacy()
396 pmu->pmc_base = of_iomap(pmu->of_node, 0); in dove_init_pmu()
398 if (!pmu->pmc_base || !pmu->pmu_base) { in dove_init_pmu()
401 iounmap(pmu->pmc_base); in dove_init_pmu()