Lines Matching refs:sbr
1982 unsigned int sbr, brfa; in lpuart_set_termios() local
2100 sbr = sport->port.uartclk / (16 * baud); in lpuart_set_termios()
2101 brfa = ((sport->port.uartclk - (16 * sbr * baud)) * 2) / baud; in lpuart_set_termios()
2103 bdh |= (sbr >> 8) & 0x1F; in lpuart_set_termios()
2108 writeb(sbr & 0xFF, sport->port.membase + UARTBDL); in lpuart_set_termios()
2130 u32 sbr, osr, baud_diff, tmp_osr, tmp_sbr, tmp_diff, tmp; in __lpuart32_serial_setbrg() local
2144 sbr = 0; in __lpuart32_serial_setbrg()
2171 sbr = tmp_sbr; in __lpuart32_serial_setbrg()
2192 tmp |= sbr & UARTBAUD_SBR_MASK; in __lpuart32_serial_setbrg()
2549 unsigned int sbr, uartclk, baud_raw; in lpuart_console_get_options() local
2576 sbr = bdh; in lpuart_console_get_options()
2577 sbr <<= 8; in lpuart_console_get_options()
2578 sbr |= bdl; in lpuart_console_get_options()
2586 baud_raw = uartclk / (16 * (sbr + brfa / 32)); in lpuart_console_get_options()
2598 unsigned int sbr, uartclk, baud_raw; in lpuart32_console_get_options() local
2627 sbr = bd; in lpuart32_console_get_options()
2632 baud_raw = uartclk / (16 * sbr); in lpuart32_console_get_options()