Searched refs:pmnc (Results 1 – 2 of 2) sorted by relevance
132 u32 pmnc; in exynos_ppmu_disable() local145 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() local184 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 …]
452 static inline int armv8pmu_counter_has_overflowed(u32 pmnc, int idx) in armv8pmu_counter_has_overflowed() argument454 return pmnc & BIT(ARMV8_IDX_TO_COUNTER(idx)); in armv8pmu_counter_has_overflowed()