Lines Matching refs:mclk
49 struct clk *mclk; member
252 u32 mclk; member
325 static inline int get_coeff(int mclk, int rate) in get_coeff() argument
330 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff()
391 if (wm8731->mclk && clk_set_rate(wm8731->mclk, freq)) in wm8731_set_dai_sysclk()
494 if (wm8731->mclk) { in wm8731_set_bias_level()
495 ret = clk_prepare_enable(wm8731->mclk); in wm8731_set_bias_level()
517 if (wm8731->mclk) in wm8731_set_bias_level()
518 clk_disable_unprepare(wm8731->mclk); in wm8731_set_bias_level()
669 wm8731->mclk = devm_clk_get(&spi->dev, "mclk"); in wm8731_spi_probe()
670 if (IS_ERR(wm8731->mclk)) { in wm8731_spi_probe()
671 ret = PTR_ERR(wm8731->mclk); in wm8731_spi_probe()
673 wm8731->mclk = NULL; in wm8731_spi_probe()
740 wm8731->mclk = devm_clk_get(&i2c->dev, "mclk"); in wm8731_i2c_probe()
741 if (IS_ERR(wm8731->mclk)) { in wm8731_i2c_probe()
742 ret = PTR_ERR(wm8731->mclk); in wm8731_i2c_probe()
744 wm8731->mclk = NULL; in wm8731_i2c_probe()