Lines Matching refs:max_perf
322 u32 des_perf, u32 max_perf, bool fast_switch) in pstate_update_perf() argument
333 u32 max_perf, bool fast_switch) in cppc_update_perf() argument
337 perf_ctrls.max_perf = max_perf; in cppc_update_perf()
348 u32 max_perf, bool fast_switch) in amd_pstate_update_perf() argument
351 max_perf, fast_switch); in amd_pstate_update_perf()
388 u32 des_perf, u32 max_perf, bool fast_switch) in amd_pstate_update() argument
393 des_perf = clamp_t(unsigned long, des_perf, min_perf, max_perf); in amd_pstate_update()
401 value |= AMD_CPPC_MAX_PERF(max_perf); in amd_pstate_update()
404 trace_amd_pstate_perf(min_perf, des_perf, max_perf, cpudata->freq, in amd_pstate_update()
415 max_perf, fast_switch); in amd_pstate_update()
431 unsigned long max_perf, min_perf, des_perf, cap_perf; in amd_pstate_target() local
438 max_perf = cap_perf; in amd_pstate_target()
448 max_perf, false); in amd_pstate_target()
459 unsigned long max_perf, min_perf, des_perf, in amd_pstate_adjust_perf() local
478 max_perf = cap_perf; in amd_pstate_adjust_perf()
479 if (max_perf < min_perf) in amd_pstate_adjust_perf()
480 max_perf = min_perf; in amd_pstate_adjust_perf()
482 amd_pstate_update(cpudata, min_perf, des_perf, max_perf, true); in amd_pstate_adjust_perf()
501 u32 max_perf, max_freq, nominal_freq, nominal_perf; in amd_get_max_freq() local
510 max_perf = READ_ONCE(cpudata->highest_perf); in amd_get_max_freq()
512 boost_ratio = div_u64(max_perf << SCHED_CAPACITY_SHIFT, in amd_get_max_freq()
1032 u32 max_perf, min_perf; in amd_pstate_epp_init() local
1036 max_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_epp_init()
1042 min_perf = max_perf; in amd_pstate_epp_init()
1049 value |= AMD_CPPC_MAX_PERF(max_perf); in amd_pstate_epp_init()
1105 u64 value, max_perf; in amd_pstate_epp_reenable() local
1113 max_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_epp_reenable()
1118 perf_ctrls.max_perf = max_perf; in amd_pstate_epp_reenable()
1160 perf_ctrls.max_perf = min_perf; in amd_pstate_epp_offline()