Lines Matching refs:lcr_h
1637 unsigned int lcr_h; in pl011_break_ctl() local
1640 lcr_h = pl011_read(uap, REG_LCRH_TX); in pl011_break_ctl()
1642 lcr_h |= UART01x_LCRH_BRK; in pl011_break_ctl()
1644 lcr_h &= ~UART01x_LCRH_BRK; in pl011_break_ctl()
1645 pl011_write(lcr_h, uap, REG_LCRH_TX); in pl011_break_ctl()
1752 static void pl011_write_lcr_h(struct uart_amba_port *uap, unsigned int lcr_h) in pl011_write_lcr_h() argument
1754 pl011_write(lcr_h, uap, REG_LCRH_RX); in pl011_write_lcr_h()
1763 pl011_write(lcr_h, uap, REG_LCRH_TX); in pl011_write_lcr_h()
2026 unsigned int lcr_h, old_cr; in pl011_set_termios() local
2056 lcr_h = UART01x_LCRH_WLEN_5; in pl011_set_termios()
2059 lcr_h = UART01x_LCRH_WLEN_6; in pl011_set_termios()
2062 lcr_h = UART01x_LCRH_WLEN_7; in pl011_set_termios()
2065 lcr_h = UART01x_LCRH_WLEN_8; in pl011_set_termios()
2069 lcr_h |= UART01x_LCRH_STP2; in pl011_set_termios()
2071 lcr_h |= UART01x_LCRH_PEN; in pl011_set_termios()
2073 lcr_h |= UART01x_LCRH_EPS; in pl011_set_termios()
2075 lcr_h |= UART011_LCRH_SPS; in pl011_set_termios()
2078 lcr_h |= UART01x_LCRH_FEN; in pl011_set_termios()
2146 pl011_write_lcr_h(uap, lcr_h); in pl011_set_termios()
2350 unsigned int lcr_h, ibrd, fbrd; in pl011_console_get_options() local
2355 lcr_h = pl011_read(uap, REG_LCRH_TX); in pl011_console_get_options()
2358 if (lcr_h & UART01x_LCRH_PEN) { in pl011_console_get_options()
2359 if (lcr_h & UART01x_LCRH_EPS) in pl011_console_get_options()
2365 if ((lcr_h & 0x60) == UART01x_LCRH_WLEN_7) in pl011_console_get_options()