Lines Matching refs:mdiv
119 int mdiv; in __get_mdiv() local
127 mdiv = 1; in __get_mdiv()
132 mdiv = val & IPROC_CLK_PLLARMC_MDIV_MASK; in __get_mdiv()
133 if (mdiv == 0) in __get_mdiv()
134 mdiv = 256; in __get_mdiv()
139 mdiv = val & IPROC_CLK_PLLARMCTL5_H_MDIV_MASK; in __get_mdiv()
140 if (mdiv == 0) in __get_mdiv()
141 mdiv = 256; in __get_mdiv()
145 mdiv = -EFAULT; in __get_mdiv()
148 return mdiv; in __get_mdiv()
200 int mdiv; in iproc_arm_pll_recalc_rate() local
224 mdiv = __get_mdiv(pll); in iproc_arm_pll_recalc_rate()
225 if (mdiv <= 0) { in iproc_arm_pll_recalc_rate()
230 pll->rate = (pll->rate / pdiv) / mdiv; in iproc_arm_pll_recalc_rate()
235 (unsigned int)(ndiv >> 20), pdiv, mdiv); in iproc_arm_pll_recalc_rate()