Home
last modified time | relevance | path

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

/linux-6.6.21/sound/soc/rockchip/
Drockchip_i2s_tdm.c609 unsigned int mclk_parent_freq; in rockchip_i2s_tdm_calibrate_mclk() local
631 mclk_parent_freq = DEFAULT_MCLK_FS * 192000; in rockchip_i2s_tdm_calibrate_mclk()
641 mclk_parent_freq = DEFAULT_MCLK_FS * 176400; in rockchip_i2s_tdm_calibrate_mclk()
658 delta = abs(mclk_root_freq % mclk_parent_freq - mclk_parent_freq); in rockchip_i2s_tdm_calibrate_mclk()
662 div = DIV_ROUND_CLOSEST(mclk_root_initial_freq, mclk_parent_freq); in rockchip_i2s_tdm_calibrate_mclk()
666 mclk_root_freq = mclk_parent_freq * round_up(div, 2); in rockchip_i2s_tdm_calibrate_mclk()
676 return clk_set_rate(mclk_parent, mclk_parent_freq); in rockchip_i2s_tdm_calibrate_mclk()