Lines Matching full:mclk
229 u32 mclk; member
237 /* codec mclk clock divider coefficients */
302 static inline int get_coeff(int mclk, int rate) in get_coeff() argument
307 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff()
371 if (wm8731->mclk && clk_set_rate(wm8731->mclk, freq)) in wm8731_set_dai_sysclk()
473 if (wm8731->mclk) { in wm8731_set_bias_level()
474 ret = clk_prepare_enable(wm8731->mclk); in wm8731_set_bias_level()
496 if (wm8731->mclk) in wm8731_set_bias_level()
497 clk_disable_unprepare(wm8731->mclk); in wm8731_set_bias_level()
570 wm8731->mclk = devm_clk_get(dev, "mclk"); in wm8731_init()
571 if (IS_ERR(wm8731->mclk)) { in wm8731_init()
572 ret = PTR_ERR(wm8731->mclk); in wm8731_init()
574 wm8731->mclk = NULL; in wm8731_init()
575 dev_warn(dev, "Assuming static MCLK\n"); in wm8731_init()
577 dev_err(dev, "Failed to get MCLK: %d\n", ret); in wm8731_init()