Lines Matching refs:target_pstate
1677 int target_pstate; in intel_pstate_adjust_pstate() local
1681 target_pstate = get_target_pstate(cpu); in intel_pstate_adjust_pstate()
1682 target_pstate = intel_pstate_prepare_request(cpu, target_pstate); in intel_pstate_adjust_pstate()
1683 trace_cpu_frequency(target_pstate * cpu->pstate.scaling, cpu->cpu); in intel_pstate_adjust_pstate()
1684 intel_pstate_update_pstate(cpu, target_pstate); in intel_pstate_adjust_pstate()
2188 int target_pstate, old_pstate; in intel_cpufreq_target() local
2198 target_pstate = DIV_ROUND_UP(freqs.new, cpu->pstate.scaling); in intel_cpufreq_target()
2201 target_pstate = freqs.new / cpu->pstate.scaling; in intel_cpufreq_target()
2204 target_pstate = DIV_ROUND_CLOSEST(freqs.new, cpu->pstate.scaling); in intel_cpufreq_target()
2207 target_pstate = intel_pstate_prepare_request(cpu, target_pstate); in intel_cpufreq_target()
2209 if (target_pstate != cpu->pstate.current_pstate) { in intel_cpufreq_target()
2210 cpu->pstate.current_pstate = target_pstate; in intel_cpufreq_target()
2212 pstate_funcs.get_val(cpu, target_pstate)); in intel_cpufreq_target()
2214 freqs.new = target_pstate * cpu->pstate.scaling; in intel_cpufreq_target()
2225 int target_pstate, old_pstate; in intel_cpufreq_fast_switch() local
2229 target_pstate = DIV_ROUND_UP(target_freq, cpu->pstate.scaling); in intel_cpufreq_fast_switch()
2230 target_pstate = intel_pstate_prepare_request(cpu, target_pstate); in intel_cpufreq_fast_switch()
2232 intel_pstate_update_pstate(cpu, target_pstate); in intel_cpufreq_fast_switch()
2234 return target_pstate * cpu->pstate.scaling; in intel_cpufreq_fast_switch()