Lines Matching refs:cppc_perf

359 	struct cppc_perf_caps cppc_perf;  in intel_pstate_set_itmt_prio()  local
363 ret = cppc_get_perf_caps(cpu, &cppc_perf); in intel_pstate_set_itmt_prio()
371 if (ret || cppc_perf.highest_perf == CPPC_MAX_PERF) in intel_pstate_set_itmt_prio()
372 cppc_perf.highest_perf = HWP_HIGHEST_PERF(READ_ONCE(all_cpu_data[cpu]->hwp_cap_cached)); in intel_pstate_set_itmt_prio()
379 sched_set_itmt_core_prio(cppc_perf.highest_perf, cpu); in intel_pstate_set_itmt_prio()
382 if (cppc_perf.highest_perf > max_highest_perf) in intel_pstate_set_itmt_prio()
383 max_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
385 if (cppc_perf.highest_perf < min_highest_perf) in intel_pstate_set_itmt_prio()
386 min_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
402 struct cppc_perf_caps cppc_perf; in intel_pstate_get_cppc_guaranteed() local
405 ret = cppc_get_perf_caps(cpu, &cppc_perf); in intel_pstate_get_cppc_guaranteed()
409 if (cppc_perf.guaranteed_perf) in intel_pstate_get_cppc_guaranteed()
410 return cppc_perf.guaranteed_perf; in intel_pstate_get_cppc_guaranteed()
412 return cppc_perf.nominal_perf; in intel_pstate_get_cppc_guaranteed()
417 struct cppc_perf_caps cppc_perf; in intel_pstate_cppc_get_scaling() local
423 if (!cppc_get_perf_caps(cpu, &cppc_perf) && in intel_pstate_cppc_get_scaling()
424 cppc_perf.nominal_perf && cppc_perf.nominal_freq) in intel_pstate_cppc_get_scaling()
425 return div_u64(cppc_perf.nominal_freq * KHZ_PER_MHZ, in intel_pstate_cppc_get_scaling()
426 cppc_perf.nominal_perf); in intel_pstate_cppc_get_scaling()