Searched refs:lcr_h (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/tty/serial/ |
| D | amba-pl010.c | 301 unsigned int lcr_h; in pl010_break_ctl() local 304 lcr_h = readb(uap->port.membase + UART010_LCRH); in pl010_break_ctl() 306 lcr_h |= UART01x_LCRH_BRK; in pl010_break_ctl() 308 lcr_h &= ~UART01x_LCRH_BRK; in pl010_break_ctl() 309 writel(lcr_h, uap->port.membase + UART010_LCRH); in pl010_break_ctl() 386 unsigned int lcr_h, old_cr; in pl010_set_termios() local 398 lcr_h = UART01x_LCRH_WLEN_5; in pl010_set_termios() 401 lcr_h = UART01x_LCRH_WLEN_6; in pl010_set_termios() 404 lcr_h = UART01x_LCRH_WLEN_7; in pl010_set_termios() 407 lcr_h = UART01x_LCRH_WLEN_8; in pl010_set_termios() [all …]
|
| D | amba-pl011.c | 1585 unsigned int lcr_h; in pl011_break_ctl() local 1588 lcr_h = pl011_read(uap, REG_LCRH_TX); in pl011_break_ctl() 1590 lcr_h |= UART01x_LCRH_BRK; in pl011_break_ctl() 1592 lcr_h &= ~UART01x_LCRH_BRK; in pl011_break_ctl() 1593 pl011_write(lcr_h, uap, REG_LCRH_TX); in pl011_break_ctl() 1701 static void pl011_write_lcr_h(struct uart_amba_port *uap, unsigned int lcr_h) in pl011_write_lcr_h() argument 1703 pl011_write(lcr_h, uap, REG_LCRH_RX); in pl011_write_lcr_h() 1712 pl011_write(lcr_h, uap, REG_LCRH_TX); in pl011_write_lcr_h() 1953 unsigned int lcr_h, old_cr; in pl011_set_termios() local 1982 lcr_h = UART01x_LCRH_WLEN_5; in pl011_set_termios() [all …]
|
| D | mxs-auart.c | 1405 unsigned int lcr_h, quot; in auart_console_get_options() local 1410 lcr_h = mxs_read(s, REG_LINECTRL); in auart_console_get_options() 1413 if (lcr_h & AUART_LINECTRL_PEN) { in auart_console_get_options() 1414 if (lcr_h & AUART_LINECTRL_EPS) in auart_console_get_options() 1420 if ((lcr_h & AUART_LINECTRL_WLEN_MASK) == AUART_LINECTRL_WLEN(2)) in auart_console_get_options()
|