Home
last modified time | relevance | path

Searched refs:ctr_set (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/arch/s390/include/asm/
H A 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
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dperf_cpum_cf.c410 atomic_inc(&cpuhw->ctr_set[hwc->config_base]); in cpumf_pmu_start()
423 if (!atomic_dec_return(&cpuhw->ctr_set[hwc->config_base])) in cpumf_pmu_stop()
472 if (!atomic_read(&cpuhw->ctr_set[event->hw.config_base])) in cpumf_pmu_del()
H A Dperf_cpum_cf_common.c23 .ctr_set = {
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dperf_cpum_cf.c80 atomic_t ctr_set[CPUMF_CTR_SET_MAX]; member
946 atomic_inc(&cpuhw->ctr_set[i]); in cpumf_pmu_start()
999 if (!atomic_dec_return(&cpuhw->ctr_set[i])) in cpumf_pmu_stop()
1050 if (!atomic_read(&cpuhw->ctr_set[i])) in cpumf_pmu_del()
1315 if (!atomic_dec_return(&cpuhw->ctr_set[rc])) { in cfset_ioctl_off()
1343 atomic_inc(&cpuhw->ctr_set[rc]); in cfset_ioctl_on()

Completed in 4 milliseconds