Searched refs:pmu_base (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/soc/dove/ |
D | pmu.c | 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() [all …]
|
/Linux-v5.4/arch/mips/vr41xx/common/ |
D | pmu.c | 32 static void __iomem *pmu_base; variable 34 #define pmu_read(offset) readw(pmu_base + (offset)) 35 #define pmu_write(offset, value) writew((value), pmu_base + (offset)) 109 pmu_base = ioremap(start, size); in vr41xx_pmu_init() 110 if (pmu_base == NULL) { in vr41xx_pmu_init()
|
/Linux-v5.4/arch/arm/mach-rockchip/ |
D | platsmp.c | 211 void __iomem *pmu_base; in rockchip_smp_prepare_pmu() local 238 pmu_base = of_iomap(node, 0); in rockchip_smp_prepare_pmu() 240 if (!pmu_base) { in rockchip_smp_prepare_pmu() 245 pmu = regmap_init_mmio(NULL, pmu_base, &rockchip_pmu_regmap_config); in rockchip_smp_prepare_pmu() 249 iounmap(pmu_base); in rockchip_smp_prepare_pmu()
|
/Linux-v5.4/include/linux/soc/dove/ |
D | pmu.h | 16 void __iomem *pmu_base; member
|
/Linux-v5.4/drivers/pinctrl/mvebu/ |
D | pinctrl-dove.c | 60 static void __iomem *pmu_base; variable 74 func = readl(pmu_base + PMU_SIGNAL_SELECT_0 + off); in dove_pmu_mpp_ctrl_get() 95 func = readl(pmu_base + PMU_SIGNAL_SELECT_0 + off); in dove_pmu_mpp_ctrl_set() 98 writel(func, pmu_base + PMU_SIGNAL_SELECT_0 + off); in dove_pmu_mpp_ctrl_set() 825 pmu_base = devm_ioremap_resource(&pdev->dev, res); in dove_pinctrl_probe() 826 if (IS_ERR(pmu_base)) in dove_pinctrl_probe() 827 return PTR_ERR(pmu_base); in dove_pinctrl_probe()
|
/Linux-v5.4/arch/arm/mach-dove/ |
D | common.c | 414 .pmu_base = DOVE_PMU_VIRT_BASE + 0x8000,
|