Lines Matching refs:cppc_perf
345 struct cppc_perf_caps cppc_perf; in intel_pstate_set_itmt_prio() local
349 ret = cppc_get_perf_caps(cpu, &cppc_perf); in intel_pstate_set_itmt_prio()
358 if (cppc_perf.highest_perf == CPPC_MAX_PERF) in intel_pstate_set_itmt_prio()
359 cppc_perf.highest_perf = HWP_HIGHEST_PERF(READ_ONCE(all_cpu_data[cpu]->hwp_cap_cached)); in intel_pstate_set_itmt_prio()
366 sched_set_itmt_core_prio(cppc_perf.highest_perf, cpu); in intel_pstate_set_itmt_prio()
369 if (cppc_perf.highest_perf > max_highest_perf) in intel_pstate_set_itmt_prio()
370 max_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
372 if (cppc_perf.highest_perf < min_highest_perf) in intel_pstate_set_itmt_prio()
373 min_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
389 struct cppc_perf_caps cppc_perf; in intel_pstate_get_cppc_guaranteed() local
392 ret = cppc_get_perf_caps(cpu, &cppc_perf); in intel_pstate_get_cppc_guaranteed()
396 if (cppc_perf.guaranteed_perf) in intel_pstate_get_cppc_guaranteed()
397 return cppc_perf.guaranteed_perf; in intel_pstate_get_cppc_guaranteed()
399 return cppc_perf.nominal_perf; in intel_pstate_get_cppc_guaranteed()