Lines Matching refs:sbr
1635 unsigned int sbr, brfa; in lpuart_set_termios() local
1755 sbr = sport->port.uartclk / (16 * baud); in lpuart_set_termios()
1756 brfa = ((sport->port.uartclk - (16 * sbr * baud)) * 2) / baud; in lpuart_set_termios()
1758 bdh |= (sbr >> 8) & 0x1F; in lpuart_set_termios()
1763 writeb(sbr & 0xFF, sport->port.membase + UARTBDL); in lpuart_set_termios()
1784 u32 sbr, osr, baud_diff, tmp_osr, tmp_sbr, tmp_diff, tmp; in lpuart32_serial_setbrg() local
1798 sbr = 0; in lpuart32_serial_setbrg()
1822 sbr = tmp_sbr; in lpuart32_serial_setbrg()
1843 tmp |= sbr & UARTBAUD_SBR_MASK; in lpuart32_serial_setbrg()
2158 unsigned int sbr, uartclk, baud_raw; in lpuart_console_get_options() local
2185 sbr = bdh; in lpuart_console_get_options()
2186 sbr <<= 8; in lpuart_console_get_options()
2187 sbr |= bdl; in lpuart_console_get_options()
2195 baud_raw = uartclk / (16 * (sbr + brfa / 32)); in lpuart_console_get_options()
2207 unsigned int sbr, uartclk, baud_raw; in lpuart32_console_get_options() local
2233 sbr = bd; in lpuart32_console_get_options()
2238 baud_raw = uartclk / (16 * sbr); in lpuart32_console_get_options()