Lines Matching refs:new_freq
1810 int new_freq, adj, min, max; in rps_work() local
1831 new_freq = rps->cur_freq; in rps_work()
1840 adj, new_freq, min, max); in rps_work()
1842 if (client_boost && new_freq < rps->boost_freq) { in rps_work()
1843 new_freq = rps->boost_freq; in rps_work()
1851 if (new_freq >= rps->max_freq_softlimit) in rps_work()
1857 new_freq = rps->efficient_freq; in rps_work()
1859 new_freq = rps->min_freq_softlimit; in rps_work()
1867 if (new_freq <= rps->min_freq_softlimit) in rps_work()
1877 new_freq += adj; in rps_work()
1878 new_freq = clamp_t(int, new_freq, min, max); in rps_work()
1880 if (intel_rps_set(rps, new_freq)) { in rps_work()
1945 u8 new_freq; in gen5_rps_irq_handler() local
1960 new_freq = rps->cur_freq; in gen5_rps_irq_handler()
1962 new_freq++; in gen5_rps_irq_handler()
1964 new_freq--; in gen5_rps_irq_handler()
1965 new_freq = clamp(new_freq, in gen5_rps_irq_handler()
1969 if (new_freq != rps->cur_freq && !__gen5_rps_set(rps, new_freq)) in gen5_rps_irq_handler()
1970 rps->cur_freq = new_freq; in gen5_rps_irq_handler()