Lines Matching refs:target_pstate
2285 int target_pstate; in intel_pstate_adjust_pstate() local
2289 target_pstate = get_target_pstate(cpu); in intel_pstate_adjust_pstate()
2290 target_pstate = intel_pstate_prepare_request(cpu, target_pstate); in intel_pstate_adjust_pstate()
2291 trace_cpu_frequency(target_pstate * cpu->pstate.scaling, cpu->cpu); in intel_pstate_adjust_pstate()
2292 intel_pstate_update_pstate(cpu, target_pstate); in intel_pstate_adjust_pstate()
2861 u32 target_pstate, bool fast_switch) in intel_cpufreq_perf_ctl_update() argument
2865 pstate_funcs.get_val(cpu, target_pstate)); in intel_cpufreq_perf_ctl_update()
2868 pstate_funcs.get_val(cpu, target_pstate)); in intel_cpufreq_perf_ctl_update()
2872 int target_pstate, bool fast_switch) in intel_cpufreq_update_pstate() argument
2877 target_pstate = intel_pstate_prepare_request(cpu, target_pstate); in intel_cpufreq_update_pstate()
2880 target_pstate : cpu->max_perf_ratio; in intel_cpufreq_update_pstate()
2882 intel_cpufreq_hwp_update(cpu, target_pstate, max_pstate, 0, in intel_cpufreq_update_pstate()
2884 } else if (target_pstate != old_pstate) { in intel_cpufreq_update_pstate()
2885 intel_cpufreq_perf_ctl_update(cpu, target_pstate, fast_switch); in intel_cpufreq_update_pstate()
2888 cpu->pstate.current_pstate = target_pstate; in intel_cpufreq_update_pstate()
2893 return target_pstate; in intel_cpufreq_update_pstate()
2902 int target_pstate; in intel_cpufreq_target() local
2913 target_pstate = DIV_ROUND_UP(freqs.new, cpu->pstate.scaling); in intel_cpufreq_target()
2916 target_pstate = freqs.new / cpu->pstate.scaling; in intel_cpufreq_target()
2919 target_pstate = DIV_ROUND_CLOSEST(freqs.new, cpu->pstate.scaling); in intel_cpufreq_target()
2923 target_pstate = intel_cpufreq_update_pstate(policy, target_pstate, false); in intel_cpufreq_target()
2925 freqs.new = target_pstate * cpu->pstate.scaling; in intel_cpufreq_target()
2936 int target_pstate; in intel_cpufreq_fast_switch() local
2940 target_pstate = DIV_ROUND_UP(target_freq, cpu->pstate.scaling); in intel_cpufreq_fast_switch()
2942 target_pstate = intel_cpufreq_update_pstate(policy, target_pstate, true); in intel_cpufreq_fast_switch()
2944 return target_pstate * cpu->pstate.scaling; in intel_cpufreq_fast_switch()
2955 int cap_pstate, min_pstate, max_pstate, target_pstate; in intel_cpufreq_adjust_perf() local
2963 target_pstate = cap_pstate; in intel_cpufreq_adjust_perf()
2965 target_pstate = DIV_ROUND_UP(cap_pstate * target_perf, capacity); in intel_cpufreq_adjust_perf()
2981 target_pstate = clamp_t(int, target_pstate, min_pstate, max_pstate); in intel_cpufreq_adjust_perf()
2983 intel_cpufreq_hwp_update(cpu, min_pstate, max_pstate, target_pstate, true); in intel_cpufreq_adjust_perf()
2985 cpu->pstate.current_pstate = target_pstate; in intel_cpufreq_adjust_perf()