Lines Matching refs:mclk
28 struct clk *mclk; member
39 if (drvdata->mclk) in evm_startup()
40 return clk_prepare_enable(drvdata->mclk); in evm_startup()
52 if (drvdata->mclk) in evm_shutdown()
53 clk_disable_unprepare(drvdata->mclk); in evm_shutdown()
365 struct clk *mclk; in davinci_evm_probe() local
385 mclk = devm_clk_get(&pdev->dev, "mclk"); in davinci_evm_probe()
386 if (PTR_ERR(mclk) == -EPROBE_DEFER) { in davinci_evm_probe()
388 } else if (IS_ERR(mclk)) { in davinci_evm_probe()
390 mclk = NULL; in davinci_evm_probe()
397 drvdata->mclk = mclk; in davinci_evm_probe()
402 if (!drvdata->mclk) { in davinci_evm_probe()
407 drvdata->sysclk = clk_get_rate(drvdata->mclk); in davinci_evm_probe()
408 } else if (drvdata->mclk) { in davinci_evm_probe()
410 clk_set_rate(drvdata->mclk, drvdata->sysclk); in davinci_evm_probe()
411 drvdata->sysclk = clk_get_rate(drvdata->mclk); in davinci_evm_probe()