Lines Matching refs:sck_rate
707 unsigned long sck_rate; in pcm512x_find_sck() local
719 sck_rate = rounddown(pcm512x_pll_max(pcm512x), in pcm512x_find_sck()
721 if (sck_rate >= 16000000) in pcm512x_find_sck()
729 dev_dbg(dev, "sck_rate %lu\n", sck_rate); in pcm512x_find_sck()
730 return sck_rate; in pcm512x_find_sck()
893 unsigned long sck_rate; in pcm512x_set_dividers() local
923 sck_rate = clk_get_rate(pcm512x->sclk); in pcm512x_set_dividers()
925 bclk_div = DIV_ROUND_CLOSEST(sck_rate, bclk_rate); in pcm512x_set_dividers()
927 mck_rate = sck_rate; in pcm512x_set_dividers()
942 sck_rate = pcm512x_find_sck(dai, bclk_rate); in pcm512x_set_dividers()
943 if (!sck_rate) in pcm512x_set_dividers()
945 pll_rate = 4 * sck_rate; in pcm512x_set_dividers()
988 bclk_div = DIV_ROUND_CLOSEST(sck_rate, bclk_rate); in pcm512x_set_dividers()
997 sample_rate = sck_rate / bclk_div / lrclk_div; in pcm512x_set_dividers()
1034 unsigned long sck_mul = sck_rate / osr_rate; in pcm512x_set_dividers()
1057 dacsrc_rate = sck_rate; in pcm512x_set_dividers()