Home
last modified time | relevance | path

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

/u-boot/arch/arm/mach-socfpga/
A Dclock_manager_s10.c44 u32 mdiv, refclkdiv, mscnt, hscnt, vcocalib; in cm_basic_init() local
56 refclkdiv = (cfg->main_pll_pllglob >> CLKMGR_PLLGLOB_REFCLKDIV_OFFSET) & in cm_basic_init()
58 mscnt = CLKMGR_MSCNT_CONST / (CLKMGR_MDIV_CONST + mdiv) / refclkdiv; in cm_basic_init()
59 hscnt = (mdiv + CLKMGR_MDIV_CONST) * mscnt / refclkdiv - in cm_basic_init()
83 refclkdiv = (cfg->per_pll_pllglob >> CLKMGR_PLLGLOB_REFCLKDIV_OFFSET) & in cm_basic_init()
85 mscnt = CLKMGR_MSCNT_CONST / (CLKMGR_MDIV_CONST + mdiv) / refclkdiv; in cm_basic_init()
86 hscnt = (mdiv + CLKMGR_MDIV_CONST) * mscnt / refclkdiv - in cm_basic_init()
/u-boot/drivers/clk/altera/
A Dclk-agilex.c204 u32 mdiv, refclkdiv, arefclkdiv, drefclkdiv, mscnt, hscnt, vcocalib; in calc_vocalib_pll() local
211 refclkdiv = (pllglob & CLKMGR_PLLGLOB_REFCLKDIV_MASK) >> in calc_vocalib_pll()
216 hscnt = (mdiv * mscnt * BIT(drefclkdiv) / refclkdiv) - in calc_vocalib_pll()
226 debug("refclkdiv : %d\n", refclkdiv); in calc_vocalib_pll()

Completed in 4 milliseconds