Lines Matching refs:sbr
1794 unsigned int sbr, brfa; in lpuart_set_termios() local
1914 sbr = sport->port.uartclk / (16 * baud); in lpuart_set_termios()
1915 brfa = ((sport->port.uartclk - (16 * sbr * baud)) * 2) / baud; in lpuart_set_termios()
1917 bdh |= (sbr >> 8) & 0x1F; in lpuart_set_termios()
1922 writeb(sbr & 0xFF, sport->port.membase + UARTBDL); in lpuart_set_termios()
1944 u32 sbr, osr, baud_diff, tmp_osr, tmp_sbr, tmp_diff, tmp; in __lpuart32_serial_setbrg() local
1958 sbr = 0; in __lpuart32_serial_setbrg()
1985 sbr = tmp_sbr; in __lpuart32_serial_setbrg()
2006 tmp |= sbr & UARTBAUD_SBR_MASK; in __lpuart32_serial_setbrg()
2338 unsigned int sbr, uartclk, baud_raw; in lpuart_console_get_options() local
2365 sbr = bdh; in lpuart_console_get_options()
2366 sbr <<= 8; in lpuart_console_get_options()
2367 sbr |= bdl; in lpuart_console_get_options()
2375 baud_raw = uartclk / (16 * (sbr + brfa / 32)); in lpuart_console_get_options()
2387 unsigned int sbr, uartclk, baud_raw; in lpuart32_console_get_options() local
2416 sbr = bd; in lpuart32_console_get_options()
2421 baud_raw = uartclk / (16 * sbr); in lpuart32_console_get_options()