Lines Matching refs:cpumf_ctr_ctl
161 static const u64 cpumf_ctr_ctl[CPUMF_CTR_SET_MAX] = { variable
184 if (!(auth & cpumf_ctr_ctl[i])) in cfdiag_getctr()
227 auth &= ~cpumf_ctr_ctl[ctrstart->set]; in cfdiag_diffctr()
309 mtdiag_ctl = cpumf_ctr_ctl[CPUMF_CTR_SET_MT_DIAG]; in validate_ctr_version()
500 hwc->config_base = cpumf_ctr_ctl[set]; in __hw_perf_event_init()
636 if ((hwc->config_base & cpumf_ctr_ctl[i])) in cpumf_pmu_start()
693 if (!(hwc->config_base & cpumf_ctr_ctl[i])) in cpumf_pmu_stop()
696 ctr_set_stop(&cpuhw->state, cpumf_ctr_ctl[i]); in cpumf_pmu_stop()
748 ctr_set_disable(&cpuhw->state, cpumf_ctr_ctl[i]); in cpumf_pmu_del()
878 if ((p->sets & cpumf_ctr_ctl[rc])) { in cfset_ioctl_off()
881 cpumf_ctr_ctl[rc]); in cfset_ioctl_off()
883 cpumf_ctr_ctl[rc]); in cfset_ioctl_off()
908 if ((p->sets & cpumf_ctr_ctl[rc])) in cfset_ioctl_on()
1020 if (!(sets & cpumf_ctr_ctl[i])) in cfset_needspace()
1071 p->set = cpumf_ctr_ctl[ctrset]; in cfset_cpuset_read()
1098 if (!(p->sets & cpumf_ctr_ctl[set])) in cfset_cpu_read()
1174 if (start.counter_sets & ~(cpumf_ctr_ctl[CPUMF_CTR_SET_BASIC] | in cfset_ioctl_start()
1175 cpumf_ctr_ctl[CPUMF_CTR_SET_USER] | in cfset_ioctl_start()
1176 cpumf_ctr_ctl[CPUMF_CTR_SET_CRYPTO] | in cfset_ioctl_start()
1177 cpumf_ctr_ctl[CPUMF_CTR_SET_EXT] | in cfset_ioctl_start()
1178 cpumf_ctr_ctl[CPUMF_CTR_SET_MT_DIAG])) in cfset_ioctl_start()
1321 if (cpuhw->info.auth_ctl & cpumf_ctr_ctl[i]) in get_authctrsets()
1322 auth |= cpumf_ctr_ctl[i]; in get_authctrsets()