Searched refs:ciu_clk (Results 1 - 11 of 11) sorted by relevance
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | dw_mmc-starfive.c | 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()
|
H A D | dw_mmc-rockchip.c | 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()
|
H A D | dw_mmc-k3.c | 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()
|
H A D | dw_mmc-exynos.c | 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()
|
H A D | dw_mmc.c | 3305 host->ciu_clk = devm_clk_get(host->dev, "ciu"); in dw_mci_probe() 3306 if (IS_ERR(host->ciu_clk)) { in dw_mci_probe() 3310 ret = clk_prepare_enable(host->ciu_clk); in dw_mci_probe() 3317 ret = clk_set_rate(host->ciu_clk, host->pdata->bus_hz); in dw_mci_probe() 3323 host->bus_hz = clk_get_rate(host->ciu_clk); in dw_mci_probe() 3478 clk_disable_unprepare(host->ciu_clk); in dw_mci_probe() 3505 clk_disable_unprepare(host->ciu_clk); in dw_mci_remove() 3520 clk_disable_unprepare(host->ciu_clk); in dw_mci_runtime_suspend() 3544 ret = clk_prepare_enable(host->ciu_clk); in dw_mci_runtime_resume() 3549 clk_disable_unprepare(host->ciu_clk); in dw_mci_runtime_resume() [all...] |
H A D | dw_mmc.h | 110 * @ciu_clk: Pointer to card interface unit clock instance. 213 struct clk *ciu_clk; member
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | dw_mmc-k3.c | 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()
|
H A D | dw_mmc-exynos.c | 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()
|
H A D | dw_mmc-rockchip.c | 52 ret = clk_set_rate(host->ciu_clk, cclkin); in dw_mci_rk3288_set_ios() 56 bus_hz = clk_get_rate(host->ciu_clk) / RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios()
|
H A D | dw_mmc.c | 3182 host->ciu_clk = devm_clk_get(host->dev, "ciu"); in dw_mci_probe() 3183 if (IS_ERR(host->ciu_clk)) { in dw_mci_probe() 3187 ret = clk_prepare_enable(host->ciu_clk); in dw_mci_probe() 3194 ret = clk_set_rate(host->ciu_clk, host->pdata->bus_hz); in dw_mci_probe() 3200 host->bus_hz = clk_get_rate(host->ciu_clk); in dw_mci_probe() 3354 clk_disable_unprepare(host->ciu_clk); in dw_mci_probe() 3382 clk_disable_unprepare(host->ciu_clk); in dw_mci_remove() 3397 clk_disable_unprepare(host->ciu_clk); in dw_mci_runtime_suspend() 3421 ret = clk_prepare_enable(host->ciu_clk); in dw_mci_runtime_resume() 3426 clk_disable_unprepare(host->ciu_clk); in dw_mci_runtime_resume() [all...] |
H A D | dw_mmc.h | 107 * @ciu_clk: Pointer to card interface unit clock instance. 208 struct clk *ciu_clk; member
|
Completed in 15 milliseconds