Searched refs:prev_rate (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/clk/spear/ |
H A 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()
|
H A 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/drivers/clk/mmp/ |
H A D | clk-frac.c | 28 u64 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/sound/usb/ |
H A D | clock.c | 596 int cur_rate, prev_rate; in set_sample_rate_v2v3() 621 prev_rate = get_sample_rate_v2v3(chip, fmt->iface, fmt->altsetting, clock); in set_sample_rate_v2v3() 622 if (prev_rate == rate) in set_sample_rate_v2v3() 634 cur_rate = prev_rate; in set_sample_rate_v2v3() 646 bool prev_base_48k = (prev_rate % 48000 == 0); in snd_usb_init_sample_rate() 574 int cur_rate, prev_rate; set_sample_rate_v2v3() local
|
/linux/drivers/clk/tegra/ |
H A 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()
|