Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/soc/dove/
Dpmu.c33 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.10/arch/mips/vr41xx/common/
Dpmu.c32 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.10/arch/arm/mach-rockchip/
Dplatsmp.c211 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.10/drivers/perf/
Darm-cmn.c188 void __iomem *pmu_base; member
690 u64 reg = readq_relaxed(xp->pmu_base + offset); in arm_cmn_read_dtm()
777 writeq_relaxed(val, dn->pmu_base + CMN_DTM_WPn_VAL(wp_idx)); in arm_cmn_event_start()
778 writeq_relaxed(mask, dn->pmu_base + CMN_DTM_WPn_MASK(wp_idx)); in arm_cmn_event_start()
784 writel_relaxed(le32_to_cpu(dn->event_sel), dn->pmu_base + CMN_PMU_EVENT_SEL); in arm_cmn_event_start()
803 writeq_relaxed(0, dn->pmu_base + CMN_DTM_WPn_MASK(wp_idx)); in arm_cmn_event_stop()
804 writeq_relaxed(~0ULL, dn->pmu_base + CMN_DTM_WPn_VAL(wp_idx)); in arm_cmn_event_stop()
810 writel_relaxed(le32_to_cpu(dn->event_sel), dn->pmu_base + CMN_PMU_EVENT_SEL); in arm_cmn_event_stop()
1001 writel_relaxed(xp->pmu_config_low, xp->pmu_base + CMN_DTM_PMU_CONFIG); in arm_cmn_event_clear()
1068 writel_relaxed(cfg, dn->pmu_base + CMN_DTM_WPn_CONFIG(wp_idx)); in arm_cmn_event_add()
[all …]
/Linux-v5.10/drivers/pinctrl/mvebu/
Dpinctrl-dove.c60 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.10/include/linux/soc/dove/
Dpmu.h16 void __iomem *pmu_base; member
/Linux-v5.10/arch/arm/mach-dove/
Dcommon.c414 .pmu_base = DOVE_PMU_VIRT_BASE + 0x8000,