Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/cpufreq/
Damd-pstate.c258 unsigned long max_perf, min_perf, des_perf, cap_perf; in amd_pstate_target() local
263 cap_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_target()
265 max_perf = cap_perf; in amd_pstate_target()
270 des_perf = DIV_ROUND_CLOSEST(target_freq * cap_perf, in amd_pstate_target()
287 cap_perf, lowest_nonlinear_perf; in amd_pstate_adjust_perf() local
291 cap_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_adjust_perf()
294 des_perf = cap_perf; in amd_pstate_adjust_perf()
296 des_perf = DIV_ROUND_UP(cap_perf * target_perf, capacity); in amd_pstate_adjust_perf()
300 min_perf = DIV_ROUND_UP(cap_perf * _min_perf, capacity); in amd_pstate_adjust_perf()
305 max_perf = cap_perf; in amd_pstate_adjust_perf()