Lines Matching refs:lcr_h
1654 unsigned int lcr_h; in pl011_break_ctl() local
1657 lcr_h = pl011_read(uap, REG_LCRH_TX); in pl011_break_ctl()
1659 lcr_h |= UART01x_LCRH_BRK; in pl011_break_ctl()
1661 lcr_h &= ~UART01x_LCRH_BRK; in pl011_break_ctl()
1662 pl011_write(lcr_h, uap, REG_LCRH_TX); in pl011_break_ctl()
1770 static void pl011_write_lcr_h(struct uart_amba_port *uap, unsigned int lcr_h) in pl011_write_lcr_h() argument
1772 pl011_write(lcr_h, uap, REG_LCRH_RX); in pl011_write_lcr_h()
1781 pl011_write(lcr_h, uap, REG_LCRH_TX); in pl011_write_lcr_h()
2052 unsigned int lcr_h, old_cr; in pl011_set_termios() local
2082 lcr_h = UART01x_LCRH_WLEN_5; in pl011_set_termios()
2085 lcr_h = UART01x_LCRH_WLEN_6; in pl011_set_termios()
2088 lcr_h = UART01x_LCRH_WLEN_7; in pl011_set_termios()
2091 lcr_h = UART01x_LCRH_WLEN_8; in pl011_set_termios()
2095 lcr_h |= UART01x_LCRH_STP2; in pl011_set_termios()
2097 lcr_h |= UART01x_LCRH_PEN; in pl011_set_termios()
2099 lcr_h |= UART01x_LCRH_EPS; in pl011_set_termios()
2101 lcr_h |= UART011_LCRH_SPS; in pl011_set_termios()
2104 lcr_h |= UART01x_LCRH_FEN; in pl011_set_termios()
2172 pl011_write_lcr_h(uap, lcr_h); in pl011_set_termios()
2380 unsigned int lcr_h, ibrd, fbrd; in pl011_console_get_options() local
2382 lcr_h = pl011_read(uap, REG_LCRH_TX); in pl011_console_get_options()
2385 if (lcr_h & UART01x_LCRH_PEN) { in pl011_console_get_options()
2386 if (lcr_h & UART01x_LCRH_EPS) in pl011_console_get_options()
2392 if ((lcr_h & 0x60) == UART01x_LCRH_WLEN_7) in pl011_console_get_options()