Lines Matching refs:perf_ctrls
181 struct cppc_perf_ctrls perf_ctrls; in amd_pstate_set_epp() local
194 perf_ctrls.energy_perf = epp; in amd_pstate_set_epp()
195 ret = cppc_set_epp_perf(cpudata->cpu, &perf_ctrls, 1); in amd_pstate_set_epp()
259 struct cppc_perf_ctrls perf_ctrls; in cppc_enable() local
272 perf_ctrls.desired_perf = 0; in cppc_enable()
273 ret = cppc_set_perf(cpu, &perf_ctrls); in cppc_enable()
378 struct cppc_perf_ctrls perf_ctrls; in cppc_update_perf() local
380 perf_ctrls.max_perf = max_perf; in cppc_update_perf()
381 perf_ctrls.min_perf = min_perf; in cppc_update_perf()
382 perf_ctrls.desired_perf = des_perf; in cppc_update_perf()
384 cppc_set_perf(cpudata->cpu, &perf_ctrls); in cppc_update_perf()
1309 struct cppc_perf_ctrls perf_ctrls; in amd_pstate_epp_reenable() local
1323 perf_ctrls.max_perf = max_perf; in amd_pstate_epp_reenable()
1324 perf_ctrls.energy_perf = AMD_CPPC_ENERGY_PERF_PREF(cpudata->epp_cached); in amd_pstate_epp_reenable()
1325 cppc_set_perf(cpudata->cpu, &perf_ctrls); in amd_pstate_epp_reenable()
1346 struct cppc_perf_ctrls perf_ctrls; in amd_pstate_epp_offline() local
1364 perf_ctrls.desired_perf = 0; in amd_pstate_epp_offline()
1365 perf_ctrls.max_perf = min_perf; in amd_pstate_epp_offline()
1366 perf_ctrls.energy_perf = AMD_CPPC_ENERGY_PERF_PREF(HWP_EPP_BALANCE_POWERSAVE); in amd_pstate_epp_offline()
1367 cppc_set_perf(cpudata->cpu, &perf_ctrls); in amd_pstate_epp_offline()