Lines Matching refs:max_perf

364 			       u32 des_perf, u32 max_perf, bool fast_switch)  in pstate_update_perf()  argument
375 u32 max_perf, bool fast_switch) in cppc_update_perf() argument
379 perf_ctrls.max_perf = max_perf; in cppc_update_perf()
390 u32 max_perf, bool fast_switch) in amd_pstate_update_perf() argument
393 max_perf, fast_switch); in amd_pstate_update_perf()
430 u32 des_perf, u32 max_perf, bool fast_switch, int gov_flags) in amd_pstate_update() argument
435 des_perf = clamp_t(unsigned long, des_perf, min_perf, max_perf); in amd_pstate_update()
449 value |= AMD_CPPC_MAX_PERF(max_perf); in amd_pstate_update()
452 trace_amd_pstate_perf(min_perf, des_perf, max_perf, cpudata->freq, in amd_pstate_update()
463 max_perf, fast_switch); in amd_pstate_update()
478 unsigned long max_perf, min_perf, des_perf, cap_perf; in amd_pstate_update_freq() local
485 max_perf = cap_perf; in amd_pstate_update_freq()
503 max_perf, fast_switch, policy->governor->flags); in amd_pstate_update_freq()
529 unsigned long max_perf, min_perf, des_perf, in amd_pstate_adjust_perf() local
550 max_perf = cap_perf; in amd_pstate_adjust_perf()
551 if (max_perf < min_perf) in amd_pstate_adjust_perf()
552 max_perf = min_perf; in amd_pstate_adjust_perf()
554 des_perf = clamp_t(unsigned long, des_perf, min_perf, max_perf); in amd_pstate_adjust_perf()
555 target_freq = div_u64(des_perf * max_freq, max_perf); in amd_pstate_adjust_perf()
558 amd_pstate_update(cpudata, min_perf, des_perf, max_perf, true, in amd_pstate_adjust_perf()
578 u32 max_perf, max_freq, nominal_freq, nominal_perf; in amd_get_max_freq() local
587 max_perf = READ_ONCE(cpudata->highest_perf); in amd_get_max_freq()
589 boost_ratio = div_u64(max_perf << SCHED_CAPACITY_SHIFT, in amd_get_max_freq()
1190 u32 max_perf, min_perf; in amd_pstate_epp_init() local
1194 max_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_epp_init()
1200 min_perf = max_perf; in amd_pstate_epp_init()
1207 value |= AMD_CPPC_MAX_PERF(max_perf); in amd_pstate_epp_init()
1263 u64 value, max_perf; in amd_pstate_epp_reenable() local
1271 max_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_epp_reenable()
1276 perf_ctrls.max_perf = max_perf; in amd_pstate_epp_reenable()
1318 perf_ctrls.max_perf = min_perf; in amd_pstate_epp_offline()