Searched refs:div_bclk (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/sound/soc/codecs/ |
D | es8311.c | 613 unsigned int div_bclk = div_lrclk / (2 * width); in es8311_hw_params() local 616 if (div_bclk <= ES8311_BCLK_DIV_IDX_OFFSET) { in es8311_hw_params() 617 clkmgr = div_bclk - 1; in es8311_hw_params() 622 if (es8311_bclk_divs[i] == div_bclk) in es8311_hw_params() 628 div_bclk); in es8311_hw_params()
|
/linux-6.12.1/sound/soc/rockchip/ |
D | rockchip_i2s_tdm.c | 611 unsigned int div_bclk, in rockchip_i2s_trcm_mode() argument 627 I2S_CLKDIV_TXM(div_bclk) | I2S_CLKDIV_RXM(div_bclk)); 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 679 div_bclk = DIV_ROUND_CLOSEST(mclk_rate, bclk_rate); in rockchip_i2s_tdm_hw_params() 721 rockchip_i2s_trcm_mode(substream, dai, div_bclk, div_lrck, val); in rockchip_i2s_tdm_hw_params() 725 I2S_CLKDIV_TXM(div_bclk)); in rockchip_i2s_tdm_hw_params() 735 I2S_CLKDIV_RXM(div_bclk)); in rockchip_i2s_tdm_hw_params()
|
D | rockchip_i2s.c | 356 unsigned int mclk_rate, bclk_rate, div_bclk, div_lrck; in rockchip_i2s_hw_params() local 364 div_bclk = DIV_ROUND_CLOSEST(mclk_rate, bclk_rate); in rockchip_i2s_hw_params() 368 I2S_CKR_MDIV(div_bclk)); in rockchip_i2s_hw_params()
|