Home
last modified time | relevance | path

Searched refs:ctr_set (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/arch/s390/include/asm/
Dcpu_mcf.h35 static inline void ctr_set_enable(u64 *state, int ctr_set) in ctr_set_enable() argument
37 *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() argument
41 *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() argument
45 *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() argument
49 *state &= ~(cpumf_ctr_ctl[ctr_set] << CPUMF_LCCTL_ACTCTL_SHIFT); in ctr_set_stop()
93 atomic_t ctr_set[CPUMF_CTR_SET_MAX]; member
/Linux-v5.10/arch/s390/kernel/
Dperf_cpum_cf.c390 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()
Dperf_cpum_cf_common.c23 .ctr_set = {