Searched refs:lcr_h (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | amba-pl010.c | 271 unsigned int lcr_h; in pl010_break_ctl() local 274 lcr_h = readb(port->membase + UART010_LCRH); in pl010_break_ctl() 276 lcr_h |= UART01x_LCRH_BRK; in pl010_break_ctl() 278 lcr_h &= ~UART01x_LCRH_BRK; in pl010_break_ctl() 279 writel(lcr_h, port->membase + UART010_LCRH); in pl010_break_ctl() 354 unsigned int lcr_h, old_cr; in pl010_set_termios() local 366 lcr_h = UART01x_LCRH_WLEN_5; in pl010_set_termios() 369 lcr_h = UART01x_LCRH_WLEN_6; in pl010_set_termios() 372 lcr_h = UART01x_LCRH_WLEN_7; in pl010_set_termios() 375 lcr_h = UART01x_LCRH_WLEN_8; in pl010_set_termios() [all …]
|
H A D | amba-pl011.c | 1654 unsigned int lcr_h; in pl011_break_ctl() local 1657 lcr_h = pl011_read(uap, REG_LCRH_TX); in pl011_break_ctl() 1659 lcr_h |= UART01x_LCRH_BRK; in pl011_break_ctl() 1661 lcr_h &= ~UART01x_LCRH_BRK; in pl011_break_ctl() 1662 pl011_write(lcr_h, uap, REG_LCRH_TX); in pl011_break_ctl() 1770 static void pl011_write_lcr_h(struct uart_amba_port *uap, unsigned int lcr_h) in pl011_write_lcr_h() argument 1772 pl011_write(lcr_h, uap, REG_LCRH_RX); in pl011_write_lcr_h() 1781 pl011_write(lcr_h, uap, REG_LCRH_TX); in pl011_write_lcr_h() 2052 unsigned int lcr_h, old_cr; in pl011_set_termios() local 2082 lcr_h = UART01x_LCRH_WLEN_5; in pl011_set_termios() [all …]
|
H A D | mxs-auart.c | 1363 unsigned int lcr_h, quot; in auart_console_get_options() local 1368 lcr_h = mxs_read(s, REG_LINECTRL); in auart_console_get_options() 1371 if (lcr_h & AUART_LINECTRL_PEN) { in auart_console_get_options() 1372 if (lcr_h & AUART_LINECTRL_EPS) in auart_console_get_options() 1378 if ((lcr_h & AUART_LINECTRL_WLEN_MASK) == AUART_LINECTRL_WLEN(7)) in auart_console_get_options()
|