Lines Matching refs:perf_ctrls
259 struct cppc_perf_ctrls perf_ctrls; in amd_pstate_set_epp() local
275 perf_ctrls.energy_perf = epp; in amd_pstate_set_epp()
276 ret = cppc_set_epp_perf(cpudata->cpu, &perf_ctrls, 1); in amd_pstate_set_epp()
338 struct cppc_perf_ctrls perf_ctrls; in cppc_enable() local
351 perf_ctrls.desired_perf = 0; in cppc_enable()
352 ret = cppc_set_perf(cpu, &perf_ctrls); in cppc_enable()
434 struct cppc_perf_ctrls perf_ctrls; in cppc_update_perf() local
436 perf_ctrls.max_perf = max_perf; in cppc_update_perf()
437 perf_ctrls.min_perf = min_perf; in cppc_update_perf()
438 perf_ctrls.desired_perf = des_perf; in cppc_update_perf()
440 cppc_set_perf(cpudata->cpu, &perf_ctrls); in cppc_update_perf()
668 struct cppc_perf_ctrls perf_ctrls; in amd_pstate_cpu_boost_update() local
686 perf_ctrls.max_perf = on ? highest_perf : nominal_perf; in amd_pstate_cpu_boost_update()
687 ret = cppc_set_perf(cpudata->cpu, &perf_ctrls); in amd_pstate_cpu_boost_update()
1604 struct cppc_perf_ctrls perf_ctrls; in amd_pstate_epp_reenable() local
1618 perf_ctrls.max_perf = max_perf; in amd_pstate_epp_reenable()
1619 perf_ctrls.energy_perf = AMD_CPPC_ENERGY_PERF_PREF(cpudata->epp_cached); in amd_pstate_epp_reenable()
1620 cppc_set_perf(cpudata->cpu, &perf_ctrls); in amd_pstate_epp_reenable()
1641 struct cppc_perf_ctrls perf_ctrls; in amd_pstate_epp_offline() local
1659 perf_ctrls.desired_perf = 0; in amd_pstate_epp_offline()
1660 perf_ctrls.max_perf = min_perf; in amd_pstate_epp_offline()
1661 perf_ctrls.energy_perf = AMD_CPPC_ENERGY_PERF_PREF(HWP_EPP_BALANCE_POWERSAVE); in amd_pstate_epp_offline()
1662 cppc_set_perf(cpudata->cpu, &perf_ctrls); in amd_pstate_epp_offline()