Searched refs:clk_mmc (Results 1 – 2 of 2) sorted by relevance
237 struct clk_mmc { struct253 #define to_mmc(_hw) container_of(_hw, struct clk_mmc, hw) argument284 struct clk_mmc *mclk = to_mmc(hw); in mmc_clk_determine_rate()323 struct clk_mmc *mclk = to_mmc(hw); in mmc_clk_set_timing()387 struct clk_mmc *mclk = to_mmc(hw); in mmc_clk_prepare()414 struct clk_mmc *mclk; in hisi_register_clk_mmc()
278 struct clk *clk_mmc; member790 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()[all …]