Lines Matching refs:max_perf

225 			   u8 des_perf, u8 max_perf, u8 epp, bool fast_switch)  in msr_update_perf()  argument
233 value |= FIELD_PREP(AMD_CPPC_MAX_PERF_MASK, max_perf); in msr_update_perf()
261 u8 max_perf, u8 epp, in amd_pstate_update_perf() argument
265 max_perf, epp, fast_switch); in amd_pstate_update_perf()
483 u8 des_perf, u8 max_perf, u8 epp, bool fast_switch) in shmem_update_perf() argument
494 perf_ctrls.max_perf = max_perf; in shmem_update_perf()
535 u8 des_perf, u8 max_perf, bool fast_switch, int gov_flags) in amd_pstate_update() argument
544 des_perf = clamp_t(u8, des_perf, min_perf, max_perf); in amd_pstate_update()
547 policy->cur = div_u64(des_perf * max_freq, max_perf); in amd_pstate_update()
556 max_perf = min_t(u8, nominal_perf, max_perf); in amd_pstate_update()
559 trace_amd_pstate_perf(min_perf, des_perf, max_perf, cpudata->freq, in amd_pstate_update()
564 amd_pstate_update_perf(cpudata, min_perf, des_perf, max_perf, 0, fast_switch); in amd_pstate_update()
597 u8 max_limit_perf, min_limit_perf, max_perf; in amd_pstate_update_min_max_limit() local
601 max_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_update_min_max_limit()
603 max_limit_perf = div_u64(policy->max * max_perf, max_freq); in amd_pstate_update_min_max_limit()
604 min_limit_perf = div_u64(policy->min * max_perf, max_freq); in amd_pstate_update_min_max_limit()
677 u8 max_perf, min_perf, des_perf, cap_perf, min_limit_perf; in amd_pstate_adjust_perf() local
704 max_perf = cpudata->max_limit_perf; in amd_pstate_adjust_perf()
705 if (max_perf < min_perf) in amd_pstate_adjust_perf()
706 max_perf = min_perf; in amd_pstate_adjust_perf()
708 des_perf = clamp_t(unsigned long, des_perf, min_perf, max_perf); in amd_pstate_adjust_perf()
710 amd_pstate_update(cpudata, min_perf, des_perf, max_perf, true, in amd_pstate_adjust_perf()
1606 u8 max_perf; in amd_pstate_epp_reenable() local
1613 max_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_epp_reenable()
1619 max_perf, policy->boost_enabled); in amd_pstate_epp_reenable()