Lines Matching refs:max_pstate

138 	int	max_pstate;  member
518 pr_debug("CPU%d: HWP_CAP guaranteed = %d\n", cpu->cpu, cpu->pstate.max_pstate); in intel_pstate_hybrid_hwp_adjust()
524 cpu->pstate.max_freq = rounddown(cpu->pstate.max_pstate * scaling, in intel_pstate_hybrid_hwp_adjust()
548 cpu->pstate.max_pstate == cpu->pstate.turbo_pstate); in update_turbo_state()
888 cpu->pstate.max_pstate = HWP_GUARANTEED_PERF(cap); in __intel_pstate_get_hwp_cap()
898 cpu->pstate.max_freq = cpu->pstate.max_pstate * scaling; in intel_pstate_get_hwp_cap()
1192 no_turbo = cpu->pstate.max_pstate - cpu->pstate.min_pstate + 1; in show_turbo_pct()
1276 int pct = cpu->pstate.max_pstate * 100 / cpu->pstate.turbo_pstate; in store_no_turbo()
1745 if (pstate > cpudata->pstate.max_pstate) in atom_get_val()
1791 int_tofp(cpudata->pstate.max_pstate - in atom_get_vid()
1851 int max_pstate; in core_get_max_pstate() local
1856 max_pstate = (plat_info >> 8) & 0xFF; in core_get_max_pstate()
1860 return max_pstate; in core_get_max_pstate()
1874 max_pstate = tar_levels; in core_get_max_pstate()
1875 pr_debug("max_pstate=TAC %x\n", max_pstate); in core_get_max_pstate()
1879 return max_pstate; in core_get_max_pstate()
1995 cpu->pstate.max_pstate = pstate_funcs.get_max(cpu->cpu); in intel_pstate_get_cpu_pstates()
2001 cpu->pstate.max_freq = cpu->pstate.max_pstate * perf_ctl_scaling; in intel_pstate_get_cpu_pstates()
2200 cpu->pstate.max_pstate : cpu->pstate.turbo_pstate; in get_target_pstate()
2223 int max_pstate = max(min_pstate, cpu->max_perf_ratio); in intel_pstate_prepare_request() local
2225 return clamp_t(int, pstate, min_pstate, max_pstate); in intel_pstate_prepare_request()
2587 cpu->pstate.max_pstate_physical > cpu->pstate.max_pstate && in intel_pstate_adjust_policy_max()
2839 int max_pstate = policy->strict_target ? in intel_cpufreq_update_pstate() local
2842 intel_cpufreq_hwp_update(cpu, target_pstate, max_pstate, 0, in intel_cpufreq_update_pstate()
2915 int cap_pstate, min_pstate, max_pstate, target_pstate; in intel_cpufreq_adjust_perf() local
2937 max_pstate = min(cap_pstate, cpu->max_perf_ratio); in intel_cpufreq_adjust_perf()
2938 if (max_pstate < min_pstate) in intel_cpufreq_adjust_perf()
2939 max_pstate = min_pstate; in intel_cpufreq_adjust_perf()
2941 target_pstate = clamp_t(int, target_pstate, min_pstate, max_pstate); in intel_cpufreq_adjust_perf()
2943 intel_cpufreq_hwp_update(cpu, min_pstate, max_pstate, target_pstate, true); in intel_cpufreq_adjust_perf()