Searched refs:clkdiv (Results 1 – 5 of 5) sorted by relevance
79 unsigned long clkdiv; in s3c244x_setup_clocks() local91 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()
175 int mpc52xx_set_psc_clkdiv(int psc_id, int clkdiv) in mpc52xx_set_psc_clkdiv() argument186 mclken_div = 0x8000 | (clkdiv & 0x1FF); in mpc52xx_set_psc_clkdiv()
223 u32 clkdiv = __raw_readl(sclk->reg_divider); in s3c64xx_getrate_clksrc() local225 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()
234 unsigned long clkdiv; in s3c2412_setparent_armclk() local253 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()
275 extern int mpc52xx_set_psc_clkdiv(int psc_id, int clkdiv);