Lines Matching refs:min_freq
119 step = (slpc->rp0_freq - slpc->min_freq) / NUM_STEPS; in vary_max_freq()
120 *max_act_freq = slpc->min_freq; in vary_max_freq()
121 for (max_freq = slpc->rp0_freq; max_freq > slpc->min_freq; in vary_max_freq()
150 u32 step, min_freq, req_freq; in vary_min_freq() local
155 step = (slpc->rp0_freq - slpc->min_freq) / NUM_STEPS; in vary_min_freq()
156 *max_act_freq = slpc->min_freq; in vary_min_freq()
157 for (min_freq = slpc->min_freq; min_freq < slpc->rp0_freq; in vary_min_freq()
158 min_freq += step) { in vary_min_freq()
159 err = slpc_set_min_freq(slpc, min_freq); in vary_min_freq()
166 if (req_freq < (min_freq - FREQUENCY_REQ_UNIT)) { in vary_min_freq()
168 min_freq - FREQUENCY_REQ_UNIT); in vary_min_freq()
200 min.freq = slpc->min_freq; in slpc_power()
230 slpc_set_min_freq(slpc, slpc->min_freq); in slpc_power()
277 if (slpc->min_freq == slpc->rp0_freq) { in run_test()
299 err = slpc_set_min_freq(slpc, slpc->min_freq); in run_test()
379 if (max_act_freq <= slpc->min_freq) { in run_test()