Lines Matching refs:min_perf
148 static void pstate_update_perf(struct amd_cpudata *cpudata, u32 min_perf, in pstate_update_perf() argument
159 u32 min_perf, u32 des_perf, in cppc_update_perf() argument
165 perf_ctrls.min_perf = min_perf; in cppc_update_perf()
174 u32 min_perf, u32 des_perf, in amd_pstate_update_perf() argument
177 static_call(amd_pstate_update_perf)(cpudata, min_perf, des_perf, in amd_pstate_update_perf()
214 static void amd_pstate_update(struct amd_cpudata *cpudata, u32 min_perf, in amd_pstate_update() argument
220 des_perf = clamp_t(unsigned long, des_perf, min_perf, max_perf); in amd_pstate_update()
222 value |= AMD_CPPC_MIN_PERF(min_perf); in amd_pstate_update()
231 trace_amd_pstate_perf(min_perf, des_perf, max_perf, cpudata->freq, in amd_pstate_update()
241 amd_pstate_update_perf(cpudata, min_perf, des_perf, in amd_pstate_update()
258 unsigned long max_perf, min_perf, des_perf, cap_perf; in amd_pstate_target() local
264 min_perf = READ_ONCE(cpudata->lowest_perf); in amd_pstate_target()
274 amd_pstate_update(cpudata, min_perf, des_perf, in amd_pstate_target()
286 unsigned long max_perf, min_perf, des_perf, in amd_pstate_adjust_perf() local
298 min_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_adjust_perf()
300 min_perf = DIV_ROUND_UP(cap_perf * _min_perf, capacity); in amd_pstate_adjust_perf()
302 if (min_perf < lowest_nonlinear_perf) in amd_pstate_adjust_perf()
303 min_perf = lowest_nonlinear_perf; in amd_pstate_adjust_perf()
306 if (max_perf < min_perf) in amd_pstate_adjust_perf()
307 max_perf = min_perf; in amd_pstate_adjust_perf()
309 amd_pstate_update(cpudata, min_perf, des_perf, max_perf, true); in amd_pstate_adjust_perf()