Lines Matching refs:target_pstate
2533 int target_pstate; in intel_pstate_adjust_pstate() local
2535 target_pstate = get_target_pstate(cpu); in intel_pstate_adjust_pstate()
2536 target_pstate = intel_pstate_prepare_request(cpu, target_pstate); in intel_pstate_adjust_pstate()
2537 trace_cpu_frequency(target_pstate * cpu->pstate.scaling, cpu->cpu); in intel_pstate_adjust_pstate()
2538 intel_pstate_update_pstate(cpu, target_pstate); in intel_pstate_adjust_pstate()
3112 u32 target_pstate, bool fast_switch) in intel_cpufreq_perf_ctl_update() argument
3116 pstate_funcs.get_val(cpu, target_pstate)); in intel_cpufreq_perf_ctl_update()
3119 pstate_funcs.get_val(cpu, target_pstate)); in intel_cpufreq_perf_ctl_update()
3123 int target_pstate, bool fast_switch) in intel_cpufreq_update_pstate() argument
3128 target_pstate = intel_pstate_prepare_request(cpu, target_pstate); in intel_cpufreq_update_pstate()
3131 target_pstate : cpu->max_perf_ratio; in intel_cpufreq_update_pstate()
3133 intel_cpufreq_hwp_update(cpu, target_pstate, max_pstate, 0, in intel_cpufreq_update_pstate()
3135 } else if (target_pstate != old_pstate) { in intel_cpufreq_update_pstate()
3136 intel_cpufreq_perf_ctl_update(cpu, target_pstate, fast_switch); in intel_cpufreq_update_pstate()
3139 cpu->pstate.current_pstate = target_pstate; in intel_cpufreq_update_pstate()
3144 return target_pstate; in intel_cpufreq_update_pstate()
3153 int target_pstate; in intel_cpufreq_target() local
3160 target_pstate = intel_pstate_freq_to_hwp_rel(cpu, freqs.new, relation); in intel_cpufreq_target()
3161 target_pstate = intel_cpufreq_update_pstate(policy, target_pstate, false); in intel_cpufreq_target()
3163 freqs.new = target_pstate * cpu->pstate.scaling; in intel_cpufreq_target()
3174 int target_pstate; in intel_cpufreq_fast_switch() local
3176 target_pstate = intel_pstate_freq_to_hwp(cpu, target_freq); in intel_cpufreq_fast_switch()
3178 target_pstate = intel_cpufreq_update_pstate(policy, target_pstate, true); in intel_cpufreq_fast_switch()
3180 return target_pstate * cpu->pstate.scaling; in intel_cpufreq_fast_switch()
3191 int cap_pstate, min_pstate, max_pstate, target_pstate; in intel_cpufreq_adjust_perf() local
3199 target_pstate = cap_pstate; in intel_cpufreq_adjust_perf()
3201 target_pstate = DIV_ROUND_UP(cap_pstate * target_perf, capacity); in intel_cpufreq_adjust_perf()
3220 target_pstate = clamp_t(int, target_pstate, min_pstate, max_pstate); in intel_cpufreq_adjust_perf()
3222 intel_cpufreq_hwp_update(cpu, min_pstate, max_pstate, target_pstate, true); in intel_cpufreq_adjust_perf()
3224 cpu->pstate.current_pstate = target_pstate; in intel_cpufreq_adjust_perf()