Lines Matching refs:cpudata
131 struct amd_cpudata *cpudata = NULL; in amd_pstate_ut_check_perf() local
137 cpudata = policy->driver_data; in amd_pstate_ut_check_perf()
165 if (highest_perf != READ_ONCE(cpudata->highest_perf) && !cpudata->hw_prefcore) { in amd_pstate_ut_check_perf()
167 __func__, cpu, highest_perf, cpudata->highest_perf); in amd_pstate_ut_check_perf()
170 if ((nominal_perf != READ_ONCE(cpudata->nominal_perf)) || in amd_pstate_ut_check_perf()
171 (lowest_nonlinear_perf != READ_ONCE(cpudata->lowest_nonlinear_perf)) || in amd_pstate_ut_check_perf()
172 (lowest_perf != READ_ONCE(cpudata->lowest_perf))) { in amd_pstate_ut_check_perf()
175 __func__, cpu, nominal_perf, cpudata->nominal_perf, in amd_pstate_ut_check_perf()
176 lowest_nonlinear_perf, cpudata->lowest_nonlinear_perf, in amd_pstate_ut_check_perf()
177 lowest_perf, cpudata->lowest_perf); in amd_pstate_ut_check_perf()
209 struct amd_cpudata *cpudata = NULL; in amd_pstate_ut_check_freq() local
216 cpudata = policy->driver_data; in amd_pstate_ut_check_freq()
218 nominal_freq_khz = cpudata->nominal_freq*1000; in amd_pstate_ut_check_freq()
219 if (!((cpudata->max_freq >= nominal_freq_khz) && in amd_pstate_ut_check_freq()
220 (nominal_freq_khz > cpudata->lowest_nonlinear_freq) && in amd_pstate_ut_check_freq()
221 (cpudata->lowest_nonlinear_freq > cpudata->min_freq) && in amd_pstate_ut_check_freq()
222 (cpudata->min_freq > 0))) { in amd_pstate_ut_check_freq()
225 __func__, cpu, cpudata->max_freq, nominal_freq_khz, in amd_pstate_ut_check_freq()
226 cpudata->lowest_nonlinear_freq, cpudata->min_freq); in amd_pstate_ut_check_freq()
230 if (cpudata->lowest_nonlinear_freq != policy->min) { in amd_pstate_ut_check_freq()
233 __func__, cpu, cpudata->lowest_nonlinear_freq, policy->min); in amd_pstate_ut_check_freq()
237 if (cpudata->boost_supported) { in amd_pstate_ut_check_freq()
238 if ((policy->max == cpudata->max_freq) || in amd_pstate_ut_check_freq()
244 __func__, cpu, policy->max, cpudata->max_freq, in amd_pstate_ut_check_freq()