Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/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()
824 pmu_base = devm_ioremap_resource(&pdev->dev, res); in dove_pinctrl_probe()
825 if (IS_ERR(pmu_base)) in dove_pinctrl_probe()
826 return PTR_ERR(pmu_base); in dove_pinctrl_probe()
/Linux-v6.6/include/linux/soc/dove/
Dpmu.h16 void __iomem *pmu_base; member
/Linux-v6.6/drivers/perf/
Darm-cmn.c278 void __iomem *pmu_base; member
449 return readl_relaxed(xp->pmu_base - CMN_PMU_OFFSET + offset); in arm_cmn_device_connect_info()
1490 writel_relaxed(reg >> 32, dn->pmu_base + CMN_PMU_EVENT_SEL + 4); in arm_cmn_set_event_sel_hi()
1503 writeq_relaxed(le64_to_cpu(dn->event_sel_w), dn->pmu_base + CMN_PMU_EVENT_SEL); in arm_cmn_set_event_sel_lo()
1506 writel_relaxed(le32_to_cpu(dn->event_sel), dn->pmu_base + CMN_PMU_EVENT_SEL); in arm_cmn_set_event_sel_lo()
1528 void __iomem *base = dn->pmu_base + CMN_DTM_OFFSET(hw->dtm_offset); in arm_cmn_event_start()
1556 void __iomem *base = dn->pmu_base + CMN_DTM_OFFSET(hw->dtm_offset); in arm_cmn_event_stop()
2033 dtm->base = xp->pmu_base + CMN_DTM_OFFSET(idx); in arm_cmn_init_dtm()
2047 dtc->base = dn->pmu_base - CMN_PMU_OFFSET; in arm_cmn_init_dtc()
2129 node->pmu_base = cmn->base + offset + CMN_PMU_OFFSET; in arm_cmn_init_node_info()
[all …]
/Linux-v6.6/arch/arm/mach-dove/
Dcommon.c409 .pmu_base = DOVE_PMU_VIRT_BASE + 0x8000,