Lines Matching refs:lcr_h
1649 unsigned int lcr_h; in pl011_break_ctl() local
1652 lcr_h = pl011_read(uap, REG_LCRH_TX); in pl011_break_ctl()
1654 lcr_h |= UART01x_LCRH_BRK; in pl011_break_ctl()
1656 lcr_h &= ~UART01x_LCRH_BRK; in pl011_break_ctl()
1657 pl011_write(lcr_h, uap, REG_LCRH_TX); in pl011_break_ctl()
1765 static void pl011_write_lcr_h(struct uart_amba_port *uap, unsigned int lcr_h) in pl011_write_lcr_h() argument
1767 pl011_write(lcr_h, uap, REG_LCRH_RX); in pl011_write_lcr_h()
1776 pl011_write(lcr_h, uap, REG_LCRH_TX); in pl011_write_lcr_h()
2030 unsigned int lcr_h, old_cr; in pl011_set_termios() local
2060 lcr_h = UART01x_LCRH_WLEN_5; in pl011_set_termios()
2063 lcr_h = UART01x_LCRH_WLEN_6; in pl011_set_termios()
2066 lcr_h = UART01x_LCRH_WLEN_7; in pl011_set_termios()
2069 lcr_h = UART01x_LCRH_WLEN_8; in pl011_set_termios()
2073 lcr_h |= UART01x_LCRH_STP2; in pl011_set_termios()
2075 lcr_h |= UART01x_LCRH_PEN; in pl011_set_termios()
2077 lcr_h |= UART01x_LCRH_EPS; in pl011_set_termios()
2079 lcr_h |= UART011_LCRH_SPS; in pl011_set_termios()
2082 lcr_h |= UART01x_LCRH_FEN; in pl011_set_termios()
2152 pl011_write_lcr_h(uap, lcr_h); in pl011_set_termios()
2386 unsigned int lcr_h, ibrd, fbrd; in pl011_console_get_options() local
2388 lcr_h = pl011_read(uap, REG_LCRH_TX); in pl011_console_get_options()
2391 if (lcr_h & UART01x_LCRH_PEN) { in pl011_console_get_options()
2392 if (lcr_h & UART01x_LCRH_EPS) in pl011_console_get_options()
2398 if ((lcr_h & 0x60) == UART01x_LCRH_WLEN_7) in pl011_console_get_options()