Searched refs:pre_div (Results 1 – 2 of 2) sorted by relevance
42 int pre_div = 1; in imx_usdhc_set_clk() local48 while (sdhc_clk / (16 * pre_div) > clk && pre_div < 256) in imx_usdhc_set_clk()49 pre_div *= 2; in imx_usdhc_set_clk()54 pre_div >>= 1; in imx_usdhc_set_clk()56 clk = (pre_div << 8) | (div << 4); in imx_usdhc_set_clk()
205 uint32_t fb_div, pre_div; in ddr_get_phy_pll_freq() local210 pre_div = mmio_read_32(DDR_PHY_BASE + DDR_PHY_REGEE) & 0xff; in ddr_get_phy_pll_freq()211 ret = 2 * 24 * fb_div / (4 * pre_div); in ddr_get_phy_pll_freq()
Completed in 4 milliseconds