Lines Matching refs:lcr_h
1460 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()
1838 lcr_h = UART01x_LCRH_WLEN_6; in pl011_set_termios()
1841 lcr_h = UART01x_LCRH_WLEN_7; in pl011_set_termios()
1844 lcr_h = UART01x_LCRH_WLEN_8; in pl011_set_termios()
1848 lcr_h |= UART01x_LCRH_STP2; in pl011_set_termios()
1850 lcr_h |= UART01x_LCRH_PEN; in pl011_set_termios()
1852 lcr_h |= UART01x_LCRH_EPS; in pl011_set_termios()
1855 lcr_h |= UART01x_LCRH_FEN; in pl011_set_termios()
1913 pl011_write_lcr_h(uap, lcr_h); in pl011_set_termios()
2112 unsigned int lcr_h, ibrd, fbrd; in pl011_console_get_options() local
2114 lcr_h = readw(uap->port.membase + uap->lcrh_tx); in pl011_console_get_options()
2117 if (lcr_h & UART01x_LCRH_PEN) { in pl011_console_get_options()
2118 if (lcr_h & UART01x_LCRH_EPS) in pl011_console_get_options()
2124 if ((lcr_h & 0x60) == UART01x_LCRH_WLEN_7) in pl011_console_get_options()