Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mmc/host/
H A Ddw_mmc-rockchip.c18 #define RK3288_CLKGEN_DIV 2 macro
50 cclkin = 2 * ios->clock * RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios()
52 cclkin = ios->clock * RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios()
58 bus_hz = clk_get_rate(host->ciu_clk) / RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios()
301 host->bus_hz /= RK3288_CLKGEN_DIV; in dw_mci_rockchip_init()
309 ret = clk_round_rate(host->ciu_clk, freqs[i] * RK3288_CLKGEN_DIV); in dw_mci_rockchip_init()
311 host->minimum_speed = ret / RK3288_CLKGEN_DIV; in dw_mci_rockchip_init()