Home
last modified time | relevance | path

Searched refs:clkdiv (Results 1 – 5 of 5) sorted by relevance

/arch/arm/plat-s3c24xx/
Ds3c244x.c79 unsigned long clkdiv; in s3c244x_setup_clocks() local
91 clkdiv = __raw_readl(S3C2410_CLKDIVN); in s3c244x_setup_clocks()
96 switch (clkdiv & S3C2440_CLKDIVN_HDIVN_MASK) { in s3c244x_setup_clocks()
115 pclk = hclk / ((clkdiv & S3C2440_CLKDIVN_PDIVN) ? 2 : 1); in s3c244x_setup_clocks()
/arch/powerpc/platforms/52xx/
Dmpc52xx_common.c175 int mpc52xx_set_psc_clkdiv(int psc_id, int clkdiv) in mpc52xx_set_psc_clkdiv() argument
186 mclken_div = 0x8000 | (clkdiv & 0x1FF); in mpc52xx_set_psc_clkdiv()
/arch/arm/plat-s3c64xx/
Ds3c6400-clock.c223 u32 clkdiv = __raw_readl(sclk->reg_divider); in s3c64xx_getrate_clksrc() local
225 clkdiv >>= sclk->divider_shift; in s3c64xx_getrate_clksrc()
226 clkdiv &= 0xf; in s3c64xx_getrate_clksrc()
227 clkdiv++; in s3c64xx_getrate_clksrc()
229 rate /= clkdiv; in s3c64xx_getrate_clksrc()
/arch/arm/mach-s3c2412/
Dclock.c234 unsigned long clkdiv; in s3c2412_setparent_armclk() local
253 clkdiv = __raw_readl(S3C2410_CLKDIVN); in s3c2412_setparent_armclk()
254 clkdiv &= ~S3C2412_CLKDIVN_DVSEN; in s3c2412_setparent_armclk()
255 clkdiv |= dvs; in s3c2412_setparent_armclk()
256 __raw_writel(clkdiv, S3C2410_CLKDIVN); in s3c2412_setparent_armclk()
/arch/powerpc/include/asm/
Dmpc52xx.h275 extern int mpc52xx_set_psc_clkdiv(int psc_id, int clkdiv);