Lines Matching refs:cpumf_ctr_ctl
504 static const u64 cpumf_ctr_ctl[CPUMF_CTR_SET_MAX] = { variable
527 if (!(auth & cpumf_ctr_ctl[i])) in cfdiag_getctr()
566 if (!(auth & cpumf_ctr_ctl[i])) in cfdiag_diffctr()
653 mtdiag_ctl = cpumf_ctr_ctl[CPUMF_CTR_SET_MT_DIAG]; in validate_ctr_version()
811 hwc->config_base = cpumf_ctr_ctl[set]; in __hw_perf_event_init()
951 if ((hwc->config_base & cpumf_ctr_ctl[i])) in cpumf_pmu_start()
1003 if (!(hwc->config_base & cpumf_ctr_ctl[i])) in cpumf_pmu_stop()
1006 ctr_set_stop(&cpuhw->state, cpumf_ctr_ctl[i]); in cpumf_pmu_stop()
1057 ctr_set_disable(&cpuhw->state, cpumf_ctr_ctl[i]); in cpumf_pmu_del()
1320 if ((p->sets & cpumf_ctr_ctl[rc])) { in cfset_ioctl_off()
1323 cpumf_ctr_ctl[rc]); in cfset_ioctl_off()
1325 cpumf_ctr_ctl[rc]); in cfset_ioctl_off()
1348 if ((p->sets & cpumf_ctr_ctl[rc])) in cfset_ioctl_on()
1467 if (!(sets & cpumf_ctr_ctl[i])) in cfset_needspace()
1518 p->set = cpumf_ctr_ctl[ctrset]; in cfset_cpuset_read()
1545 if (!(p->sets & cpumf_ctr_ctl[set])) in cfset_cpu_read()
1615 if (start.counter_sets & ~(cpumf_ctr_ctl[CPUMF_CTR_SET_BASIC] | in cfset_ioctl_start()
1616 cpumf_ctr_ctl[CPUMF_CTR_SET_USER] | in cfset_ioctl_start()
1617 cpumf_ctr_ctl[CPUMF_CTR_SET_CRYPTO] | in cfset_ioctl_start()
1618 cpumf_ctr_ctl[CPUMF_CTR_SET_EXT] | in cfset_ioctl_start()
1619 cpumf_ctr_ctl[CPUMF_CTR_SET_MT_DIAG])) in cfset_ioctl_start()
1754 if (cpumf_ctr_info.auth_ctl & cpumf_ctr_ctl[i]) in get_authctrsets()
1755 auth |= cpumf_ctr_ctl[i]; in get_authctrsets()