Searched refs:ctr_set (Results 1 – 3 of 3) sorted by relevance
35 static inline void ctr_set_enable(u64 *state, int ctr_set) in ctr_set_enable() argument37 *state |= cpumf_ctr_ctl[ctr_set] << CPUMF_LCCTL_ENABLE_SHIFT; in ctr_set_enable()39 static inline void ctr_set_disable(u64 *state, int ctr_set) in ctr_set_disable() argument41 *state &= ~(cpumf_ctr_ctl[ctr_set] << CPUMF_LCCTL_ENABLE_SHIFT); in ctr_set_disable()43 static inline void ctr_set_start(u64 *state, int ctr_set) in ctr_set_start() argument45 *state |= cpumf_ctr_ctl[ctr_set] << CPUMF_LCCTL_ACTCTL_SHIFT; in ctr_set_start()47 static inline void ctr_set_stop(u64 *state, int ctr_set) in ctr_set_stop() argument49 *state &= ~(cpumf_ctr_ctl[ctr_set] << CPUMF_LCCTL_ACTCTL_SHIFT); in ctr_set_stop()93 atomic_t ctr_set[CPUMF_CTR_SET_MAX]; member
390 atomic_inc(&cpuhw->ctr_set[hwc->config_base]); in cpumf_pmu_start()403 if (!atomic_dec_return(&cpuhw->ctr_set[hwc->config_base])) in cpumf_pmu_stop()452 if (!atomic_read(&cpuhw->ctr_set[event->hw.config_base])) in cpumf_pmu_del()
23 .ctr_set = {