Lines Matching refs:cppc_perf
357 struct cppc_perf_caps cppc_perf; in intel_pstate_set_itmt_prio() local
361 ret = cppc_get_perf_caps(cpu, &cppc_perf); in intel_pstate_set_itmt_prio()
370 if (cppc_perf.highest_perf == CPPC_MAX_PERF) in intel_pstate_set_itmt_prio()
371 cppc_perf.highest_perf = HWP_HIGHEST_PERF(READ_ONCE(all_cpu_data[cpu]->hwp_cap_cached)); in intel_pstate_set_itmt_prio()
378 sched_set_itmt_core_prio(cppc_perf.highest_perf, cpu); in intel_pstate_set_itmt_prio()
381 if (cppc_perf.highest_perf > max_highest_perf) in intel_pstate_set_itmt_prio()
382 max_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
384 if (cppc_perf.highest_perf < min_highest_perf) in intel_pstate_set_itmt_prio()
385 min_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
401 struct cppc_perf_caps cppc_perf; in intel_pstate_get_cppc_guaranteed() local
404 ret = cppc_get_perf_caps(cpu, &cppc_perf); in intel_pstate_get_cppc_guaranteed()
408 if (cppc_perf.guaranteed_perf) in intel_pstate_get_cppc_guaranteed()
409 return cppc_perf.guaranteed_perf; in intel_pstate_get_cppc_guaranteed()
411 return cppc_perf.nominal_perf; in intel_pstate_get_cppc_guaranteed()
416 struct cppc_perf_caps cppc_perf; in intel_pstate_cppc_get_scaling() local
419 ret = cppc_get_perf_caps(cpu, &cppc_perf); in intel_pstate_cppc_get_scaling()
426 if (!ret && cppc_perf.nominal_perf && cppc_perf.nominal_freq && in intel_pstate_cppc_get_scaling()
427 cppc_perf.nominal_perf * 100 != cppc_perf.nominal_freq) in intel_pstate_cppc_get_scaling()