Home
last modified time | relevance | path

Searched refs:ciu_clk (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/drivers/mmc/host/
H A Ddw_mmc-rockchip.c46 unsigned long rate = clk_get_rate(host->ciu_clk); in rockchip_mmc_get_internal_phase()
89 unsigned long rate = clk_get_rate(host->ciu_clk); in rockchip_mmc_set_internal_phase()
199 ret = clk_set_rate(host->ciu_clk, cclkin); in dw_mci_rk3288_set_ios()
203 bus_hz = clk_get_rate(host->ciu_clk) / RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios()
486 ret = clk_round_rate(host->ciu_clk, freqs[i] * RK3288_CLKGEN_DIV); in dw_mci_rockchip_init()
H A Ddw_mmc-starfive.c33 ret = clk_set_rate(host->ciu_clk, clock); in dw_mci_starfive_set_ios()
36 host->bus_hz = clk_get_rate(host->ciu_clk); in dw_mci_starfive_set_ios()
H A Ddw_mmc-k3.c106 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()
H A Ddw_mmc-hi3798mv200.c57 if (clk_set_rate(host->ciu_clk, ios->clock)) in dw_mci_hi3798mv200_set_ios()
65 host->bus_hz = clk_get_rate(host->ciu_clk); in dw_mci_hi3798mv200_set_ios()
H A Ddw_mmc-exynos.c313 if (!wanted || IS_ERR(host->ciu_clk)) in dw_mci_exynos_adjust_clock()
324 ret = clk_set_rate(host->ciu_clk, wanted * div); in dw_mci_exynos_adjust_clock()
329 actual = clk_get_rate(host->ciu_clk); in dw_mci_exynos_adjust_clock()
H A Ddw_mmc.c3398 host->ciu_clk = devm_clk_get(host->dev, "ciu"); in dw_mci_probe()
3399 if (IS_ERR(host->ciu_clk)) { in dw_mci_probe()
3401 ret = PTR_ERR(host->ciu_clk); in dw_mci_probe()
3407 ret = clk_prepare_enable(host->ciu_clk); in dw_mci_probe()
3414 ret = clk_set_rate(host->ciu_clk, host->pdata->bus_hz); in dw_mci_probe()
3420 host->bus_hz = clk_get_rate(host->ciu_clk); in dw_mci_probe()
3580 clk_disable_unprepare(host->ciu_clk); in dw_mci_probe()
3607 clk_disable_unprepare(host->ciu_clk); in dw_mci_remove()
3622 clk_disable_unprepare(host->ciu_clk); in dw_mci_runtime_suspend()
3646 ret = clk_prepare_enable(host->ciu_clk); in dw_mci_runtime_resume()
[all …]
H A Ddw_mmc.h214 struct clk *ciu_clk; member