Home
last modified time | relevance | path

Searched refs:pmnc (Results 1 – 2 of 2) sorted by relevance

/drivers/devfreq/event/
Dexynos-ppmu.c132 u32 pmnc; in exynos_ppmu_disable() local
145 ret = regmap_read(info->regmap, PPMU_PMNC, &pmnc); in exynos_ppmu_disable()
149 pmnc &= ~PPMU_PMNC_ENABLE_MASK; in exynos_ppmu_disable()
150 ret = regmap_write(info->regmap, PPMU_PMNC, pmnc); in exynos_ppmu_disable()
162 u32 pmnc, cntens; in exynos_ppmu_set_event() local
184 ret = regmap_read(info->regmap, PPMU_PMNC, &pmnc); in exynos_ppmu_set_event()
188 pmnc &= ~(PPMU_PMNC_ENABLE_MASK in exynos_ppmu_set_event()
191 pmnc |= (PPMU_ENABLE << PPMU_PMNC_ENABLE_SHIFT); in exynos_ppmu_set_event()
192 pmnc |= (PPMU_ENABLE << PPMU_PMNC_COUNTER_RESET_SHIFT); in exynos_ppmu_set_event()
193 pmnc |= (PPMU_ENABLE << PPMU_PMNC_CC_RESET_SHIFT); in exynos_ppmu_set_event()
[all …]
/drivers/perf/
Darm_pmuv3.c452 static inline int armv8pmu_counter_has_overflowed(u32 pmnc, int idx) in armv8pmu_counter_has_overflowed() argument
454 return pmnc & BIT(ARMV8_IDX_TO_COUNTER(idx)); in armv8pmu_counter_has_overflowed()