Searched refs:ciu_clk (Results 1 – 5 of 5) sorted by relevance
110 ret = clk_set_rate(host->ciu_clk, ios->clock); in dw_mci_k3_set_ios()114 host->bus_hz = clk_get_rate(host->ciu_clk); in dw_mci_k3_set_ios()312 ret = clk_set_rate(host->ciu_clk, wanted); in dw_mci_hi3660_set_ios()317 actual = clk_get_rate(host->ciu_clk); in dw_mci_hi3660_set_ios()
56 ret = clk_set_rate(host->ciu_clk, cclkin); in dw_mci_rk3288_set_ios()60 bus_hz = clk_get_rate(host->ciu_clk) / RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios()
274 if (!wanted || IS_ERR(host->ciu_clk)) in dw_mci_exynos_adjust_clock()285 ret = clk_set_rate(host->ciu_clk, wanted * div); in dw_mci_exynos_adjust_clock()290 actual = clk_get_rate(host->ciu_clk); in dw_mci_exynos_adjust_clock()
3215 host->ciu_clk = devm_clk_get(host->dev, "ciu"); in dw_mci_probe()3216 if (IS_ERR(host->ciu_clk)) { in dw_mci_probe()3220 ret = clk_prepare_enable(host->ciu_clk); in dw_mci_probe()3227 ret = clk_set_rate(host->ciu_clk, host->pdata->bus_hz); in dw_mci_probe()3233 host->bus_hz = clk_get_rate(host->ciu_clk); in dw_mci_probe()3387 clk_disable_unprepare(host->ciu_clk); in dw_mci_probe()3415 clk_disable_unprepare(host->ciu_clk); in dw_mci_remove()3430 clk_disable_unprepare(host->ciu_clk); in dw_mci_runtime_suspend()3454 ret = clk_prepare_enable(host->ciu_clk); in dw_mci_runtime_resume()3459 clk_disable_unprepare(host->ciu_clk); in dw_mci_runtime_resume()
212 struct clk *ciu_clk; member