Home
last modified time | relevance | path

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

/external/u-boot/arch/mips/mach-au1x00/
Dau1x00_serial.c57 int divisorx2; in au1x00_serial_setbrg() local
64 divisorx2 = ((CONFIG_SYS_MIPS_TIMER_FREQ/(sd * 16 * CONFIG_BAUDRATE))); in au1x00_serial_setbrg()
66 if (divisorx2 & 0x01) in au1x00_serial_setbrg()
67 divisorx2 = divisorx2 + 1; in au1x00_serial_setbrg()
69 *uart_clk = divisorx2 / 2; in au1x00_serial_setbrg()