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.c363 struct cppc_perf_caps cppc_perf; in cppc_init_perf() local
366 int ret = cppc_get_perf_caps(cpudata->cpu, &cppc_perf); in cppc_init_perf()
373 highest_perf = cppc_perf.highest_perf; in cppc_init_perf()
377 WRITE_ONCE(cpudata->nominal_perf, cppc_perf.nominal_perf); in cppc_init_perf()
379 cppc_perf.lowest_nonlinear_perf); in cppc_init_perf()
380 WRITE_ONCE(cpudata->lowest_perf, cppc_perf.lowest_perf); in cppc_init_perf()
381 WRITE_ONCE(cpudata->min_limit_perf, cppc_perf.lowest_perf); in cppc_init_perf()
386 ret = cppc_get_auto_sel_caps(cpudata->cpu, &cppc_perf); in cppc_init_perf()
624 struct cppc_perf_caps cppc_perf; in amd_get_min_freq() local
626 int ret = cppc_get_perf_caps(cpudata->cpu, &cppc_perf); in amd_get_min_freq()
[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()
366 if (ret || cppc_perf.highest_perf == CPPC_MAX_PERF) in intel_pstate_set_itmt_prio()
367 cppc_perf.highest_perf = HWP_HIGHEST_PERF(READ_ONCE(all_cpu_data[cpu]->hwp_cap_cached)); in intel_pstate_set_itmt_prio()
374 sched_set_itmt_core_prio(cppc_perf.highest_perf, cpu); in intel_pstate_set_itmt_prio()
377 if (cppc_perf.highest_perf > max_highest_perf) in intel_pstate_set_itmt_prio()
378 max_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
380 if (cppc_perf.highest_perf < min_highest_perf) in intel_pstate_set_itmt_prio()
381 min_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
397 struct cppc_perf_caps cppc_perf; in intel_pstate_get_cppc_guaranteed() local
[all …]