Lines Matching refs:target_pstate
1967 int target_pstate;
1971 target_pstate = get_target_pstate(cpu);
1972 target_pstate = intel_pstate_prepare_request(cpu, target_pstate);
1973 trace_cpu_frequency(target_pstate * cpu->pstate.scaling, cpu->cpu);
1974 intel_pstate_update_pstate(cpu, target_pstate);
2528 static void intel_cpufreq_adjust_hwp(struct cpudata *cpu, u32 target_pstate,
2534 value |= HWP_MIN_PERF(target_pstate);
2541 value |= HWP_MAX_PERF(strict ? target_pstate : cpu->max_perf_ratio);
2554 u32 target_pstate, bool fast_switch)
2558 pstate_funcs.get_val(cpu, target_pstate));
2561 pstate_funcs.get_val(cpu, target_pstate));
2565 int target_pstate, bool fast_switch)
2570 target_pstate = intel_pstate_prepare_request(cpu, target_pstate);
2572 intel_cpufreq_adjust_hwp(cpu, target_pstate,
2574 cpu->pstate.current_pstate = target_pstate;
2575 } else if (target_pstate != old_pstate) {
2576 intel_cpufreq_adjust_perf_ctl(cpu, target_pstate, fast_switch);
2577 cpu->pstate.current_pstate = target_pstate;
2583 return target_pstate;
2592 int target_pstate;
2603 target_pstate = DIV_ROUND_UP(freqs.new, cpu->pstate.scaling);
2606 target_pstate = freqs.new / cpu->pstate.scaling;
2609 target_pstate = DIV_ROUND_CLOSEST(freqs.new, cpu->pstate.scaling);
2613 target_pstate = intel_cpufreq_update_pstate(policy, target_pstate, false);
2615 freqs.new = target_pstate * cpu->pstate.scaling;
2626 int target_pstate;
2630 target_pstate = DIV_ROUND_UP(target_freq, cpu->pstate.scaling);
2632 target_pstate = intel_cpufreq_update_pstate(policy, target_pstate, true);
2634 return target_pstate * cpu->pstate.scaling;