Lines Matching refs:sdiv

153 	u32 pll_con, mdiv, pdiv, sdiv;  in samsung_pll2126_recalc_rate()  local
159 sdiv = (pll_con >> PLL2126_SDIV_SHIFT) & PLL2126_SDIV_MASK; in samsung_pll2126_recalc_rate()
162 do_div(fvco, (pdiv + 2) << sdiv); in samsung_pll2126_recalc_rate()
186 u32 pll_con, mdiv, pdiv, sdiv; in samsung_pll3000_recalc_rate() local
192 sdiv = (pll_con >> PLL3000_SDIV_SHIFT) & PLL3000_SDIV_MASK; in samsung_pll3000_recalc_rate()
195 do_div(fvco, pdiv << sdiv); in samsung_pll3000_recalc_rate()
223 u32 mdiv, pdiv, sdiv, pll_con; in samsung_pll35xx_recalc_rate() local
229 sdiv = (pll_con >> PLL35XX_SDIV_SHIFT) & PLL35XX_SDIV_MASK; in samsung_pll35xx_recalc_rate()
232 do_div(fvco, (pdiv << sdiv)); in samsung_pll35xx_recalc_rate()
268 tmp |= rate->sdiv << PLL35XX_SDIV_SHIFT; in samsung_pll35xx_set_rate()
284 (rate->sdiv << PLL35XX_SDIV_SHIFT); in samsung_pll35xx_set_rate()
327 u32 mdiv, pdiv, sdiv, pll_con0, pll_con1; in samsung_pll36xx_recalc_rate() local
335 sdiv = (pll_con0 >> PLL36XX_SDIV_SHIFT) & PLL36XX_SDIV_MASK; in samsung_pll36xx_recalc_rate()
339 do_div(fvco, (pdiv << sdiv)); in samsung_pll36xx_recalc_rate()
378 pll_con0 |= (rate->sdiv << PLL36XX_SDIV_SHIFT); in samsung_pll36xx_set_rate()
393 (rate->sdiv << PLL36XX_SDIV_SHIFT); in samsung_pll36xx_set_rate()
437 u32 mdiv, pdiv, sdiv, pll_con3; in samsung_pll0822x_recalc_rate() local
443 sdiv = (pll_con3 >> PLL0822X_SDIV_SHIFT) & PLL0822X_SDIV_MASK; in samsung_pll0822x_recalc_rate()
446 do_div(fvco, (pdiv << sdiv)); in samsung_pll0822x_recalc_rate()
473 (rate->sdiv << PLL0822X_SDIV_SHIFT); in samsung_pll0822x_set_rate()
522 u32 mdiv, pdiv, sdiv, pll_con3, pll_con5; in samsung_pll0831x_recalc_rate() local
530 sdiv = (pll_con3 >> PLL0831X_SDIV_SHIFT) & PLL0831X_SDIV_MASK; in samsung_pll0831x_recalc_rate()
534 do_div(fvco, (pdiv << sdiv)); in samsung_pll0831x_recalc_rate()
564 (rate->sdiv << PLL0831X_SDIV_SHIFT); in samsung_pll0831x_set_rate()
620 u32 mdiv, pdiv, sdiv, pll_con; in samsung_pll45xx_recalc_rate() local
626 sdiv = (pll_con >> PLL45XX_SDIV_SHIFT) & PLL45XX_SDIV_MASK; in samsung_pll45xx_recalc_rate()
629 sdiv = sdiv - 1; in samsung_pll45xx_recalc_rate()
632 do_div(fvco, (pdiv << sdiv)); in samsung_pll45xx_recalc_rate()
671 con0 |= rate->sdiv << PLL45XX_SDIV_SHIFT; in samsung_pll45xx_set_rate()
683 (rate->sdiv << PLL45XX_SDIV_SHIFT); in samsung_pll45xx_set_rate()
753 u32 mdiv, pdiv, sdiv, kdiv, pll_con0, pll_con1, shift; in samsung_pll46xx_recalc_rate() local
761 sdiv = (pll_con0 >> PLL46XX_SDIV_SHIFT) & PLL46XX_SDIV_MASK; in samsung_pll46xx_recalc_rate()
768 do_div(fvco, (pdiv << sdiv)); in samsung_pll46xx_recalc_rate()
808 con0 |= rate->sdiv << PLL46XX_SDIV_SHIFT; in samsung_pll46xx_set_rate()
835 (rate->sdiv << PLL46XX_SDIV_SHIFT); in samsung_pll46xx_set_rate()
882 u32 mdiv, pdiv, sdiv, pll_con; in samsung_pll6552_recalc_rate() local
893 sdiv = (pll_con >> PLL6552_SDIV_SHIFT) & PLL6552_SDIV_MASK; in samsung_pll6552_recalc_rate()
896 do_div(fvco, (pdiv << sdiv)); in samsung_pll6552_recalc_rate()
922 u32 mdiv, pdiv, sdiv, kdiv, pll_con0, pll_con1; in samsung_pll6553_recalc_rate() local
929 sdiv = (pll_con0 >> PLL6553_SDIV_SHIFT) & PLL6553_SDIV_MASK; in samsung_pll6553_recalc_rate()
933 do_div(fvco, (pdiv << sdiv)); in samsung_pll6553_recalc_rate()
960 u32 pll_con, mdiv, pdiv, sdiv; in samsung_s3c2410_pll_recalc_rate() local
966 sdiv = (pll_con >> PLLS3C2410_SDIV_SHIFT) & PLLS3C2410_SDIV_MASK; in samsung_s3c2410_pll_recalc_rate()
969 do_div(fvco, (pdiv + 2) << sdiv); in samsung_s3c2410_pll_recalc_rate()
978 u32 pll_con, mdiv, pdiv, sdiv; in samsung_s3c2440_mpll_recalc_rate() local
984 sdiv = (pll_con >> PLLS3C2410_SDIV_SHIFT) & PLLS3C2410_SDIV_MASK; in samsung_s3c2440_mpll_recalc_rate()
987 do_div(fvco, (pdiv + 2) << sdiv); in samsung_s3c2440_mpll_recalc_rate()
1015 (rate->sdiv << PLLS3C2410_SDIV_SHIFT); in samsung_s3c2410_pll_set_rate()
1164 u32 mdiv, pdiv, sdiv, pll_con; in samsung_pll2550xx_recalc_rate() local
1170 sdiv = (pll_con >> PLL2550XX_S_SHIFT) & PLL2550XX_S_MASK; in samsung_pll2550xx_recalc_rate()
1173 do_div(fvco, (pdiv << sdiv)); in samsung_pll2550xx_recalc_rate()
1208 tmp |= rate->sdiv << PLL2550XX_S_SHIFT; in samsung_pll2550xx_set_rate()
1223 (rate->sdiv << PLL2550XX_S_SHIFT); in samsung_pll2550xx_set_rate()
1265 u32 mdiv, pdiv, sdiv, pll_con0, pll_con1; in samsung_pll2650x_recalc_rate() local
1271 sdiv = (pll_con0 >> PLL2650X_S_SHIFT) & PLL2650X_S_MASK; in samsung_pll2650x_recalc_rate()
1277 do_div(fout, (pdiv << sdiv)); in samsung_pll2650x_recalc_rate()
1310 (rate->sdiv << PLL2650X_S_SHIFT); in samsung_pll2650x_set_rate()
1356 u32 mdiv, pdiv, sdiv, pll_con0, pll_con2; in samsung_pll2650xx_recalc_rate() local
1364 sdiv = (pll_con0 >> PLL2650XX_SDIV_SHIFT) & PLL2650XX_SDIV_MASK; in samsung_pll2650xx_recalc_rate()
1368 do_div(fvco, (pdiv << sdiv)); in samsung_pll2650xx_recalc_rate()
1397 pll_con0 |= rate->sdiv << PLL2650XX_SDIV_SHIFT; in samsung_pll2650xx_set_rate()