Searched refs:refclk_div (Results 1 – 2 of 2) sorted by relevance
40 uint32_t m_div, refclk_div, mscnt, hscnt; in config_clkmgr_handoff() local55 refclk_div = ALT_CLKMGR_MAINPLL_PLLGLOB_REFCLKDIV( in config_clkmgr_handoff()57 mscnt = 200 / ((6 + m_div) / refclk_div); in config_clkmgr_handoff()58 hscnt = (m_div + 6) * mscnt / refclk_div - 9; in config_clkmgr_handoff()77 refclk_div = ALT_CLKMGR_PERPLL_PLLGLOB_REFCLKDIV( in config_clkmgr_handoff()79 mscnt = 200 / ((6 + m_div) / refclk_div); in config_clkmgr_handoff()80 hscnt = (m_div + 6) * mscnt / refclk_div - 9; in config_clkmgr_handoff()
98 uint32_t drefclk_div, refclk_div, rdata; in config_clkmgr_handoff() local124 refclk_div = CLKMGR_PLLGLOB_REFCLKDIV( in config_clkmgr_handoff()130 hscnt = (mdiv * mscnt * BIT(drefclk_div) / refclk_div) - 4; in config_clkmgr_handoff()162 refclk_div = CLKMGR_PLLGLOB_REFCLKDIV( in config_clkmgr_handoff()169 hscnt = (mdiv * mscnt * BIT(drefclk_div) / refclk_div) - 4; in config_clkmgr_handoff()