Home
last modified time | relevance | path

Searched refs:max_pstate (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/acpi/
Dprocessor_thermal.c231 int max_pstate; in processor_set_cur_state() local
240 max_pstate = cpufreq_get_max_state(pr->id); in processor_set_cur_state()
245 if (state <= max_pstate) { in processor_set_cur_state()
250 cpufreq_set_cur_state(pr->id, max_pstate); in processor_set_cur_state()
252 state - max_pstate, false); in processor_set_cur_state()
/Linux-v5.15/drivers/cpufreq/
Dintel_pstate.c136 int max_pstate; member
529 pr_debug("CPU%d: HWP_CAP guaranteed = %d\n", cpu->cpu, cpu->pstate.max_pstate); in intel_pstate_hybrid_hwp_adjust()
549 cpu->pstate.max_freq = rounddown(cpu->pstate.max_pstate * scaling, in intel_pstate_hybrid_hwp_adjust()
573 cpu->pstate.max_pstate == cpu->pstate.turbo_pstate); in update_turbo_state()
903 cpu->pstate.max_pstate = HWP_GUARANTEED_PERF(cap); in __intel_pstate_get_hwp_cap()
913 cpu->pstate.max_freq = cpu->pstate.max_pstate * scaling; in intel_pstate_get_hwp_cap()
1184 no_turbo = cpu->pstate.max_pstate - cpu->pstate.min_pstate + 1; in show_turbo_pct()
1268 int pct = cpu->pstate.max_pstate * 100 / cpu->pstate.turbo_pstate; in store_no_turbo()
1601 if (pstate > cpudata->pstate.max_pstate) in atom_get_val()
1647 int_tofp(cpudata->pstate.max_pstate - in atom_get_vid()
[all …]