Lines Matching refs:clk_mmc
279 struct clk *clk_mmc; member
791 ret = sunxi_ccu_set_mmc_timing_mode(host->clk_mmc, true); in sunxi_mmc_clk_set_rate()
799 rate = clk_round_rate(host->clk_mmc, clock); in sunxi_mmc_clk_set_rate()
809 ret = clk_set_rate(host->clk_mmc, rate); in sunxi_mmc_clk_set_rate()
1202 ret = clk_prepare_enable(host->clk_mmc); in sunxi_mmc_enable()
1235 clk_disable_unprepare(host->clk_mmc); in sunxi_mmc_enable()
1250 clk_disable_unprepare(host->clk_mmc); in sunxi_mmc_disable()
1281 host->clk_mmc = devm_clk_get(&pdev->dev, "mmc"); in sunxi_mmc_resource_request()
1282 if (IS_ERR(host->clk_mmc)) { in sunxi_mmc_resource_request()
1284 return PTR_ERR(host->clk_mmc); in sunxi_mmc_resource_request()
1359 sunxi_ccu_set_mmc_timing_mode(host->clk_mmc, true); in sunxi_mmc_probe()
1362 ret = sunxi_ccu_get_mmc_timing_mode(host->clk_mmc); in sunxi_mmc_probe()