Home
last modified time | relevance | path

Searched refs:lcr_h (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/tty/serial/
Damba-pl010.c314 unsigned int lcr_h; in pl010_break_ctl() local
317 lcr_h = readb(uap->port.membase + UART010_LCRH); in pl010_break_ctl()
319 lcr_h |= UART01x_LCRH_BRK; in pl010_break_ctl()
321 lcr_h &= ~UART01x_LCRH_BRK; in pl010_break_ctl()
322 writel(lcr_h, uap->port.membase + UART010_LCRH); in pl010_break_ctl()
399 unsigned int lcr_h, old_cr; in pl010_set_termios() local
411 lcr_h = UART01x_LCRH_WLEN_5; in pl010_set_termios()
414 lcr_h = UART01x_LCRH_WLEN_6; in pl010_set_termios()
417 lcr_h = UART01x_LCRH_WLEN_7; in pl010_set_termios()
420 lcr_h = UART01x_LCRH_WLEN_8; in pl010_set_termios()
[all …]
Damba-pl011.c1460 unsigned int lcr_h; in pl011_break_ctl() local
1463 lcr_h = readw(uap->port.membase + uap->lcrh_tx); in pl011_break_ctl()
1465 lcr_h |= UART01x_LCRH_BRK; in pl011_break_ctl()
1467 lcr_h &= ~UART01x_LCRH_BRK; in pl011_break_ctl()
1468 writew(lcr_h, uap->port.membase + uap->lcrh_tx); in pl011_break_ctl()
1569 static void pl011_write_lcr_h(struct uart_amba_port *uap, unsigned int lcr_h) in pl011_write_lcr_h() argument
1571 writew(lcr_h, uap->port.membase + uap->lcrh_rx); in pl011_write_lcr_h()
1580 writew(lcr_h, uap->port.membase + uap->lcrh_tx); in pl011_write_lcr_h()
1806 unsigned int lcr_h, old_cr; in pl011_set_termios() local
1835 lcr_h = UART01x_LCRH_WLEN_5; in pl011_set_termios()
[all …]
Dmxs-auart.c1075 unsigned int lcr_h, quot; in auart_console_get_options() local
1080 lcr_h = readl(port->membase + AUART_LINECTRL); in auart_console_get_options()
1083 if (lcr_h & AUART_LINECTRL_PEN) { in auart_console_get_options()
1084 if (lcr_h & AUART_LINECTRL_EPS) in auart_console_get_options()
1090 if ((lcr_h & AUART_LINECTRL_WLEN_MASK) == AUART_LINECTRL_WLEN(2)) in auart_console_get_options()