Lines Matching full:mclk
35 struct clk *mclk; member
71 clk_disable_unprepare(spdif->mclk); in rk_spdif_runtime_suspend()
82 ret = clk_prepare_enable(spdif->mclk); in rk_spdif_runtime_resume()
84 dev_err(spdif->dev, "mclk clock enable failed %d\n", ret); in rk_spdif_runtime_resume()
90 clk_disable_unprepare(spdif->mclk); in rk_spdif_runtime_resume()
100 clk_disable_unprepare(spdif->mclk); in rk_spdif_runtime_resume()
113 int srate, mclk; in rk_spdif_hw_params() local
117 mclk = srate * 128; in rk_spdif_hw_params()
134 ret = clk_set_rate(spdif->mclk, mclk); in rk_spdif_hw_params()
317 spdif->mclk = devm_clk_get(&pdev->dev, "mclk"); in rk_spdif_probe()
318 if (IS_ERR(spdif->mclk)) in rk_spdif_probe()
319 return PTR_ERR(spdif->mclk); in rk_spdif_probe()