Home
last modified time | relevance | path

Searched refs:pmu_base (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/soc/dove/
Dpmu.c32 void __iomem *pmu_base; member
148 void __iomem *pmu_base = pmu->pmu_base; in pmu_domain_power_off() local
156 val &= readl_relaxed(pmu_base + PMU_ISO); in pmu_domain_power_off()
157 writel_relaxed(val, pmu_base + PMU_ISO); in pmu_domain_power_off()
168 val = readl_relaxed(pmu_base + PMU_PWR) | pmu_dom->pwr_mask; in pmu_domain_power_off()
169 writel_relaxed(val, pmu_base + PMU_PWR); in pmu_domain_power_off()
182 void __iomem *pmu_base = pmu->pmu_base; in pmu_domain_power_on() local
188 val = ~pmu_dom->pwr_mask & readl_relaxed(pmu_base + PMU_PWR); in pmu_domain_power_on()
189 writel_relaxed(val, pmu_base + PMU_PWR); in pmu_domain_power_on()
201 val |= readl_relaxed(pmu_base + PMU_ISO); in pmu_domain_power_on()
[all …]
/linux-4.4.14/arch/mips/vr41xx/common/
Dpmu.c44 static void __iomem *pmu_base; variable
46 #define pmu_read(offset) readw(pmu_base + (offset))
47 #define pmu_write(offset, value) writew((value), pmu_base + (offset))
121 pmu_base = ioremap(start, size); in vr41xx_pmu_init()
122 if (pmu_base == NULL) { in vr41xx_pmu_init()
/linux-4.4.14/arch/arm/mach-rockchip/
Dplatsmp.c215 void __iomem *pmu_base; in rockchip_smp_prepare_pmu() local
242 pmu_base = of_iomap(node, 0); in rockchip_smp_prepare_pmu()
243 if (!pmu_base) { in rockchip_smp_prepare_pmu()
248 pmu = regmap_init_mmio(NULL, pmu_base, &rockchip_pmu_regmap_config); in rockchip_smp_prepare_pmu()
252 iounmap(pmu_base); in rockchip_smp_prepare_pmu()
/linux-4.4.14/drivers/pinctrl/mvebu/
Dpinctrl-dove.c66 static void __iomem *pmu_base; variable
89 func = readl(pmu_base + PMU_SIGNAL_SELECT_0 + off); in dove_pmu_mpp_ctrl_get()
109 func = readl(pmu_base + PMU_SIGNAL_SELECT_0 + off); in dove_pmu_mpp_ctrl_set()
112 writel(func, pmu_base + PMU_SIGNAL_SELECT_0 + off); in dove_pmu_mpp_ctrl_set()
814 pmu_base = devm_ioremap_resource(&pdev->dev, res); in dove_pinctrl_probe()
815 if (IS_ERR(pmu_base)) in dove_pinctrl_probe()
816 return PTR_ERR(pmu_base); in dove_pinctrl_probe()