Home
last modified time | relevance | path

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

/linux-6.14.4/drivers/cpufreq/
Damd-pstate-ut.c129 struct cppc_perf_caps cppc_perf; in amd_pstate_ut_check_perf() local
140 ret = cppc_get_perf_caps(cpu, &cppc_perf); in amd_pstate_ut_check_perf()
147 highest_perf = cppc_perf.highest_perf; in amd_pstate_ut_check_perf()
148 nominal_perf = cppc_perf.nominal_perf; in amd_pstate_ut_check_perf()
149 lowest_nonlinear_perf = cppc_perf.lowest_nonlinear_perf; in amd_pstate_ut_check_perf()
150 lowest_perf = cppc_perf.lowest_perf; in amd_pstate_ut_check_perf()
Damd-pstate.c437 struct cppc_perf_caps cppc_perf; in shmem_init_perf() local
440 int ret = cppc_get_perf_caps(cpudata->cpu, &cppc_perf); in shmem_init_perf()
450 WRITE_ONCE(cpudata->nominal_perf, cppc_perf.nominal_perf); in shmem_init_perf()
452 cppc_perf.lowest_nonlinear_perf); in shmem_init_perf()
453 WRITE_ONCE(cpudata->lowest_perf, cppc_perf.lowest_perf); in shmem_init_perf()
454 WRITE_ONCE(cpudata->prefcore_ranking, cppc_perf.highest_perf); in shmem_init_perf()
455 WRITE_ONCE(cpudata->min_limit_perf, cppc_perf.lowest_perf); in shmem_init_perf()
460 ret = cppc_get_auto_sel_caps(cpudata->cpu, &cppc_perf); in shmem_init_perf()
915 struct cppc_perf_caps cppc_perf; in amd_pstate_init_freq() local
917 ret = cppc_get_perf_caps(cpudata->cpu, &cppc_perf); in amd_pstate_init_freq()
[all …]
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()
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
[all …]