Searched refs:cntenc (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/devfreq/event/ |
H A D | exynos-ppmu.c | 208 unsigned int pmnc, cntenc; in exynos_ppmu_get_event() local 256 ret = regmap_read(info->regmap, PPMU_CNTENC, &cntenc); in exynos_ppmu_get_event() 260 cntenc |= (PPMU_CCNT_MASK | (PPMU_ENABLE << id)); in exynos_ppmu_get_event() 261 ret = regmap_write(info->regmap, PPMU_CNTENC, cntenc); in exynos_ppmu_get_event() 425 unsigned int pmnc, cntenc; in exynos_ppmu_v2_get_event() local 471 ret = regmap_read(info->regmap, PPMU_V2_CNTENC, &cntenc); in exynos_ppmu_v2_get_event() 475 cntenc |= (PPMU_CCNT_MASK | (PPMU_ENABLE << id)); in exynos_ppmu_v2_get_event() 476 ret = regmap_write(info->regmap, PPMU_V2_CNTENC, cntenc); in exynos_ppmu_v2_get_event()
|