Home
last modified time | relevance | path

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

/external/u-boot/drivers/clk/rockchip/
Dclk_rk3036.c210 static ulong rockchip_mmc_get_clk(struct rk3036_cru *cru, uint clk_general_rate, in rockchip_mmc_get_clk() argument
234 src_rate = mux == EMMC_SEL_24M ? OSC_HZ : clk_general_rate; in rockchip_mmc_get_clk()
238 static ulong rockchip_mmc_set_clk(struct rk3036_cru *cru, uint clk_general_rate, in rockchip_mmc_set_clk() argument
244 debug("%s: clk_general_rate=%u\n", __func__, clk_general_rate); in rockchip_mmc_set_clk()
247 src_clk_div = DIV_ROUND_UP(clk_general_rate / 2, freq); in rockchip_mmc_set_clk()
276 return rockchip_mmc_get_clk(cru, clk_general_rate, periph); in rockchip_mmc_set_clk()
Dclk_rk322x.c210 static ulong rockchip_mmc_get_clk(struct rk322x_cru *cru, uint clk_general_rate, in rockchip_mmc_get_clk() argument
235 src_rate = mux == EMMC_SEL_24M ? OSC_HZ : clk_general_rate; in rockchip_mmc_get_clk()
274 static ulong rockchip_mmc_set_clk(struct rk322x_cru *cru, uint clk_general_rate, in rockchip_mmc_set_clk() argument
280 debug("%s: clk_general_rate=%u\n", __func__, clk_general_rate); in rockchip_mmc_set_clk()
283 src_clk_div = DIV_ROUND_UP(clk_general_rate / 2, freq); in rockchip_mmc_set_clk()
314 return rockchip_mmc_get_clk(cru, clk_general_rate, periph); in rockchip_mmc_set_clk()
Dclk_rk3128.c278 static ulong rockchip_mmc_get_clk(struct rk3128_cru *cru, uint clk_general_rate, in rockchip_mmc_get_clk() argument
303 src_rate = mux == EMMC_SEL_24M ? OSC_HZ : clk_general_rate; in rockchip_mmc_get_clk()
307 static ulong rockchip_mmc_set_clk(struct rk3128_cru *cru, uint clk_general_rate, in rockchip_mmc_set_clk() argument
313 debug("%s: clk_general_rate=%u\n", __func__, clk_general_rate); in rockchip_mmc_set_clk()
316 src_clk_div = DIV_ROUND_UP(clk_general_rate / 2, freq); in rockchip_mmc_set_clk()
343 return rockchip_mmc_get_clk(cru, clk_general_rate, periph); in rockchip_mmc_set_clk()