Searched refs:prev_rate (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/clk/spear/ |
D | clk.c | 17 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()
|
D | clk-vco-pll.c | 85 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-6.6.21/drivers/clk/mmp/ |
D | clk-frac.c | 28 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-6.6.21/sound/usb/ |
D | clock.c | 536 int cur_rate, prev_rate; in set_sample_rate_v2v3() local 561 prev_rate = get_sample_rate_v2v3(chip, fmt->iface, fmt->altsetting, clock); in set_sample_rate_v2v3() 562 if (prev_rate == rate) in set_sample_rate_v2v3() 574 cur_rate = prev_rate; in set_sample_rate_v2v3() 586 bool prev_base_48k = (prev_rate % 48000 == 0); in set_sample_rate_v2v3()
|
/linux-6.6.21/drivers/cpufreq/ |
D | vexpress-spc-cpufreq.c | 110 u32 new_rate, prev_rate; in ve_spc_cpufreq_set_rate() local 117 prev_rate = per_cpu(cpu_last_req_freq, cpu); in ve_spc_cpufreq_set_rate() 143 per_cpu(cpu_last_req_freq, cpu) = prev_rate; in ve_spc_cpufreq_set_rate()
|
/linux-6.6.21/drivers/clk/tegra/ |
D | clk-dfll.c | 507 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()
|