Searched refs:mclk_ratio (Results 1 – 3 of 3) sorted by relevance
70 u32 bclk_ratio, mclk_ratio; in loongson_i2s_hw_params() local78 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()
991 int sai_clk_rate, mclk_ratio, den; in stm32_sai_configure_clock() local1036 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()
51 u8 mclk_ratio; member