Lines Matching refs:max_pstate
122 * @max_pstate: Max P state possible for this platform
124 * This can be higher than the max_pstate which can
130 * @max_freq: @max_pstate frequency in cpufreq units
138 int max_pstate;
536 return cpu->pstate.max_pstate;
575 pr_debug("CPU%d: HWP_CAP guaranteed = %d\n", cpu->cpu, cpu->pstate.max_pstate);
581 cpu->pstate.max_freq = rounddown(cpu->pstate.max_pstate * scaling,
605 cpu->pstate.max_pstate == cpu->pstate.turbo_pstate);
947 cpu->pstate.max_pstate = HWP_GUARANTEED_PERF(cap);
957 cpu->pstate.max_freq = cpu->pstate.max_pstate * scaling;
1251 no_turbo = cpu->pstate.max_pstate - cpu->pstate.min_pstate + 1;
1335 int pct = cpu->pstate.max_pstate * 100 / cpu->pstate.turbo_pstate;
1807 if (pstate > cpudata->pstate.max_pstate)
1853 int_tofp(cpudata->pstate.max_pstate -
1913 int max_pstate;
1918 max_pstate = (plat_info >> 8) & 0xFF;
1922 return max_pstate;
1936 max_pstate = tar_levels;
1937 pr_debug("max_pstate=TAC %x\n", max_pstate);
1941 return max_pstate;
2064 cpu->pstate.max_pstate = pstate_funcs.get_max(cpu->cpu);
2070 cpu->pstate.max_freq = cpu->pstate.max_pstate * perf_ctl_scaling;
2269 cpu->pstate.max_pstate : cpu->pstate.turbo_pstate;
2292 int max_pstate = max(min_pstate, cpu->max_perf_ratio);
2294 return clamp_t(int, pstate, min_pstate, max_pstate);
2651 cpu->pstate.max_pstate_physical > cpu->pstate.max_pstate &&
2903 int max_pstate = policy->strict_target ?
2906 intel_cpufreq_hwp_update(cpu, target_pstate, max_pstate, 0,
2968 int cap_pstate, min_pstate, max_pstate, target_pstate;
2993 max_pstate = min(cap_pstate, cpu->max_perf_ratio);
2994 if (max_pstate < min_pstate)
2995 max_pstate = min_pstate;
2997 target_pstate = clamp_t(int, target_pstate, min_pstate, max_pstate);
2999 intel_cpufreq_hwp_update(cpu, min_pstate, max_pstate, target_pstate, true);