Lines Matching full:mclk
36 struct clk *mclk; member
72 clk_disable_unprepare(spdif->mclk); in rk_spdif_runtime_suspend()
83 ret = clk_prepare_enable(spdif->mclk); in rk_spdif_runtime_resume()
85 dev_err(spdif->dev, "mclk clock enable failed %d\n", ret); in rk_spdif_runtime_resume()
91 clk_disable_unprepare(spdif->mclk); in rk_spdif_runtime_resume()
101 clk_disable_unprepare(spdif->mclk); in rk_spdif_runtime_resume()
114 int srate, mclk; in rk_spdif_hw_params() local
118 mclk = srate * 128; in rk_spdif_hw_params()
135 ret = clk_set_rate(spdif->mclk, mclk); in rk_spdif_hw_params()
318 spdif->mclk = devm_clk_get(&pdev->dev, "mclk"); in rk_spdif_probe()
319 if (IS_ERR(spdif->mclk)) in rk_spdif_probe()
320 return PTR_ERR(spdif->mclk); in rk_spdif_probe()