Home
last modified time | relevance | path

Searched refs:sdiv (Results 1 – 4 of 4) sorted by relevance

/arch/arm/plat-samsung/include/plat/
Dpll.h30 unsigned int mdiv, pdiv, sdiv; in s3c24xx_get_pll() local
35 sdiv = (pllval >> S3C24XX_PLL_SDIV_SHIFT) & S3C24XX_PLL_SDIV_MASK; in s3c24xx_get_pll()
38 do_div(fvco, (pdiv + 2) << sdiv); in s3c24xx_get_pll()
53 unsigned int mdiv, pdiv, sdiv; in s3c2416_get_pll() local
58 sdiv = (pllval >> S3C2416_PLL_SDIV_SHIFT) & S3C2416_PLL_SDIV_MASK; in s3c2416_get_pll()
61 do_div(fvco, (pdiv << sdiv)); in s3c2416_get_pll()
76 u32 mdiv, pdiv, sdiv; in s3c6400_get_pll() local
81 sdiv = (pllcon >> S3C6400_PLL_SDIV_SHIFT) & S3C6400_PLL_SDIV_MASK; in s3c6400_get_pll()
84 do_div(fvco, (pdiv << sdiv)); in s3c6400_get_pll()
101 u32 mdiv, pdiv, sdiv, kdiv; in s3c_get_pll6553x() local
[all …]
/arch/arm/mach-s3c24xx/include/mach/
Dregs-s3c2443-clock.h156 unsigned int mdiv, pdiv, sdiv; in s3c2443_get_mpll() local
161 sdiv = pllval >> S3C2443_PLLCON_SDIVSHIFT; in s3c2443_get_mpll()
165 sdiv &= S3C2443_PLLCON_SDIVMASK; in s3c2443_get_mpll()
168 do_div(fvco, pdiv << sdiv); in s3c2443_get_mpll()
176 unsigned int mdiv, pdiv, sdiv; in s3c2443_get_epll() local
181 sdiv = pllval >> S3C2443_PLLCON_SDIVSHIFT; in s3c2443_get_epll()
185 sdiv &= S3C2443_PLLCON_SDIVMASK; in s3c2443_get_epll()
188 do_div(fvco, (pdiv + 2) << sdiv); in s3c2443_get_epll()
/arch/mips/cavium-octeon/
Dcsrc-octeon.c35 u64 sdiv = 0; in octeon_init_cvmcount() local
40 sdiv = rst_boot.s.pnr_mul; /* I/O clock */ in octeon_init_cvmcount()
41 f = (0x8000000000000000ull / sdiv) * 2; in octeon_init_cvmcount()
/arch/sparc/lib/
DMakefile7 lib-$(CONFIG_SPARC32) += mul.o rem.o sdiv.o udiv.o umul.o urem.o ashrdi3.o