Lines Matching refs:sbr
1209 unsigned int sbr, brfa; in lpuart_set_termios() local
1319 sbr = sport->port.uartclk / (16 * baud); in lpuart_set_termios()
1320 brfa = ((sport->port.uartclk - (16 * sbr * baud)) * 2) / baud; in lpuart_set_termios()
1322 bdh |= (sbr >> 8) & 0x1F; in lpuart_set_termios()
1327 writeb(sbr & 0xFF, sport->port.membase + UARTBDL); in lpuart_set_termios()
1346 unsigned int sbr; in lpuart32_set_termios() local
1443 sbr = sport->port.uartclk / (16 * baud); in lpuart32_set_termios()
1445 bd |= sbr & UARTBAUD_SBR_MASK; in lpuart32_set_termios()
1605 unsigned int sbr, uartclk, baud_raw; in lpuart_console_get_options() local
1632 sbr = bdh; in lpuart_console_get_options()
1633 sbr <<= 8; in lpuart_console_get_options()
1634 sbr |= bdl; in lpuart_console_get_options()
1642 baud_raw = uartclk / (16 * (sbr + brfa / 32)); in lpuart_console_get_options()
1654 unsigned int sbr, uartclk, baud_raw; in lpuart32_console_get_options() local
1680 sbr = bd; in lpuart32_console_get_options()
1685 baud_raw = uartclk / (16 * sbr); in lpuart32_console_get_options()