Searched refs:divisorx2 (Results 1 – 1 of 1) sorted by relevance
57 int divisorx2; in au1x00_serial_setbrg() local64 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()