Searched refs:ciu_clk (Results 1 – 6 of 6) sorted by relevance
106 ret = clk_set_rate(host->ciu_clk, ios->clock); in dw_mci_k3_set_ios()110 host->bus_hz = clk_get_rate(host->ciu_clk); in dw_mci_k3_set_ios()308 ret = clk_set_rate(host->ciu_clk, wanted); in dw_mci_hi3660_set_ios()313 actual = clk_get_rate(host->ciu_clk); in dw_mci_hi3660_set_ios()
54 ret = clk_set_rate(host->ciu_clk, cclkin); in dw_mci_rk3288_set_ios()58 bus_hz = clk_get_rate(host->ciu_clk) / RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios()309 ret = clk_round_rate(host->ciu_clk, freqs[i] * RK3288_CLKGEN_DIV); in dw_mci_rockchip_init()
38 ret = clk_set_rate(host->ciu_clk, clock); in dw_mci_starfive_set_ios()41 host->bus_hz = clk_get_rate(host->ciu_clk); in dw_mci_starfive_set_ios()
289 if (!wanted || IS_ERR(host->ciu_clk)) in dw_mci_exynos_adjust_clock()300 ret = clk_set_rate(host->ciu_clk, wanted * div); in dw_mci_exynos_adjust_clock()305 actual = clk_get_rate(host->ciu_clk); in dw_mci_exynos_adjust_clock()
3309 host->ciu_clk = devm_clk_get(host->dev, "ciu"); in dw_mci_probe()3310 if (IS_ERR(host->ciu_clk)) { in dw_mci_probe()3312 ret = PTR_ERR(host->ciu_clk); in dw_mci_probe()3318 ret = clk_prepare_enable(host->ciu_clk); in dw_mci_probe()3325 ret = clk_set_rate(host->ciu_clk, host->pdata->bus_hz); in dw_mci_probe()3331 host->bus_hz = clk_get_rate(host->ciu_clk); in dw_mci_probe()3486 clk_disable_unprepare(host->ciu_clk); in dw_mci_probe()3513 clk_disable_unprepare(host->ciu_clk); in dw_mci_remove()3528 clk_disable_unprepare(host->ciu_clk); in dw_mci_runtime_suspend()3552 ret = clk_prepare_enable(host->ciu_clk); in dw_mci_runtime_resume()[all …]
213 struct clk *ciu_clk; member