Lines Matching refs:prescaler
123 /* setting the prescaler and divisor reg is common for all chips */
125 u16 prescaler, unsigned int divisor)
127 /* select prescaler */
128 out_be16(&psc->mpc52xx_psc_clock_select, prescaler);
295 /* The 5200 has a fixed /32 prescaler, uartclk contains the ipb freq */
301 /* enable the /32 prescaler and set the divisor */
312 u16 prescaler;
314 /* The 5200B has a selectable /4 or /32 prescaler, uartclk contains the
321 /* select the proper prescaler and set the divisor
322 * prefer high prescaler for more tolerance on low baudrates */
325 prescaler = 0xdd00; /* /32 */
327 prescaler = 0xff00; /* /4 */
328 mpc52xx_set_divisor(PSC(port), prescaler, divisor);
424 /* /32 prescaler */
543 * pg. 30-10 that the chip supports a /32 and a /10 prescaler.
544 * Furthermore, it states that "After reset, the prescaler by 10
546 * 0x0000 which means a /32 prescaler. This is wrong.
548 * In reality using /32 prescaler doesn't work, as it is not supported!
549 * Use /16 or /10 prescaler, see "MPC5121e Hardware Design Guide",
551 * Calculate with a /16 prescaler here.
560 /* enable the /16 prescaler and set the divisor */
765 /* /32 prescaler */
873 u8 prescaler, unsigned int divisor)
875 /* select prescaler */
876 out_8(&psc->mpc52xx_psc_clock_select, prescaler);
889 * Calculate with a /16 prescaler here.
898 /* enable the /16 prescaler and set the divisor */