Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soc/dove/
H A 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 …]
/openbmc/linux/arch/arm/mach-rockchip/
H A 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()
/openbmc/linux/drivers/pinctrl/mvebu/
H A 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()
828 pmu_base = devm_ioremap_resource(&pdev->dev, res); in dove_pinctrl_probe()
829 if (IS_ERR(pmu_base)) { in dove_pinctrl_probe()
830 ret = PTR_ERR(pmu_base); in dove_pinctrl_probe()
/openbmc/linux/include/linux/soc/dove/
H A Dpmu.h16 void __iomem *pmu_base; member
/openbmc/u-boot/arch/arm/mach-zynqmp/
H A Dhandoff.c84 writel(CONFIG_SPL_TEXT_BASE, &pmu_base->gen_storage6); in handoff_setup()
/openbmc/u-boot/arch/arm/mach-zynqmp/include/mach/
H A Dhardware.h146 #define pmu_base ((struct pmu_regs *)ZYNQMP_PMU_BASEADDR) macro
/openbmc/linux/drivers/perf/
H A Darm-cmn.c276 void __iomem *pmu_base; member
431 return readl_relaxed(xp->pmu_base - CMN_PMU_OFFSET + offset); in arm_cmn_device_connect_info()
1472 writel_relaxed(reg >> 32, dn->pmu_base + CMN_PMU_EVENT_SEL + 4); in arm_cmn_set_event_sel_hi()
1485 writeq_relaxed(le64_to_cpu(dn->event_sel_w), dn->pmu_base + CMN_PMU_EVENT_SEL); in arm_cmn_set_event_sel_lo()
1488 writel_relaxed(le32_to_cpu(dn->event_sel), dn->pmu_base + CMN_PMU_EVENT_SEL); in arm_cmn_set_event_sel_lo()
1510 void __iomem *base = dn->pmu_base + CMN_DTM_OFFSET(hw->dtm_offset); in arm_cmn_event_start()
1538 void __iomem *base = dn->pmu_base + CMN_DTM_OFFSET(hw->dtm_offset); in arm_cmn_event_stop()
2015 dtm->base = xp->pmu_base + CMN_DTM_OFFSET(idx); in arm_cmn_init_dtm()
2029 dtc->base = dn->pmu_base - CMN_PMU_OFFSET; in arm_cmn_init_dtc()
2123 node->pmu_base = cmn->base + offset + CMN_PMU_OFFSET; in arm_cmn_init_node_info()
[all …]
/openbmc/linux/arch/arm/mach-dove/
H A Dcommon.c409 .pmu_base = DOVE_PMU_VIRT_BASE + 0x8000,