Lines Matching refs:mdiv

153 	u32 pll_con, mdiv, pdiv, sdiv;  in samsung_pll2126_recalc_rate()  local
157 mdiv = (pll_con >> PLL2126_MDIV_SHIFT) & PLL2126_MDIV_MASK; in samsung_pll2126_recalc_rate()
161 fvco *= (mdiv + 8); in samsung_pll2126_recalc_rate()
186 u32 pll_con, mdiv, pdiv, sdiv; in samsung_pll3000_recalc_rate() local
190 mdiv = (pll_con >> PLL3000_MDIV_SHIFT) & PLL3000_MDIV_MASK; in samsung_pll3000_recalc_rate()
194 fvco *= (2 * (mdiv + 8)); in samsung_pll3000_recalc_rate()
223 u32 mdiv, pdiv, sdiv, pll_con; in samsung_pll35xx_recalc_rate() local
227 mdiv = (pll_con >> PLL35XX_MDIV_SHIFT) & PLL35XX_MDIV_MASK; in samsung_pll35xx_recalc_rate()
231 fvco *= mdiv; in samsung_pll35xx_recalc_rate()
245 return (rate->mdiv != old_mdiv || rate->pdiv != old_pdiv); in samsung_pll35xx_mp_change()
282 tmp |= (rate->mdiv << PLL35XX_MDIV_SHIFT) | in samsung_pll35xx_set_rate()
327 u32 mdiv, pdiv, sdiv, pll_con0, pll_con1; in samsung_pll36xx_recalc_rate() local
333 mdiv = (pll_con0 >> PLL36XX_MDIV_SHIFT) & PLL36XX_MDIV_MASK; in samsung_pll36xx_recalc_rate()
338 fvco *= (mdiv << 16) + kdiv; in samsung_pll36xx_recalc_rate()
354 return (rate->mdiv != old_mdiv || rate->pdiv != old_pdiv || in samsung_pll36xx_mpk_change()
391 pll_con0 |= (rate->mdiv << PLL36XX_MDIV_SHIFT) | in samsung_pll36xx_set_rate()
437 u32 mdiv, pdiv, sdiv, pll_con3; in samsung_pll0822x_recalc_rate() local
441 mdiv = (pll_con3 >> PLL0822X_MDIV_SHIFT) & PLL0822X_MDIV_MASK; in samsung_pll0822x_recalc_rate()
445 fvco *= mdiv; in samsung_pll0822x_recalc_rate()
471 pll_con3 |= (rate->mdiv << PLL0822X_MDIV_SHIFT) | in samsung_pll0822x_set_rate()
522 u32 mdiv, pdiv, sdiv, pll_con3, pll_con5; in samsung_pll0831x_recalc_rate() local
528 mdiv = (pll_con3 >> PLL0831X_MDIV_SHIFT) & PLL0831X_MDIV_MASK; in samsung_pll0831x_recalc_rate()
533 fvco *= (mdiv << 16) + kdiv; in samsung_pll0831x_recalc_rate()
562 pll_con3 |= (rate->mdiv << PLL0831X_MDIV_SHIFT) | in samsung_pll0831x_set_rate()
620 u32 mdiv, pdiv, sdiv, pll_con; in samsung_pll45xx_recalc_rate() local
624 mdiv = (pll_con >> PLL45XX_MDIV_SHIFT) & PLL45XX_MDIV_MASK; in samsung_pll45xx_recalc_rate()
631 fvco *= mdiv; in samsung_pll45xx_recalc_rate()
646 return (old_mdiv != rate->mdiv || old_pdiv != rate->pdiv in samsung_pll45xx_mp_change()
681 con0 |= (rate->mdiv << PLL45XX_MDIV_SHIFT) | in samsung_pll45xx_set_rate()
753 u32 mdiv, pdiv, sdiv, kdiv, pll_con0, pll_con1, shift; in samsung_pll46xx_recalc_rate() local
758 mdiv = (pll_con0 >> PLL46XX_MDIV_SHIFT) & ((pll->type == pll_1460x) ? in samsung_pll46xx_recalc_rate()
767 fvco *= (mdiv << shift) + kdiv; in samsung_pll46xx_recalc_rate()
783 return (old_mdiv != rate->mdiv || old_pdiv != rate->pdiv in samsung_pll46xx_mpk_change()
833 con0 |= (rate->mdiv << PLL46XX_MDIV_SHIFT) | in samsung_pll46xx_set_rate()
882 u32 mdiv, pdiv, sdiv, pll_con; in samsung_pll6552_recalc_rate() local
887 mdiv = (pll_con >> PLL6552_MDIV_SHIFT_2416) & PLL6552_MDIV_MASK; in samsung_pll6552_recalc_rate()
890 mdiv = (pll_con >> PLL6552_MDIV_SHIFT) & PLL6552_MDIV_MASK; in samsung_pll6552_recalc_rate()
895 fvco *= mdiv; in samsung_pll6552_recalc_rate()
922 u32 mdiv, pdiv, sdiv, kdiv, pll_con0, pll_con1; in samsung_pll6553_recalc_rate() local
927 mdiv = (pll_con0 >> PLL6553_MDIV_SHIFT) & PLL6553_MDIV_MASK; in samsung_pll6553_recalc_rate()
932 fvco *= (mdiv << 16) + kdiv; in samsung_pll6553_recalc_rate()
960 u32 pll_con, mdiv, pdiv, sdiv; in samsung_s3c2410_pll_recalc_rate() local
964 mdiv = (pll_con >> PLLS3C2410_MDIV_SHIFT) & PLLS3C2410_MDIV_MASK; in samsung_s3c2410_pll_recalc_rate()
968 fvco *= (mdiv + 8); in samsung_s3c2410_pll_recalc_rate()
978 u32 pll_con, mdiv, pdiv, sdiv; in samsung_s3c2440_mpll_recalc_rate() local
982 mdiv = (pll_con >> PLLS3C2410_MDIV_SHIFT) & PLLS3C2410_MDIV_MASK; in samsung_s3c2440_mpll_recalc_rate()
986 fvco *= (2 * (mdiv + 8)); in samsung_s3c2440_mpll_recalc_rate()
1013 tmp |= (rate->mdiv << PLLS3C2410_MDIV_SHIFT) | in samsung_s3c2410_pll_set_rate()
1164 u32 mdiv, pdiv, sdiv, pll_con; in samsung_pll2550xx_recalc_rate() local
1168 mdiv = (pll_con >> PLL2550XX_M_SHIFT) & PLL2550XX_M_MASK; in samsung_pll2550xx_recalc_rate()
1172 fvco *= mdiv; in samsung_pll2550xx_recalc_rate()
1178 static inline bool samsung_pll2550xx_mp_change(u32 mdiv, u32 pdiv, u32 pll_con) in samsung_pll2550xx_mp_change() argument
1185 return mdiv != old_mdiv || pdiv != old_pdiv; in samsung_pll2550xx_mp_change()
1205 if (!(samsung_pll2550xx_mp_change(rate->mdiv, rate->pdiv, tmp))) { in samsung_pll2550xx_set_rate()
1221 tmp |= (rate->mdiv << PLL2550XX_M_SHIFT) | in samsung_pll2550xx_set_rate()
1265 u32 mdiv, pdiv, sdiv, pll_con0, pll_con1; in samsung_pll2650x_recalc_rate() local
1269 mdiv = (pll_con0 >> PLL2650X_M_SHIFT) & PLL2650X_M_MASK; in samsung_pll2650x_recalc_rate()
1276 fout *= (mdiv << 16) + kdiv; in samsung_pll2650x_recalc_rate()
1308 con0 |= (rate->mdiv << PLL2650X_M_SHIFT) | in samsung_pll2650x_set_rate()
1356 u32 mdiv, pdiv, sdiv, pll_con0, pll_con2; in samsung_pll2650xx_recalc_rate() local
1362 mdiv = (pll_con0 >> PLL2650XX_MDIV_SHIFT) & PLL2650XX_MDIV_MASK; in samsung_pll2650xx_recalc_rate()
1367 fvco *= (mdiv << 16) + kdiv; in samsung_pll2650xx_recalc_rate()
1395 pll_con0 |= rate->mdiv << PLL2650XX_MDIV_SHIFT; in samsung_pll2650xx_set_rate()