Searched refs:sbr (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/tty/serial/ |
D | fsl_lpuart.c | 1408 unsigned int sbr, brfa; in lpuart_set_termios() local 1530 sbr = sport->port.uartclk / (16 * baud); in lpuart_set_termios() 1531 brfa = ((sport->port.uartclk - (16 * sbr * baud)) * 2) / baud; in lpuart_set_termios() 1533 bdh |= (sbr >> 8) & 0x1F; in lpuart_set_termios() 1538 writeb(sbr & 0xFF, sport->port.membase + UARTBDL); in lpuart_set_termios() 1559 u32 sbr, osr, baud_diff, tmp_osr, tmp_sbr, tmp_diff, tmp; in lpuart32_serial_setbrg() local 1573 sbr = 0; in lpuart32_serial_setbrg() 1597 sbr = tmp_sbr; in lpuart32_serial_setbrg() 1618 tmp |= sbr & UARTBAUD_SBR_MASK; in lpuart32_serial_setbrg() 1916 unsigned int sbr, uartclk, baud_raw; in lpuart_console_get_options() local [all …]
|