Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/sound/soc/rockchip/
Drockchip_i2s_tdm.c612 unsigned int div_lrck, in rockchip_i2s_trcm_mode() argument
630 I2S_CKR_TSD(div_lrck) | I2S_CKR_RSD(div_lrck)); in rockchip_i2s_trcm_mode()
654 unsigned int mclk_rate, bclk_rate, div_bclk = 4, div_lrck = 64; in rockchip_i2s_tdm_hw_params() local
680 div_lrck = bclk_rate / params_rate(params); in rockchip_i2s_tdm_hw_params()
721 rockchip_i2s_trcm_mode(substream, dai, div_bclk, div_lrck, val); in rockchip_i2s_tdm_hw_params()
728 I2S_CKR_TSD(div_lrck)); in rockchip_i2s_tdm_hw_params()
738 I2S_CKR_RSD(div_lrck)); in rockchip_i2s_tdm_hw_params()
Drockchip_i2s.c356 unsigned int mclk_rate, bclk_rate, div_bclk, div_lrck; in rockchip_i2s_hw_params() local
365 div_lrck = bclk_rate / params_rate(params); in rockchip_i2s_hw_params()
373 I2S_CKR_TSD(div_lrck) | in rockchip_i2s_hw_params()
374 I2S_CKR_RSD(div_lrck)); in rockchip_i2s_hw_params()