Searched refs:pdiv (Results 1 - 2 of 2) sorted by relevance

/arch/arm/mach-s3c24xx/include/mach/
H A Dregs-s3c2443-clock.h154 unsigned int mdiv, pdiv, sdiv; local
158 pdiv = pllval >> S3C2443_PLLCON_PDIVSHIFT;
162 pdiv &= S3C2443_PLLCON_PDIVMASK;
166 do_div(fvco, pdiv << sdiv);
174 unsigned int mdiv, pdiv, sdiv; local
178 pdiv = pllval >> S3C2443_PLLCON_PDIVSHIFT;
182 pdiv &= S3C2443_PLLCON_PDIVMASK;
186 do_div(fvco, (pdiv + 2) << sdiv);
/arch/arm/mach-ep93xx/
H A Dclock.c355 int *psel, int *esel, int *pdiv, int *div)
392 *pdiv = __pdiv - 3;
412 int err, psel = 0, esel = 0, pdiv = 0, div = 0; local
415 err = calc_clk_div(clk, rate, &psel, &esel, &pdiv, &div);
419 /* Clear the esel, psel, pdiv and div bits */
423 /* Set the new esel, psel, pdiv and div bits for the new clock rate */
426 (pdiv << EP93XX_SYSCON_CLKDIV_PDIV_SHIFT) | div;
354 calc_clk_div(struct clk *clk, unsigned long rate, int *psel, int *esel, int *pdiv, int *div) argument

Completed in 105 milliseconds