Home
last modified time | relevance | path

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

/Linux-v6.6/sound/soc/loongson/
Dloongson_i2s.c70 u32 bclk_ratio, mclk_ratio; in loongson_i2s_hw_params() local
78 mclk_ratio = DIV_ROUND_CLOSEST(clk_rate, (sysclk * 2)) - 1; in loongson_i2s_hw_params()
84 val |= mclk_ratio; in loongson_i2s_hw_params()
91 mclk_ratio = clk_rate / sysclk; in loongson_i2s_hw_params()
93 sysclk) - (mclk_ratio << 16); in loongson_i2s_hw_params()
104 val = (mclk_ratio_frac << 16) | mclk_ratio; in loongson_i2s_hw_params()
/Linux-v6.6/sound/soc/stm/
Dstm32_sai_sub.c991 int sai_clk_rate, mclk_ratio, den; in stm32_sai_configure_clock() local
1036 mclk_ratio = sai->mclk_rate / rate; in stm32_sai_configure_clock()
1037 if (mclk_ratio == 512) { in stm32_sai_configure_clock()
1039 } else if (mclk_ratio != 256) { in stm32_sai_configure_clock()
1042 mclk_ratio); in stm32_sai_configure_clock()
/Linux-v6.6/sound/soc/codecs/
Dcs42l56.c51 u8 mclk_ratio; member