Searched refs:prev_rate (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/clk/spear/ |
D | clk.c | 20 unsigned long prev_rate, rate = 0; in clk_round_rate_index() local 23 prev_rate = rate; in clk_round_rate_index() 28 rate = prev_rate; in clk_round_rate_index()
|
D | clk-vco-pll.c | 88 unsigned long prev_rate, vco_prev_rate, rate = 0; in clk_pll_round_rate_index() local 98 prev_rate = rate; in clk_pll_round_rate_index() 105 rate = prev_rate; in clk_pll_round_rate_index()
|
/Linux-v5.4/drivers/clk/mmp/ |
D | clk-frac.c | 31 unsigned long rate = 0, prev_rate; in clk_factor_round_rate() local 35 prev_rate = rate; in clk_factor_round_rate() 44 if ((drate - prev_rate) > (rate - drate)) in clk_factor_round_rate() 47 return prev_rate; in clk_factor_round_rate()
|
/Linux-v5.4/sound/usb/ |
D | clock.c | 495 int err, cur_rate, prev_rate; in set_sample_rate_v2v3() local 519 prev_rate = get_sample_rate_v2v3(chip, iface, fmt->altsetting, clock); in set_sample_rate_v2v3() 520 if (prev_rate == rate) in set_sample_rate_v2v3() 554 cur_rate = prev_rate; in set_sample_rate_v2v3() 571 if (rate != prev_rate) { in set_sample_rate_v2v3()
|
/Linux-v5.4/drivers/cpufreq/ |
D | arm_big_little.c | 133 u32 new_rate, prev_rate; in bL_cpufreq_set_rate() local 140 prev_rate = per_cpu(cpu_last_req_freq, cpu); in bL_cpufreq_set_rate() 171 per_cpu(cpu_last_req_freq, cpu) = prev_rate; in bL_cpufreq_set_rate()
|
/Linux-v5.4/drivers/clk/tegra/ |
D | clk-dfll.c | 506 unsigned long rate, prev_rate; in get_dvco_rate_below() local 510 for (rate = 0, prev_rate = 0; ; rate++) { in get_dvco_rate_below() 519 return prev_rate; in get_dvco_rate_below() 521 prev_rate = rate; in get_dvco_rate_below() 524 return prev_rate; in get_dvco_rate_below()
|