Lines Matching refs:new_freq
1831 int new_freq, adj, min, max; in rps_work() local
1852 new_freq = rps->cur_freq; in rps_work()
1861 adj, new_freq, min, max); in rps_work()
1863 if (client_boost && new_freq < rps->boost_freq) { in rps_work()
1864 new_freq = rps->boost_freq; in rps_work()
1872 if (new_freq >= rps->max_freq_softlimit) in rps_work()
1878 new_freq = rps->efficient_freq; in rps_work()
1880 new_freq = rps->min_freq_softlimit; in rps_work()
1888 if (new_freq <= rps->min_freq_softlimit) in rps_work()
1898 new_freq += adj; in rps_work()
1899 new_freq = clamp_t(int, new_freq, min, max); in rps_work()
1901 if (intel_rps_set(rps, new_freq)) { in rps_work()
1966 u8 new_freq; in gen5_rps_irq_handler() local
1981 new_freq = rps->cur_freq; in gen5_rps_irq_handler()
1983 new_freq++; in gen5_rps_irq_handler()
1985 new_freq--; in gen5_rps_irq_handler()
1986 new_freq = clamp(new_freq, in gen5_rps_irq_handler()
1990 if (new_freq != rps->cur_freq && !__gen5_rps_set(rps, new_freq)) in gen5_rps_irq_handler()
1991 rps->cur_freq = new_freq; in gen5_rps_irq_handler()