• Home
  • Raw
  • Download

Lines Matching refs:sdiv

77 	u32 pll_con, mdiv, pdiv, sdiv;  in samsung_pll2126_recalc_rate()  local
83 sdiv = (pll_con >> PLL2126_SDIV_SHIFT) & PLL2126_SDIV_MASK; in samsung_pll2126_recalc_rate()
86 do_div(fvco, (pdiv + 2) << sdiv); in samsung_pll2126_recalc_rate()
110 u32 pll_con, mdiv, pdiv, sdiv; in samsung_pll3000_recalc_rate() local
116 sdiv = (pll_con >> PLL3000_SDIV_SHIFT) & PLL3000_SDIV_MASK; in samsung_pll3000_recalc_rate()
119 do_div(fvco, pdiv << sdiv); in samsung_pll3000_recalc_rate()
147 u32 mdiv, pdiv, sdiv, pll_con; in samsung_pll35xx_recalc_rate() local
153 sdiv = (pll_con >> PLL35XX_SDIV_SHIFT) & PLL35XX_SDIV_MASK; in samsung_pll35xx_recalc_rate()
156 do_div(fvco, (pdiv << sdiv)); in samsung_pll35xx_recalc_rate()
192 tmp |= rate->sdiv << PLL35XX_SDIV_SHIFT; in samsung_pll35xx_set_rate()
208 (rate->sdiv << PLL35XX_SDIV_SHIFT); in samsung_pll35xx_set_rate()
250 u32 mdiv, pdiv, sdiv, pll_con0, pll_con1; in samsung_pll36xx_recalc_rate() local
258 sdiv = (pll_con0 >> PLL36XX_SDIV_SHIFT) & PLL36XX_SDIV_MASK; in samsung_pll36xx_recalc_rate()
262 do_div(fvco, (pdiv << sdiv)); in samsung_pll36xx_recalc_rate()
301 pll_con0 |= (rate->sdiv << PLL36XX_SDIV_SHIFT); in samsung_pll36xx_set_rate()
316 (rate->sdiv << PLL36XX_SDIV_SHIFT); in samsung_pll36xx_set_rate()
364 u32 mdiv, pdiv, sdiv, pll_con; in samsung_pll45xx_recalc_rate() local
370 sdiv = (pll_con >> PLL45XX_SDIV_SHIFT) & PLL45XX_SDIV_MASK; in samsung_pll45xx_recalc_rate()
373 sdiv = sdiv - 1; in samsung_pll45xx_recalc_rate()
376 do_div(fvco, (pdiv << sdiv)); in samsung_pll45xx_recalc_rate()
416 con0 |= rate->sdiv << PLL45XX_SDIV_SHIFT; in samsung_pll45xx_set_rate()
428 (rate->sdiv << PLL45XX_SDIV_SHIFT); in samsung_pll45xx_set_rate()
509 u32 mdiv, pdiv, sdiv, kdiv, pll_con0, pll_con1, shift; in samsung_pll46xx_recalc_rate() local
516 sdiv = (pll_con0 >> PLL46XX_SDIV_SHIFT) & PLL46XX_SDIV_MASK; in samsung_pll46xx_recalc_rate()
522 do_div(fvco, (pdiv << sdiv)); in samsung_pll46xx_recalc_rate()
563 con0 |= rate->sdiv << PLL46XX_SDIV_SHIFT; in samsung_pll46xx_set_rate()
582 (rate->sdiv << PLL46XX_SDIV_SHIFT) | in samsung_pll46xx_set_rate()
643 u32 mdiv, pdiv, sdiv, pll_con; in samsung_pll6552_recalc_rate() local
654 sdiv = (pll_con >> PLL6552_SDIV_SHIFT) & PLL6552_SDIV_MASK; in samsung_pll6552_recalc_rate()
657 do_div(fvco, (pdiv << sdiv)); in samsung_pll6552_recalc_rate()
683 u32 mdiv, pdiv, sdiv, kdiv, pll_con0, pll_con1; in samsung_pll6553_recalc_rate() local
690 sdiv = (pll_con0 >> PLL6553_SDIV_SHIFT) & PLL6553_SDIV_MASK; in samsung_pll6553_recalc_rate()
694 do_div(fvco, (pdiv << sdiv)); in samsung_pll6553_recalc_rate()
721 u32 pll_con, mdiv, pdiv, sdiv; in samsung_s3c2410_pll_recalc_rate() local
727 sdiv = (pll_con >> PLLS3C2410_SDIV_SHIFT) & PLLS3C2410_SDIV_MASK; in samsung_s3c2410_pll_recalc_rate()
730 do_div(fvco, (pdiv + 2) << sdiv); in samsung_s3c2410_pll_recalc_rate()
739 u32 pll_con, mdiv, pdiv, sdiv; in samsung_s3c2440_mpll_recalc_rate() local
745 sdiv = (pll_con >> PLLS3C2410_SDIV_SHIFT) & PLLS3C2410_SDIV_MASK; in samsung_s3c2440_mpll_recalc_rate()
748 do_div(fvco, (pdiv + 2) << sdiv); in samsung_s3c2440_mpll_recalc_rate()
776 (rate->sdiv << PLLS3C2410_SDIV_SHIFT); in samsung_s3c2410_pll_set_rate()
970 u32 mdiv, pdiv, sdiv, pll_con; in samsung_pll2550xx_recalc_rate() local
976 sdiv = (pll_con >> PLL2550XX_S_SHIFT) & PLL2550XX_S_MASK; in samsung_pll2550xx_recalc_rate()
979 do_div(fvco, (pdiv << sdiv)); in samsung_pll2550xx_recalc_rate()
1014 tmp |= rate->sdiv << PLL2550XX_S_SHIFT; in samsung_pll2550xx_set_rate()
1029 (rate->sdiv << PLL2550XX_S_SHIFT); in samsung_pll2550xx_set_rate()
1075 u32 mdiv, pdiv, sdiv, pll_con0, pll_con2; in samsung_pll2650xx_recalc_rate() local
1083 sdiv = (pll_con0 >> PLL2650XX_SDIV_SHIFT) & PLL2650XX_SDIV_MASK; in samsung_pll2650xx_recalc_rate()
1087 do_div(fvco, (pdiv << sdiv)); in samsung_pll2650xx_recalc_rate()
1116 pll_con0 |= rate->sdiv << PLL2650XX_SDIV_SHIFT; in samsung_pll2650xx_set_rate()