Lines Matching defs:prescaler
97 /* setting the prescaler and divisor reg is common for all chips */
99 u16 prescaler, unsigned int divisor)
101 /* select prescaler */
102 out_be16(&psc->mpc52xx_psc_clock_select, prescaler);
209 /* The 5200 has a fixed /32 prescaler, uartclk contains the ipb freq */
215 /* enable the /32 prescaler and set the divisor */
226 u16 prescaler;
228 /* The 5200B has a selectable /4 or /32 prescaler, uartclk contains the
235 /* select the proper prescaler and set the divisor */
238 prescaler = 0xdd00; /* /32 */
240 prescaler = 0xff00; /* /4 */
241 mpc52xx_set_divisor(PSC(port), prescaler, divisor);
318 /* /32 prescaler */
437 * pg. 30-10 that the chip supports a /32 and a /10 prescaler.
438 * Furthermore, it states that "After reset, the prescaler by 10
440 * 0x0000 which means a /32 prescaler. This is wrong.
442 * In reality using /32 prescaler doesn't work, as it is not supported!
443 * Use /16 or /10 prescaler, see "MPC5121e Hardware Design Guide",
445 * Calculate with a /16 prescaler here.
454 /* enable the /16 prescaler and set the divisor */