Home
last modified time | relevance | path

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

/sound/soc/codecs/
Dpcm512x.c653 unsigned long sck_rate; in pcm512x_find_sck() local
665 sck_rate = rounddown(pcm512x_pll_max(pcm512x), in pcm512x_find_sck()
667 if (sck_rate >= 16000000) in pcm512x_find_sck()
675 dev_dbg(dev, "sck_rate %lu\n", sck_rate); in pcm512x_find_sck()
676 return sck_rate; in pcm512x_find_sck()
839 unsigned long sck_rate; in pcm512x_set_dividers() local
864 sck_rate = clk_get_rate(pcm512x->sclk); in pcm512x_set_dividers()
866 bclk_rate = DIV_ROUND_CLOSEST(sck_rate, bclk_div); in pcm512x_set_dividers()
868 mck_rate = sck_rate; in pcm512x_set_dividers()
883 sck_rate = pcm512x_find_sck(dai, bclk_rate); in pcm512x_set_dividers()
[all …]
/sound/soc/fsl/
Dfsl_esai.c63 u32 sck_rate[2]; member
320 if (esai_priv->slave_mode || esai_priv->sck_rate[tx] == freq) in fsl_esai_set_bclk()
349 esai_priv->sck_rate[tx] = freq; in fsl_esai_set_bclk()