Searched refs:cur_perf (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/cpufreq/ |
| H A D | amd-pstate-ut.c | 150 union perf_cached cur_perf; in amd_pstate_ut_check_perf() local 185 cur_perf = READ_ONCE(cpudata->perf); in amd_pstate_ut_check_perf() 186 if (highest_perf != cur_perf.highest_perf && !cpudata->hw_prefcore) { in amd_pstate_ut_check_perf() 188 __func__, cpu, highest_perf, cur_perf.highest_perf); in amd_pstate_ut_check_perf() 191 if (nominal_perf != cur_perf.nominal_perf || in amd_pstate_ut_check_perf() 192 (lowest_nonlinear_perf != cur_perf.lowest_nonlinear_perf) || in amd_pstate_ut_check_perf() 193 (lowest_perf != cur_perf.lowest_perf)) { in amd_pstate_ut_check_perf() 195 __func__, cpu, nominal_perf, cur_perf.nominal_perf, in amd_pstate_ut_check_perf() 196 lowest_nonlinear_perf, cur_perf.lowest_nonlinear_perf, in amd_pstate_ut_check_perf() 197 lowest_perf, cur_perf.lowest_perf); in amd_pstate_ut_check_perf()
|
| H A D | amd-pstate.c | 2110 int cur_perf = freq_to_perf(perf, cpudata->nominal_freq, policy->cur); in amd_pstate_resume() local 2115 ret = amd_pstate_update_perf(policy, perf.min_limit_perf, cur_perf, perf.max_limit_perf, in amd_pstate_resume()
|