Lines Matching full:mclk
170 /* MCLK Divider Source Select */ in skl_get_ssp_clks()
173 clk_src = get_clk_src(i2s_config->mclk, in skl_get_ssp_clks()
176 clk_src = get_clk_src(i2s_config_ext->mclk, in skl_get_ssp_clks()
204 static void skl_get_mclk(struct skl_dev *skl, struct skl_ssp_clk *mclk, in skl_get_mclk() argument
217 /* MCLK Divider Source Select and divider */ in skl_get_mclk()
220 clk_src = get_clk_src(i2s_config->mclk, in skl_get_mclk()
222 clkdiv = i2s_config->mclk.mdivr & in skl_get_mclk()
225 clk_src = get_clk_src(i2s_config_ext->mclk, in skl_get_mclk()
227 clkdiv = i2s_config_ext->mclk.mdivr[0] & in skl_get_mclk()
238 /* Calculate MCLK rate from source using div value */ in skl_get_mclk()
243 mclk[id].rate_cfg[0].rate = parent->rate/div_ratio; in skl_get_mclk()
244 mclk[id].rate_cfg[0].config = fmt_cfg; in skl_get_mclk()
245 mclk[id].parent_name = parent->name; in skl_get_mclk()