Lines Matching refs:osr_rate
858 unsigned long osr_rate, in pcm512x_pllin_dac_rate() argument
868 if (pllin_rate % osr_rate) in pcm512x_pllin_dac_rate()
872 for (dac_rate = rounddown(pcm512x_dac_max(pcm512x, 6144000), osr_rate); in pcm512x_pllin_dac_rate()
874 dac_rate -= osr_rate) { in pcm512x_pllin_dac_rate()
882 dac_rate -= osr_rate; in pcm512x_pllin_dac_rate()
900 unsigned long osr_rate; in pcm512x_set_dividers() local
1001 osr_rate = 16 * sample_rate; in pcm512x_set_dividers()
1006 dac_rate = pcm512x_pllin_dac_rate(dai, osr_rate, pllin_rate); in pcm512x_set_dividers()
1036 / osr_rate; in pcm512x_set_dividers()
1037 unsigned long sck_mul = sck_rate / osr_rate; in pcm512x_set_dividers()
1048 dac_rate = dac_mul * osr_rate; in pcm512x_set_dividers()
1063 osr_div = DIV_ROUND_CLOSEST(dac_rate, osr_rate); in pcm512x_set_dividers()