Home
last modified time | relevance | path

Searched refs:best_diff (Results 1 – 2 of 2) sorted by relevance

/sound/core/
Dpcm_lib.c780 int best_diff; in snd_interval_ratnum() local
787 best_num = best_den = best_diff = 0; in snd_interval_ratnum()
810 diff * best_den < best_diff * den) { in snd_interval_ratnum()
811 best_diff = diff; in snd_interval_ratnum()
824 result_diff = best_diff; in snd_interval_ratnum()
826 best_num = best_den = best_diff = 0; in snd_interval_ratnum()
851 diff * best_den < best_diff * den) { in snd_interval_ratnum()
852 best_diff = diff; in snd_interval_ratnum()
869 if (best_diff * result_den < result_diff * best_den) { in snd_interval_ratnum()
898 unsigned int best_num, best_diff, best_den; in snd_interval_ratden() local
[all …]
/sound/soc/sunxi/
Dsun8i-codec.c279 unsigned int best_val = 0, best_diff = ~0; in sun8i_codec_get_bclk_div() local
286 if (diff < best_diff) { in sun8i_codec_get_bclk_div()
287 best_diff = diff; in sun8i_codec_get_bclk_div()