• Home
  • Raw
  • Download

Lines Matching refs:sdiv

109 	u32 pll_con, mdiv, pdiv, sdiv;  in samsung_pll2126_recalc_rate()  local
115 sdiv = (pll_con >> PLL2126_SDIV_SHIFT) & PLL2126_SDIV_MASK; in samsung_pll2126_recalc_rate()
118 do_div(fvco, (pdiv + 2) << sdiv); in samsung_pll2126_recalc_rate()
142 u32 pll_con, mdiv, pdiv, sdiv; in samsung_pll3000_recalc_rate() local
148 sdiv = (pll_con >> PLL3000_SDIV_SHIFT) & PLL3000_SDIV_MASK; in samsung_pll3000_recalc_rate()
151 do_div(fvco, pdiv << sdiv); in samsung_pll3000_recalc_rate()
179 u32 mdiv, pdiv, sdiv, pll_con; in samsung_pll35xx_recalc_rate() local
185 sdiv = (pll_con >> PLL35XX_SDIV_SHIFT) & PLL35XX_SDIV_MASK; in samsung_pll35xx_recalc_rate()
188 do_div(fvco, (pdiv << sdiv)); in samsung_pll35xx_recalc_rate()
224 tmp |= rate->sdiv << PLL35XX_SDIV_SHIFT; in samsung_pll35xx_set_rate()
240 (rate->sdiv << PLL35XX_SDIV_SHIFT); in samsung_pll35xx_set_rate()
286 u32 mdiv, pdiv, sdiv, pll_con0, pll_con1; in samsung_pll36xx_recalc_rate() local
294 sdiv = (pll_con0 >> PLL36XX_SDIV_SHIFT) & PLL36XX_SDIV_MASK; in samsung_pll36xx_recalc_rate()
298 do_div(fvco, (pdiv << sdiv)); in samsung_pll36xx_recalc_rate()
337 pll_con0 |= (rate->sdiv << PLL36XX_SDIV_SHIFT); in samsung_pll36xx_set_rate()
352 (rate->sdiv << PLL36XX_SDIV_SHIFT); in samsung_pll36xx_set_rate()
404 u32 mdiv, pdiv, sdiv, pll_con; in samsung_pll45xx_recalc_rate() local
410 sdiv = (pll_con >> PLL45XX_SDIV_SHIFT) & PLL45XX_SDIV_MASK; in samsung_pll45xx_recalc_rate()
413 sdiv = sdiv - 1; in samsung_pll45xx_recalc_rate()
416 do_div(fvco, (pdiv << sdiv)); in samsung_pll45xx_recalc_rate()
456 con0 |= rate->sdiv << PLL45XX_SDIV_SHIFT; in samsung_pll45xx_set_rate()
468 (rate->sdiv << PLL45XX_SDIV_SHIFT); in samsung_pll45xx_set_rate()
551 u32 mdiv, pdiv, sdiv, kdiv, pll_con0, pll_con1, shift; in samsung_pll46xx_recalc_rate() local
559 sdiv = (pll_con0 >> PLL46XX_SDIV_SHIFT) & PLL46XX_SDIV_MASK; in samsung_pll46xx_recalc_rate()
566 do_div(fvco, (pdiv << sdiv)); in samsung_pll46xx_recalc_rate()
607 con0 |= rate->sdiv << PLL46XX_SDIV_SHIFT; in samsung_pll46xx_set_rate()
634 (rate->sdiv << PLL46XX_SDIV_SHIFT); in samsung_pll46xx_set_rate()
694 u32 mdiv, pdiv, sdiv, pll_con; in samsung_pll6552_recalc_rate() local
705 sdiv = (pll_con >> PLL6552_SDIV_SHIFT) & PLL6552_SDIV_MASK; in samsung_pll6552_recalc_rate()
708 do_div(fvco, (pdiv << sdiv)); in samsung_pll6552_recalc_rate()
734 u32 mdiv, pdiv, sdiv, kdiv, pll_con0, pll_con1; in samsung_pll6553_recalc_rate() local
741 sdiv = (pll_con0 >> PLL6553_SDIV_SHIFT) & PLL6553_SDIV_MASK; in samsung_pll6553_recalc_rate()
745 do_div(fvco, (pdiv << sdiv)); in samsung_pll6553_recalc_rate()
772 u32 pll_con, mdiv, pdiv, sdiv; in samsung_s3c2410_pll_recalc_rate() local
778 sdiv = (pll_con >> PLLS3C2410_SDIV_SHIFT) & PLLS3C2410_SDIV_MASK; in samsung_s3c2410_pll_recalc_rate()
781 do_div(fvco, (pdiv + 2) << sdiv); in samsung_s3c2410_pll_recalc_rate()
790 u32 pll_con, mdiv, pdiv, sdiv; in samsung_s3c2440_mpll_recalc_rate() local
796 sdiv = (pll_con >> PLLS3C2410_SDIV_SHIFT) & PLLS3C2410_SDIV_MASK; in samsung_s3c2440_mpll_recalc_rate()
799 do_div(fvco, (pdiv + 2) << sdiv); in samsung_s3c2440_mpll_recalc_rate()
827 (rate->sdiv << PLLS3C2410_SDIV_SHIFT); in samsung_s3c2410_pll_set_rate()
976 u32 mdiv, pdiv, sdiv, pll_con; in samsung_pll2550xx_recalc_rate() local
982 sdiv = (pll_con >> PLL2550XX_S_SHIFT) & PLL2550XX_S_MASK; in samsung_pll2550xx_recalc_rate()
985 do_div(fvco, (pdiv << sdiv)); in samsung_pll2550xx_recalc_rate()
1020 tmp |= rate->sdiv << PLL2550XX_S_SHIFT; in samsung_pll2550xx_set_rate()
1035 (rate->sdiv << PLL2550XX_S_SHIFT); in samsung_pll2550xx_set_rate()
1082 u32 mdiv, pdiv, sdiv, pll_con0, pll_con1; in samsung_pll2650x_recalc_rate() local
1088 sdiv = (pll_con0 >> PLL2650X_S_SHIFT) & PLL2650X_S_MASK; in samsung_pll2650x_recalc_rate()
1094 do_div(fout, (pdiv << sdiv)); in samsung_pll2650x_recalc_rate()
1127 (rate->sdiv << PLL2650X_S_SHIFT); in samsung_pll2650x_set_rate()
1177 u32 mdiv, pdiv, sdiv, pll_con0, pll_con2; in samsung_pll2650xx_recalc_rate() local
1185 sdiv = (pll_con0 >> PLL2650XX_SDIV_SHIFT) & PLL2650XX_SDIV_MASK; in samsung_pll2650xx_recalc_rate()
1189 do_div(fvco, (pdiv << sdiv)); in samsung_pll2650xx_recalc_rate()
1218 pll_con0 |= rate->sdiv << PLL2650XX_SDIV_SHIFT; in samsung_pll2650xx_set_rate()