Home
last modified time | relevance | path

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

/rk3399_ARM-atf/plat/intel/soc/stratix10/soc/
H A Ds10_clock_manager.c40 uint32_t m_div, refclk_div, mscnt, hscnt; in config_clkmgr_handoff() local
58 hscnt = (m_div + 6) * mscnt / refclk_div - 9; in config_clkmgr_handoff()
65 ALT_CLKMGR_MAINPLL_VCOCALIB_HSCNT_SET(hscnt) | in config_clkmgr_handoff()
80 hscnt = (m_div + 6) * mscnt / refclk_div - 9; in config_clkmgr_handoff()
87 ALT_CLKMGR_PERPLL_VCOCALIB_HSCNT_SET(hscnt) | in config_clkmgr_handoff()
/rk3399_ARM-atf/plat/intel/soc/agilex/soc/
H A Dagilex_clock_manager.c97 uint32_t mdiv, mscnt, hscnt; in config_clkmgr_handoff() local
130 hscnt = (mdiv * mscnt * BIT(drefclk_div) / refclk_div) - 4; in config_clkmgr_handoff()
138 CLKMGR_VCOCALIB_HSCNT_SET(hscnt) | in config_clkmgr_handoff()
169 hscnt = (mdiv * mscnt * BIT(drefclk_div) / refclk_div) - 4; in config_clkmgr_handoff()
178 CLKMGR_VCOCALIB_HSCNT_SET(hscnt) | in config_clkmgr_handoff()
/rk3399_ARM-atf/plat/intel/soc/agilex5/soc/
H A Dagilex5_clock_manager.c104 uint32_t mdiv, refclkdiv, drefclkdiv, mscnt, hscnt, vcocalib; in calc_pll_vcocalibration() local
116 hscnt = (mdiv * mscnt * BIT(drefclkdiv) / refclkdiv) - in calc_pll_vcocalibration()
119 vcocalib = (hscnt & CLKMGR_VCOCALIB_HSCNT_MASK) | in calc_pll_vcocalibration()