Lines Matching defs:clk
13 #include <linux/clk.h>
154 struct clk *tmclk;
763 clk_set_rate(pltfm_host->clk, host_clk);
764 tegra_host->curr_clk_rate = clk_get_rate(pltfm_host->clk);
768 host->max_clk = clk_get_rate(pltfm_host->clk);
808 return clk_round_rate(pltfm_host->clk, UINT_MAX);
1610 struct clk *clk;
1682 clk = devm_clk_get(&pdev->dev, "tmclk");
1683 if (IS_ERR(clk)) {
1684 rc = PTR_ERR(clk);
1689 clk = NULL;
1692 clk_set_rate(clk, 12000000);
1693 rc = clk_prepare_enable(clk);
1700 tegra_host->tmclk = clk;
1703 clk = devm_clk_get(mmc_dev(host->mmc), NULL);
1704 if (IS_ERR(clk)) {
1705 rc = dev_err_probe(&pdev->dev, PTR_ERR(clk),
1709 clk_prepare_enable(clk);
1710 pltfm_host->clk = clk;
1741 clk_disable_unprepare(pltfm_host->clk);
1760 clk_disable_unprepare(pltfm_host->clk);
1787 clk_disable_unprepare(pltfm_host->clk);
1797 ret = clk_prepare_enable(pltfm_host->clk);
1816 clk_disable_unprepare(pltfm_host->clk);