Lines Matching refs:max_perf
149 u32 des_perf, u32 max_perf, bool fast_switch) in pstate_update_perf() argument
160 u32 max_perf, bool fast_switch) in cppc_update_perf() argument
164 perf_ctrls.max_perf = max_perf; in cppc_update_perf()
175 u32 max_perf, bool fast_switch) in amd_pstate_update_perf() argument
178 max_perf, fast_switch); in amd_pstate_update_perf()
215 u32 des_perf, u32 max_perf, bool fast_switch) in amd_pstate_update() argument
220 des_perf = clamp_t(unsigned long, des_perf, min_perf, max_perf); in amd_pstate_update()
228 value |= AMD_CPPC_MAX_PERF(max_perf); in amd_pstate_update()
231 trace_amd_pstate_perf(min_perf, des_perf, max_perf, cpudata->freq, in amd_pstate_update()
242 max_perf, fast_switch); in amd_pstate_update()
258 unsigned long max_perf, min_perf, des_perf, cap_perf; in amd_pstate_target() local
265 max_perf = cap_perf; in amd_pstate_target()
275 max_perf, false); in amd_pstate_target()
286 unsigned long max_perf, min_perf, des_perf, in amd_pstate_adjust_perf() local
305 max_perf = cap_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()
328 u32 max_perf, max_freq, nominal_freq, nominal_perf; in amd_get_max_freq() local
337 max_perf = READ_ONCE(cpudata->highest_perf); in amd_get_max_freq()
339 boost_ratio = div_u64(max_perf << SCHED_CAPACITY_SHIFT, in amd_get_max_freq()