Searched refs:hscnt (Results 1 – 2 of 2) sorted by relevance
/u-boot/arch/arm/mach-socfpga/ |
A D | clock_manager_s10.c | 44 u32 mdiv, refclkdiv, mscnt, hscnt, vcocalib; in cm_basic_init() local 59 hscnt = (mdiv + CLKMGR_MDIV_CONST) * mscnt / refclkdiv - in cm_basic_init() 61 vcocalib = (hscnt & CLKMGR_VCOCALIB_HSCNT_MASK) | in cm_basic_init() 86 hscnt = (mdiv + CLKMGR_MDIV_CONST) * mscnt / refclkdiv - in cm_basic_init() 88 vcocalib = (hscnt & CLKMGR_VCOCALIB_HSCNT_MASK) | in cm_basic_init()
|
/u-boot/drivers/clk/altera/ |
A D | clk-agilex.c | 204 u32 mdiv, refclkdiv, arefclkdiv, drefclkdiv, mscnt, hscnt, vcocalib; in calc_vocalib_pll() local 216 hscnt = (mdiv * mscnt * BIT(drefclkdiv) / refclkdiv) - in calc_vocalib_pll() 218 vcocalib = (hscnt & CLKMGR_VCOCALIB_HSCNT_MASK) | in calc_vocalib_pll() 228 debug("hscnt : %d\n", hscnt); in calc_vocalib_pll()
|
Completed in 4 milliseconds