Lines Matching refs:cppc_perf
354 struct cppc_perf_caps cppc_perf; in intel_pstate_set_itmt_prio() local
358 ret = cppc_get_perf_caps(cpu, &cppc_perf); in intel_pstate_set_itmt_prio()
367 if (cppc_perf.highest_perf == CPPC_MAX_PERF) in intel_pstate_set_itmt_prio()
368 cppc_perf.highest_perf = HWP_HIGHEST_PERF(READ_ONCE(all_cpu_data[cpu]->hwp_cap_cached)); in intel_pstate_set_itmt_prio()
375 sched_set_itmt_core_prio(cppc_perf.highest_perf, cpu); in intel_pstate_set_itmt_prio()
378 if (cppc_perf.highest_perf > max_highest_perf) in intel_pstate_set_itmt_prio()
379 max_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
381 if (cppc_perf.highest_perf < min_highest_perf) in intel_pstate_set_itmt_prio()
382 min_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
398 struct cppc_perf_caps cppc_perf; in intel_pstate_get_cppc_guaranteed() local
401 ret = cppc_get_perf_caps(cpu, &cppc_perf); in intel_pstate_get_cppc_guaranteed()
405 if (cppc_perf.guaranteed_perf) in intel_pstate_get_cppc_guaranteed()
406 return cppc_perf.guaranteed_perf; in intel_pstate_get_cppc_guaranteed()
408 return cppc_perf.nominal_perf; in intel_pstate_get_cppc_guaranteed()
413 struct cppc_perf_caps cppc_perf; in intel_pstate_cppc_get_scaling() local
416 ret = cppc_get_perf_caps(cpu, &cppc_perf); in intel_pstate_cppc_get_scaling()
423 if (!ret && cppc_perf.nominal_perf && cppc_perf.nominal_freq && in intel_pstate_cppc_get_scaling()
424 cppc_perf.nominal_perf * 100 != cppc_perf.nominal_freq) in intel_pstate_cppc_get_scaling()