Lines Matching refs:sck_rate
709 unsigned long sck_rate; in pcm512x_find_sck() local
721 sck_rate = rounddown(pcm512x_pll_max(pcm512x), in pcm512x_find_sck()
723 if (sck_rate >= 16000000) in pcm512x_find_sck()
731 dev_dbg(dev, "sck_rate %lu\n", sck_rate); in pcm512x_find_sck()
732 return sck_rate; in pcm512x_find_sck()
895 unsigned long sck_rate; in pcm512x_set_dividers() local
925 sck_rate = clk_get_rate(pcm512x->sclk); in pcm512x_set_dividers()
927 bclk_div = DIV_ROUND_CLOSEST(sck_rate, bclk_rate); in pcm512x_set_dividers()
929 mck_rate = sck_rate; in pcm512x_set_dividers()
944 sck_rate = pcm512x_find_sck(dai, bclk_rate); in pcm512x_set_dividers()
945 if (!sck_rate) in pcm512x_set_dividers()
947 pll_rate = 4 * sck_rate; in pcm512x_set_dividers()
990 bclk_div = DIV_ROUND_CLOSEST(sck_rate, bclk_rate); in pcm512x_set_dividers()
999 sample_rate = sck_rate / bclk_div / lrclk_div; in pcm512x_set_dividers()
1036 unsigned long sck_mul = sck_rate / osr_rate; in pcm512x_set_dividers()
1059 dacsrc_rate = sck_rate; in pcm512x_set_dividers()