Home
last modified time | relevance | path

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

/linux-6.15/drivers/cpufreq/
H A Damd-pstate-ut.c116 struct cppc_perf_caps cppc_perf; in amd_pstate_ut_check_perf() local
129 ret = cppc_get_perf_caps(cpu, &cppc_perf); in amd_pstate_ut_check_perf()
135 highest_perf = cppc_perf.highest_perf; in amd_pstate_ut_check_perf()
136 nominal_perf = cppc_perf.nominal_perf; in amd_pstate_ut_check_perf()
137 lowest_nonlinear_perf = cppc_perf.lowest_nonlinear_perf; in amd_pstate_ut_check_perf()
138 lowest_perf = cppc_perf.lowest_perf; in amd_pstate_ut_check_perf()
H A Damd-pstate.c417 struct cppc_perf_caps cppc_perf; in shmem_init_perf() local
421 int ret = cppc_get_perf_caps(cpudata->cpu, &cppc_perf); in shmem_init_perf()
431 perf.min_limit_perf = cppc_perf.lowest_perf; in shmem_init_perf()
432 perf.nominal_perf = cppc_perf.nominal_perf; in shmem_init_perf()
433 perf.lowest_nonlinear_perf = cppc_perf.lowest_nonlinear_perf; in shmem_init_perf()
434 perf.lowest_perf = cppc_perf.lowest_perf; in shmem_init_perf()
441 ret = cppc_get_auto_sel_caps(cpudata->cpu, &cppc_perf); in shmem_init_perf()
884 struct cppc_perf_caps cppc_perf; in amd_pstate_init_freq() local
888 ret = cppc_get_perf_caps(cpudata->cpu, &cppc_perf); in amd_pstate_init_freq()
896 nominal_freq = cppc_perf.nominal_freq; in amd_pstate_init_freq()
[all …]
H A Dintel_pstate.c359 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()
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()
[all …]