Lines Matching defs:min_perf
364 static void pstate_update_perf(struct amd_cpudata *cpudata, u32 min_perf,
375 u32 min_perf, u32 des_perf,
381 perf_ctrls.min_perf = min_perf;
390 u32 min_perf, u32 des_perf,
393 static_call(amd_pstate_update_perf)(cpudata, min_perf, des_perf,
430 static void amd_pstate_update(struct amd_cpudata *cpudata, u32 min_perf,
436 min_perf = clamp_t(unsigned long, min_perf, cpudata->min_limit_perf,
440 des_perf = clamp_t(unsigned long, des_perf, min_perf, max_perf);
443 min_perf = des_perf;
448 value |= AMD_CPPC_MIN_PERF(min_perf);
457 trace_amd_pstate_perf(min_perf, des_perf, max_perf, cpudata->freq,
467 amd_pstate_update_perf(cpudata, min_perf, des_perf,
499 unsigned long max_perf, min_perf, des_perf, cap_perf;
508 min_perf = READ_ONCE(cpudata->lowest_perf);
526 amd_pstate_update(cpudata, min_perf, des_perf,
555 unsigned long max_perf, min_perf, des_perf,
573 min_perf = READ_ONCE(cpudata->lowest_perf);
575 min_perf = DIV_ROUND_UP(cap_perf * _min_perf, capacity);
577 if (min_perf < lowest_nonlinear_perf)
578 min_perf = lowest_nonlinear_perf;
581 if (max_perf < min_perf)
582 max_perf = min_perf;
584 des_perf = clamp_t(unsigned long, des_perf, min_perf, max_perf);
588 amd_pstate_update(cpudata, min_perf, des_perf, max_perf, true,
1226 u32 max_perf, min_perf, min_limit_perf, max_limit_perf;
1231 min_perf = READ_ONCE(cpudata->lowest_perf);
1240 min_perf = clamp_t(unsigned long, min_perf, cpudata->min_limit_perf,
1245 min_perf = max_perf;
1249 value |= AMD_CPPC_MIN_PERF(min_perf);
1340 int min_perf;
1343 min_perf = READ_ONCE(cpudata->lowest_perf);
1352 value |= AMD_CPPC_MAX_PERF(min_perf);
1354 value |= AMD_CPPC_MIN_PERF(min_perf);
1358 perf_ctrls.max_perf = min_perf;