Lines Matching refs:lcr_h
295 unsigned int lcr_h; in pl010_break_ctl() local
298 lcr_h = readb(uap->port.membase + UART010_LCRH); in pl010_break_ctl()
300 lcr_h |= UART01x_LCRH_BRK; in pl010_break_ctl()
302 lcr_h &= ~UART01x_LCRH_BRK; in pl010_break_ctl()
303 writel(lcr_h, uap->port.membase + UART010_LCRH); in pl010_break_ctl()
380 unsigned int lcr_h, old_cr; in pl010_set_termios() local
392 lcr_h = UART01x_LCRH_WLEN_5; in pl010_set_termios()
395 lcr_h = UART01x_LCRH_WLEN_6; in pl010_set_termios()
398 lcr_h = UART01x_LCRH_WLEN_7; in pl010_set_termios()
401 lcr_h = UART01x_LCRH_WLEN_8; in pl010_set_termios()
405 lcr_h |= UART01x_LCRH_STP2; in pl010_set_termios()
407 lcr_h |= UART01x_LCRH_PEN; in pl010_set_termios()
409 lcr_h |= UART01x_LCRH_EPS; in pl010_set_termios()
412 lcr_h |= UART01x_LCRH_FEN; in pl010_set_termios()
467 writel(lcr_h, uap->port.membase + UART010_LCRH); in pl010_set_termios()
609 unsigned int lcr_h, quot; in pl010_console_get_options() local
610 lcr_h = readb(uap->port.membase + UART010_LCRH); in pl010_console_get_options()
613 if (lcr_h & UART01x_LCRH_PEN) { in pl010_console_get_options()
614 if (lcr_h & UART01x_LCRH_EPS) in pl010_console_get_options()
620 if ((lcr_h & 0x60) == UART01x_LCRH_WLEN_7) in pl010_console_get_options()