Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/cpufreq/
Damd-pstate.c120 struct cppc_perf_caps cppc_perf; in cppc_init_perf() local
123 int ret = cppc_get_perf_caps(cpudata->cpu, &cppc_perf); in cppc_init_perf()
128 if (highest_perf > cppc_perf.highest_perf) in cppc_init_perf()
129 highest_perf = cppc_perf.highest_perf; in cppc_init_perf()
133 WRITE_ONCE(cpudata->nominal_perf, cppc_perf.nominal_perf); in cppc_init_perf()
135 cppc_perf.lowest_nonlinear_perf); in cppc_init_perf()
136 WRITE_ONCE(cpudata->lowest_perf, cppc_perf.lowest_perf); in cppc_init_perf()
314 struct cppc_perf_caps cppc_perf; in amd_get_min_freq() local
316 int ret = cppc_get_perf_caps(cpudata->cpu, &cppc_perf); in amd_get_min_freq()
321 return cppc_perf.lowest_freq * 1000; in amd_get_min_freq()
[all …]
Damd-pstate-ut.c144 struct cppc_perf_caps cppc_perf; in amd_pstate_ut_check_perf() local
157 ret = cppc_get_perf_caps(cpu, &cppc_perf); in amd_pstate_ut_check_perf()
164 nominal_perf = cppc_perf.nominal_perf; in amd_pstate_ut_check_perf()
165 lowest_nonlinear_perf = cppc_perf.lowest_nonlinear_perf; in amd_pstate_ut_check_perf()
166 lowest_perf = cppc_perf.lowest_perf; in amd_pstate_ut_check_perf()
Dintel_pstate.c346 struct cppc_perf_caps cppc_perf; in intel_pstate_set_itmt_prio() local
350 ret = cppc_get_perf_caps(cpu, &cppc_perf); in intel_pstate_set_itmt_prio()
359 if (cppc_perf.highest_perf == CPPC_MAX_PERF) in intel_pstate_set_itmt_prio()
360 cppc_perf.highest_perf = HWP_HIGHEST_PERF(READ_ONCE(all_cpu_data[cpu]->hwp_cap_cached)); in intel_pstate_set_itmt_prio()
367 sched_set_itmt_core_prio(cppc_perf.highest_perf, cpu); in intel_pstate_set_itmt_prio()
370 if (cppc_perf.highest_perf > max_highest_perf) in intel_pstate_set_itmt_prio()
371 max_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
373 if (cppc_perf.highest_perf < min_highest_perf) in intel_pstate_set_itmt_prio()
374 min_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
390 struct cppc_perf_caps cppc_perf; in intel_pstate_get_cppc_guaranteed() local
[all …]