Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/mach-exynos/
H A Dclock.c788 unsigned int sel, ratio, pre_ratio; in exynos4_get_mmc_clk() local
807 pre_ratio = readl(&clk->div_fsys1); in exynos4_get_mmc_clk()
812 pre_ratio = readl(&clk->div_fsys2); in exynos4_get_mmc_clk()
816 pre_ratio = readl(&clk->div_fsys3); in exynos4_get_mmc_clk()
826 pre_ratio = (pre_ratio >> (shift + 8)) & 0xff; in exynos4_get_mmc_clk()
827 uclk = (sclk / (ratio + 1)) / (pre_ratio + 1); in exynos4_get_mmc_clk()