Lines Matching refs:sck_rate
710 unsigned long sck_rate; in pcm512x_find_sck() local
722 sck_rate = rounddown(pcm512x_pll_max(pcm512x), in pcm512x_find_sck()
724 if (sck_rate >= 16000000) in pcm512x_find_sck()
732 dev_dbg(dev, "sck_rate %lu\n", sck_rate); in pcm512x_find_sck()
733 return sck_rate; in pcm512x_find_sck()
896 unsigned long sck_rate; in pcm512x_set_dividers() local
926 sck_rate = clk_get_rate(pcm512x->sclk); in pcm512x_set_dividers()
928 bclk_div = DIV_ROUND_CLOSEST(sck_rate, bclk_rate); in pcm512x_set_dividers()
930 mck_rate = sck_rate; in pcm512x_set_dividers()
945 sck_rate = pcm512x_find_sck(dai, bclk_rate); in pcm512x_set_dividers()
946 if (!sck_rate) in pcm512x_set_dividers()
948 pll_rate = 4 * sck_rate; in pcm512x_set_dividers()
991 bclk_div = DIV_ROUND_CLOSEST(sck_rate, bclk_rate); in pcm512x_set_dividers()
1000 sample_rate = sck_rate / bclk_div / lrclk_div; in pcm512x_set_dividers()
1037 unsigned long sck_mul = sck_rate / osr_rate; in pcm512x_set_dividers()
1060 dacsrc_rate = sck_rate; in pcm512x_set_dividers()