Searched refs:div_bclk (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/sound/soc/rockchip/ |
H A D | rockchip_i2s_tdm.c | 613 unsigned int div_bclk, in rockchip_i2s_trcm_mode() argument 629 I2S_CLKDIV_TXM(div_bclk) | I2S_CLKDIV_RXM(div_bclk)); in rockchip_i2s_trcm_mode() 656 unsigned int mclk_rate, bclk_rate, div_bclk = 4, div_lrck = 64; in rockchip_i2s_tdm_hw_params() local 681 div_bclk = DIV_ROUND_CLOSEST(mclk_rate, bclk_rate); in rockchip_i2s_tdm_hw_params() 723 rockchip_i2s_trcm_mode(substream, dai, div_bclk, div_lrck, val); in rockchip_i2s_tdm_hw_params() 727 I2S_CLKDIV_TXM(div_bclk)); in rockchip_i2s_tdm_hw_params() 737 I2S_CLKDIV_RXM(div_bclk)); in rockchip_i2s_tdm_hw_params()
|
H A D | rockchip_i2s.c | 357 unsigned int mclk_rate, bclk_rate, div_bclk, div_lrck; in rockchip_i2s_hw_params() local 365 div_bclk = DIV_ROUND_CLOSEST(mclk_rate, bclk_rate); in rockchip_i2s_hw_params() 369 I2S_CKR_MDIV(div_bclk)); in rockchip_i2s_hw_params()
|