Lines Matching refs:lcr_h
297 unsigned int lcr_h; in pl010_break_ctl() local
300 lcr_h = readb(uap->port.membase + UART010_LCRH); in pl010_break_ctl()
302 lcr_h |= UART01x_LCRH_BRK; in pl010_break_ctl()
304 lcr_h &= ~UART01x_LCRH_BRK; in pl010_break_ctl()
305 writel(lcr_h, uap->port.membase + UART010_LCRH); in pl010_break_ctl()
382 unsigned int lcr_h, old_cr; in pl010_set_termios() local
394 lcr_h = UART01x_LCRH_WLEN_5; in pl010_set_termios()
397 lcr_h = UART01x_LCRH_WLEN_6; in pl010_set_termios()
400 lcr_h = UART01x_LCRH_WLEN_7; in pl010_set_termios()
403 lcr_h = UART01x_LCRH_WLEN_8; in pl010_set_termios()
407 lcr_h |= UART01x_LCRH_STP2; in pl010_set_termios()
409 lcr_h |= UART01x_LCRH_PEN; in pl010_set_termios()
411 lcr_h |= UART01x_LCRH_EPS; in pl010_set_termios()
414 lcr_h |= UART01x_LCRH_FEN; in pl010_set_termios()
466 writel(lcr_h, uap->port.membase + UART010_LCRH); in pl010_set_termios()
608 unsigned int lcr_h, quot; in pl010_console_get_options() local
609 lcr_h = readb(uap->port.membase + UART010_LCRH); in pl010_console_get_options()
612 if (lcr_h & UART01x_LCRH_PEN) { in pl010_console_get_options()
613 if (lcr_h & UART01x_LCRH_EPS) in pl010_console_get_options()
619 if ((lcr_h & 0x60) == UART01x_LCRH_WLEN_7) in pl010_console_get_options()