Searched refs:clk_mmc (Results 1 – 2 of 2) sorted by relevance
251 struct clk_mmc { struct267 #define to_mmc(_hw) container_of(_hw, struct clk_mmc, hw) argument298 struct clk_mmc *mclk = to_mmc(hw); in mmc_clk_determine_rate()337 struct clk_mmc *mclk = to_mmc(hw); in mmc_clk_set_timing()401 struct clk_mmc *mclk = to_mmc(hw); in mmc_clk_prepare()428 struct clk_mmc *mclk; in hisi_register_clk_mmc()
279 struct clk *clk_mmc; member791 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()[all …]