Lines Matching full:mclk
25 struct clk *mclk; member
36 if (drvdata->mclk) in evm_startup()
37 return clk_prepare_enable(drvdata->mclk); in evm_startup()
49 clk_disable_unprepare(drvdata->mclk); in evm_shutdown()
180 struct clk *mclk; in davinci_evm_probe() local
206 mclk = devm_clk_get(&pdev->dev, "mclk"); in davinci_evm_probe()
207 if (PTR_ERR(mclk) == -EPROBE_DEFER) { in davinci_evm_probe()
209 } else if (IS_ERR(mclk)) { in davinci_evm_probe()
210 dev_dbg(&pdev->dev, "mclk not found.\n"); in davinci_evm_probe()
211 mclk = NULL; in davinci_evm_probe()
218 drvdata->mclk = mclk; in davinci_evm_probe()
223 if (!drvdata->mclk) { in davinci_evm_probe()
228 drvdata->sysclk = clk_get_rate(drvdata->mclk); in davinci_evm_probe()
229 } else if (drvdata->mclk) { in davinci_evm_probe()
231 clk_set_rate(drvdata->mclk, drvdata->sysclk); in davinci_evm_probe()
232 drvdata->sysclk = clk_get_rate(drvdata->mclk); in davinci_evm_probe()