Home
last modified time | relevance | path

Searched refs:div_lrck (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/sound/soc/codecs/
Dpcm186x.c270 unsigned int div_lrck; in pcm186x_hw_params() local
312 div_lrck = width * channels; in pcm186x_hw_params()
334 div_lrck = 256; in pcm186x_hw_params()
344 div_bck = priv->sysclk / (div_lrck * rate); in pcm186x_hw_params()
348 __func__, priv->sysclk, div_bck, div_lrck); in pcm186x_hw_params()
351 snd_soc_component_write(component, PCM186X_LRK_DIV, div_lrck - 1); in pcm186x_hw_params()
/Linux-v6.6/sound/soc/rockchip/
Drockchip_i2s_tdm.c817 unsigned int div_lrck, in rockchip_i2s_trcm_mode() argument
835 I2S_CKR_TSD(div_lrck) | I2S_CKR_RSD(div_lrck)); in rockchip_i2s_trcm_mode()
861 unsigned int mclk_rate, bclk_rate, div_bclk = 4, div_lrck = 64; in rockchip_i2s_tdm_hw_params() local
878 div_lrck = bclk_rate / params_rate(params); in rockchip_i2s_tdm_hw_params()
919 rockchip_i2s_trcm_mode(substream, dai, div_bclk, div_lrck, val); in rockchip_i2s_tdm_hw_params()
926 I2S_CKR_TSD(div_lrck)); in rockchip_i2s_tdm_hw_params()
936 I2S_CKR_RSD(div_lrck)); in rockchip_i2s_tdm_hw_params()
Drockchip_i2s.c357 unsigned int mclk_rate, bclk_rate, div_bclk, div_lrck; in rockchip_i2s_hw_params() local
366 div_lrck = bclk_rate / params_rate(params); in rockchip_i2s_hw_params()
374 I2S_CKR_TSD(div_lrck) | in rockchip_i2s_hw_params()
375 I2S_CKR_RSD(div_lrck)); in rockchip_i2s_hw_params()