Home
last modified time | relevance | path

Searched refs:cppc_perf (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/cpufreq/
H A Damd-pstate-ut.c126 struct cppc_perf_caps cppc_perf; in amd_pstate_ut_check_perf() local
137 ret = cppc_get_perf_caps(cpu, &cppc_perf); in amd_pstate_ut_check_perf()
144 highest_perf = cppc_perf.highest_perf; in amd_pstate_ut_check_perf()
145 nominal_perf = cppc_perf.nominal_perf; in amd_pstate_ut_check_perf()
146 lowest_nonlinear_perf = cppc_perf.lowest_nonlinear_perf; in amd_pstate_ut_check_perf()
147 lowest_perf = cppc_perf.lowest_perf; in amd_pstate_ut_check_perf()
H A Damd-pstate.c320 struct cppc_perf_caps cppc_perf; in cppc_init_perf() local
329 highest_perf = cppc_perf.highest_perf; in cppc_init_perf()
335 cppc_perf.lowest_nonlinear_perf); in cppc_init_perf()
595 struct cppc_perf_caps cppc_perf; in amd_get_min_freq() local
602 return cppc_perf.lowest_freq * 1000; in amd_get_min_freq()
607 struct cppc_perf_caps cppc_perf; in amd_get_max_freq() local
615 nominal_freq = cppc_perf.nominal_freq; in amd_get_max_freq()
630 struct cppc_perf_caps cppc_perf; in amd_get_nominal_freq() local
637 return cppc_perf.nominal_freq * 1000; in amd_get_nominal_freq()
642 struct cppc_perf_caps cppc_perf; in amd_get_lowest_nonlinear_freq() local
[all …]
H A Dintel_pstate.c354 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()
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()
[all …]