Lines Matching refs:lcr_h
1496 unsigned int lcr_h; in pl011_break_ctl() local
1499 lcr_h = readw(uap->port.membase + uap->lcrh_tx); in pl011_break_ctl()
1501 lcr_h |= UART01x_LCRH_BRK; in pl011_break_ctl()
1503 lcr_h &= ~UART01x_LCRH_BRK; in pl011_break_ctl()
1504 writew(lcr_h, uap->port.membase + uap->lcrh_tx); in pl011_break_ctl()
1605 static void pl011_write_lcr_h(struct uart_amba_port *uap, unsigned int lcr_h) in pl011_write_lcr_h() argument
1607 writew(lcr_h, uap->port.membase + uap->lcrh_rx); in pl011_write_lcr_h()
1616 writew(lcr_h, uap->port.membase + uap->lcrh_tx); in pl011_write_lcr_h()
1765 unsigned int lcr_h, old_cr; in pl011_set_termios() local
1794 lcr_h = UART01x_LCRH_WLEN_5; in pl011_set_termios()
1797 lcr_h = UART01x_LCRH_WLEN_6; in pl011_set_termios()
1800 lcr_h = UART01x_LCRH_WLEN_7; in pl011_set_termios()
1803 lcr_h = UART01x_LCRH_WLEN_8; in pl011_set_termios()
1807 lcr_h |= UART01x_LCRH_STP2; in pl011_set_termios()
1809 lcr_h |= UART01x_LCRH_PEN; in pl011_set_termios()
1811 lcr_h |= UART01x_LCRH_EPS; in pl011_set_termios()
1814 lcr_h |= UART01x_LCRH_FEN; in pl011_set_termios()
1898 pl011_write_lcr_h(uap, lcr_h); in pl011_set_termios()
2042 unsigned int lcr_h, ibrd, fbrd; in pl011_console_get_options() local
2044 lcr_h = readw(uap->port.membase + uap->lcrh_tx); in pl011_console_get_options()
2047 if (lcr_h & UART01x_LCRH_PEN) { in pl011_console_get_options()
2048 if (lcr_h & UART01x_LCRH_EPS) in pl011_console_get_options()
2054 if ((lcr_h & 0x60) == UART01x_LCRH_WLEN_7) in pl011_console_get_options()