Lines Matching refs:cpumf_ctr_info

106 static struct cpumf_ctr_info	cpumf_ctr_info;  variable
397 te->cfvn = cpumf_ctr_info.cfvn; /* Counter version numbers */ in cfdiag_trailer()
398 te->csvn = cpumf_ctr_info.csvn; in cfdiag_trailer()
423 if (cpumf_ctr_info.cfvn >= 1) in cpum_cf_make_setsize()
427 if (cpumf_ctr_info.cfvn == 1) in cpum_cf_make_setsize()
429 else if (cpumf_ctr_info.cfvn >= 3) in cpum_cf_make_setsize()
433 if (cpumf_ctr_info.csvn >= 1 && cpumf_ctr_info.csvn <= 5) in cpum_cf_make_setsize()
435 else if (cpumf_ctr_info.csvn >= 6) in cpum_cf_make_setsize()
439 if (cpumf_ctr_info.csvn == 1) in cpum_cf_make_setsize()
441 else if (cpumf_ctr_info.csvn == 2) in cpum_cf_make_setsize()
443 else if (cpumf_ctr_info.csvn >= 3 && cpumf_ctr_info.csvn <= 5) in cpum_cf_make_setsize()
445 else if (cpumf_ctr_info.csvn == 6 || cpumf_ctr_info.csvn == 7) in cpum_cf_make_setsize()
449 if (cpumf_ctr_info.csvn > 3) in cpum_cf_make_setsize()
624 if (cpumf_ctr_info.cfvn < 1) in validate_ctr_version()
628 if ((cpumf_ctr_info.csvn >= 1 && cpumf_ctr_info.csvn <= 5 && in validate_ctr_version()
629 config > 79) || (cpumf_ctr_info.csvn >= 6 && config > 83)) in validate_ctr_version()
633 if (cpumf_ctr_info.csvn < 1) in validate_ctr_version()
635 if ((cpumf_ctr_info.csvn == 1 && config > 159) || in validate_ctr_version()
636 (cpumf_ctr_info.csvn == 2 && config > 175) || in validate_ctr_version()
637 (cpumf_ctr_info.csvn >= 3 && cpumf_ctr_info.csvn <= 5 && in validate_ctr_version()
639 (cpumf_ctr_info.csvn >= 6 && config > 287)) in validate_ctr_version()
643 if (cpumf_ctr_info.csvn <= 3) in validate_ctr_version()
658 if (!((cpumf_ctr_info.auth_ctl & mtdiag_ctl) && in validate_ctr_version()
659 (cpumf_ctr_info.enable_ctl & mtdiag_ctl) && in validate_ctr_version()
660 (cpumf_ctr_info.act_ctl & mtdiag_ctl))) in validate_ctr_version()
833 if (!(hwc->config_base & cpumf_ctr_info.auth_ctl)) in __hw_perf_event_init()
1177 qctri(&cpumf_ctr_info); in cpumf_measurement_alert()
1195 if (!cpum_cf_avail() || qctri(&cpumf_ctr_info)) in cpumf_pmu_init()
1757 if (cpumf_ctr_info.auth_ctl & cpumf_ctr_ctl[i]) in get_authctrsets()
1890 static size_t cfdiag_maxsize(struct cpumf_ctr_info *info) in cfdiag_maxsize()
1935 need = cfdiag_maxsize(&cpumf_ctr_info); in cfset_init()