Home
last modified time | relevance | path

Searched refs:prev_rate (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/drivers/clk/spear/
Dclk.c17 unsigned long prev_rate, rate = 0; in clk_round_rate_index() local
20 prev_rate = rate; in clk_round_rate_index()
25 rate = prev_rate; in clk_round_rate_index()
Dclk-vco-pll.c85 unsigned long prev_rate, vco_prev_rate, rate = 0; in clk_pll_round_rate_index() local
95 prev_rate = rate; in clk_pll_round_rate_index()
102 rate = prev_rate; in clk_pll_round_rate_index()
/Linux-v6.1/drivers/clk/mmp/
Dclk-frac.c28 u64 rate = 0, prev_rate; in clk_factor_round_rate() local
32 prev_rate = rate; in clk_factor_round_rate()
43 if ((drate - prev_rate) > (rate - drate)) in clk_factor_round_rate()
46 return prev_rate; in clk_factor_round_rate()
/Linux-v6.1/sound/usb/
Dclock.c528 int cur_rate, prev_rate; in set_sample_rate_v2v3() local
553 prev_rate = get_sample_rate_v2v3(chip, fmt->iface, fmt->altsetting, clock); in set_sample_rate_v2v3()
554 if (prev_rate == rate) in set_sample_rate_v2v3()
566 cur_rate = prev_rate; in set_sample_rate_v2v3()
578 bool prev_base_48k = (prev_rate % 48000 == 0); in set_sample_rate_v2v3()
/Linux-v6.1/drivers/cpufreq/
Dvexpress-spc-cpufreq.c111 u32 new_rate, prev_rate; in ve_spc_cpufreq_set_rate() local
118 prev_rate = per_cpu(cpu_last_req_freq, cpu); in ve_spc_cpufreq_set_rate()
144 per_cpu(cpu_last_req_freq, cpu) = prev_rate; in ve_spc_cpufreq_set_rate()
/Linux-v6.1/drivers/clk/tegra/
Dclk-dfll.c507 unsigned long rate, prev_rate; in get_dvco_rate_below() local
511 for (rate = 0, prev_rate = 0; ; rate++) { in get_dvco_rate_below()
520 return prev_rate; in get_dvco_rate_below()
522 prev_rate = rate; in get_dvco_rate_below()
525 return prev_rate; in get_dvco_rate_below()