Lines Matching refs:cpudata
146 struct amd_cpudata *cpudata = NULL; in amd_pstate_ut_check_perf() local
154 cpudata = policy->driver_data; in amd_pstate_ut_check_perf()
180 if ((highest_perf != READ_ONCE(cpudata->highest_perf)) || in amd_pstate_ut_check_perf()
181 (nominal_perf != READ_ONCE(cpudata->nominal_perf)) || in amd_pstate_ut_check_perf()
182 (lowest_nonlinear_perf != READ_ONCE(cpudata->lowest_nonlinear_perf)) || in amd_pstate_ut_check_perf()
183 (lowest_perf != READ_ONCE(cpudata->lowest_perf))) { in amd_pstate_ut_check_perf()
186 __func__, cpu, highest_perf, cpudata->highest_perf, in amd_pstate_ut_check_perf()
187 nominal_perf, cpudata->nominal_perf, in amd_pstate_ut_check_perf()
188 lowest_nonlinear_perf, cpudata->lowest_nonlinear_perf, in amd_pstate_ut_check_perf()
189 lowest_perf, cpudata->lowest_perf); in amd_pstate_ut_check_perf()
217 struct amd_cpudata *cpudata = NULL; in amd_pstate_ut_check_freq() local
223 cpudata = policy->driver_data; in amd_pstate_ut_check_freq()
225 if (!((cpudata->max_freq >= cpudata->nominal_freq) && in amd_pstate_ut_check_freq()
226 (cpudata->nominal_freq > cpudata->lowest_nonlinear_freq) && in amd_pstate_ut_check_freq()
227 (cpudata->lowest_nonlinear_freq > cpudata->min_freq) && in amd_pstate_ut_check_freq()
228 (cpudata->min_freq > 0))) { in amd_pstate_ut_check_freq()
231 __func__, cpu, cpudata->max_freq, cpudata->nominal_freq, in amd_pstate_ut_check_freq()
232 cpudata->lowest_nonlinear_freq, cpudata->min_freq); in amd_pstate_ut_check_freq()
236 if (cpudata->min_freq != policy->min) { in amd_pstate_ut_check_freq()
239 __func__, cpu, cpudata->min_freq, policy->min); in amd_pstate_ut_check_freq()
243 if (cpudata->boost_supported) { in amd_pstate_ut_check_freq()
244 if ((policy->max == cpudata->max_freq) || in amd_pstate_ut_check_freq()
245 (policy->max == cpudata->nominal_freq)) in amd_pstate_ut_check_freq()
250 __func__, cpu, policy->max, cpudata->max_freq, in amd_pstate_ut_check_freq()
251 cpudata->nominal_freq); in amd_pstate_ut_check_freq()