Searched refs:mdiv (Results 1 – 4 of 4) sorted by relevance
97 uint32_t mdiv, mscnt, hscnt; in config_clkmgr_handoff() local120 mdiv = CLKMGR_PLLM_MDIV(hoff_ptr->main_pll_pllm); in config_clkmgr_handoff()127 mscnt = 100 / (mdiv * BIT(drefclk_div)); in config_clkmgr_handoff()130 hscnt = (mdiv * mscnt * BIT(drefclk_div) / refclk_div) - 4; in config_clkmgr_handoff()158 mdiv = CLKMGR_PLLM_MDIV(hoff_ptr->per_pll_pllm); in config_clkmgr_handoff()166 mscnt = 100 / (mdiv * BIT(drefclk_div)); in config_clkmgr_handoff()169 hscnt = (mdiv * mscnt * BIT(drefclk_div) / refclk_div) - 4; in config_clkmgr_handoff()311 uint32_t clk_psrc, mdiv, ref_clk; in get_clk_freq() local332 mdiv = CLKMGR_PLLM_MDIV(mmio_read_32(pllm_reg)); in get_clk_freq()333 ref_clk *= mdiv; in get_clk_freq()
203 uint32_t data32, mdiv, refclkdiv, ref_clk; in get_ref_clk() local226 mdiv = ALT_CLKMGR_MAINPLL_FDBCK_MDIV(data32); in get_ref_clk()228 ref_clk = (ref_clk / refclkdiv) * (6 + mdiv); in get_ref_clk()
73547 unsigned int mdiv; member