Home
last modified time | relevance | path

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

/drivers/tty/serial/
Damba-pl010.c298 unsigned int lcr_h; in pl010_break_ctl() local
301 lcr_h = readb(uap->port.membase + UART010_LCRH); in pl010_break_ctl()
303 lcr_h |= UART01x_LCRH_BRK; in pl010_break_ctl()
305 lcr_h &= ~UART01x_LCRH_BRK; in pl010_break_ctl()
306 writel(lcr_h, uap->port.membase + UART010_LCRH); in pl010_break_ctl()
387 unsigned int lcr_h, old_cr; in pl010_set_termios() local
399 lcr_h = UART01x_LCRH_WLEN_5; in pl010_set_termios()
402 lcr_h = UART01x_LCRH_WLEN_6; in pl010_set_termios()
405 lcr_h = UART01x_LCRH_WLEN_7; in pl010_set_termios()
408 lcr_h = UART01x_LCRH_WLEN_8; in pl010_set_termios()
[all …]
Damba-pl011.c1343 unsigned int lcr_h; in pl011_break_ctl() local
1346 lcr_h = readw(uap->port.membase + uap->lcrh_tx); in pl011_break_ctl()
1348 lcr_h |= UART01x_LCRH_BRK; in pl011_break_ctl()
1350 lcr_h &= ~UART01x_LCRH_BRK; in pl011_break_ctl()
1351 writew(lcr_h, uap->port.membase + uap->lcrh_tx); in pl011_break_ctl()
1553 unsigned int lcr_h, old_cr; in pl011_set_termios() local
1575 lcr_h = UART01x_LCRH_WLEN_5; in pl011_set_termios()
1578 lcr_h = UART01x_LCRH_WLEN_6; in pl011_set_termios()
1581 lcr_h = UART01x_LCRH_WLEN_7; in pl011_set_termios()
1584 lcr_h = UART01x_LCRH_WLEN_8; in pl011_set_termios()
[all …]
Dmxs-auart.c593 unsigned int lcr_h, quot; in auart_console_get_options() local
598 lcr_h = readl(port->membase + AUART_LINECTRL); in auart_console_get_options()
601 if (lcr_h & AUART_LINECTRL_PEN) { in auart_console_get_options()
602 if (lcr_h & AUART_LINECTRL_EPS) in auart_console_get_options()
608 if ((lcr_h & AUART_LINECTRL_WLEN_MASK) == AUART_LINECTRL_WLEN(2)) in auart_console_get_options()