Searched refs:cntens (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/devfreq/event/ |
H A D | exynos-ppmu.c | 162 u32 pmnc, cntens; in exynos_ppmu_set_event() local 168 ret = regmap_read(info->regmap, PPMU_CNTENS, &cntens); in exynos_ppmu_set_event() 172 cntens |= (PPMU_CCNT_MASK | (PPMU_ENABLE << id)); in exynos_ppmu_set_event() 173 ret = regmap_write(info->regmap, PPMU_CNTENS, cntens); in exynos_ppmu_set_event() 377 unsigned int pmnc, cntens; in exynos_ppmu_v2_set_event() local 382 ret = regmap_read(info->regmap, PPMU_V2_CNTENS, &cntens); in exynos_ppmu_v2_set_event() 386 cntens |= (PPMU_CCNT_MASK | (PPMU_ENABLE << id)); in exynos_ppmu_v2_set_event() 387 ret = regmap_write(info->regmap, PPMU_V2_CNTENS, cntens); in exynos_ppmu_v2_set_event()
|