Lines Matching refs:clk_mmc
278 struct clk *clk_mmc; member
790 ret = sunxi_ccu_set_mmc_timing_mode(host->clk_mmc, true); in sunxi_mmc_clk_set_rate()
798 rate = clk_round_rate(host->clk_mmc, clock); in sunxi_mmc_clk_set_rate()
808 ret = clk_set_rate(host->clk_mmc, rate); in sunxi_mmc_clk_set_rate()
1212 ret = clk_prepare_enable(host->clk_mmc); in sunxi_mmc_enable()
1245 clk_disable_unprepare(host->clk_mmc); in sunxi_mmc_enable()
1260 clk_disable_unprepare(host->clk_mmc); in sunxi_mmc_disable()
1290 host->clk_mmc = devm_clk_get(&pdev->dev, "mmc"); in sunxi_mmc_resource_request()
1291 if (IS_ERR(host->clk_mmc)) { in sunxi_mmc_resource_request()
1293 return PTR_ERR(host->clk_mmc); in sunxi_mmc_resource_request()
1368 sunxi_ccu_set_mmc_timing_mode(host->clk_mmc, true); in sunxi_mmc_probe()
1371 ret = sunxi_ccu_get_mmc_timing_mode(host->clk_mmc); in sunxi_mmc_probe()