Lines Matching refs:lcr_h
314 unsigned int lcr_h; in pl010_break_ctl() local
317 lcr_h = readb(uap->port.membase + UART010_LCRH); in pl010_break_ctl()
319 lcr_h |= UART01x_LCRH_BRK; in pl010_break_ctl()
321 lcr_h &= ~UART01x_LCRH_BRK; in pl010_break_ctl()
322 writel(lcr_h, uap->port.membase + UART010_LCRH); in pl010_break_ctl()
399 unsigned int lcr_h, old_cr; in pl010_set_termios() local
411 lcr_h = UART01x_LCRH_WLEN_5; in pl010_set_termios()
414 lcr_h = UART01x_LCRH_WLEN_6; in pl010_set_termios()
417 lcr_h = UART01x_LCRH_WLEN_7; in pl010_set_termios()
420 lcr_h = UART01x_LCRH_WLEN_8; in pl010_set_termios()
424 lcr_h |= UART01x_LCRH_STP2; in pl010_set_termios()
426 lcr_h |= UART01x_LCRH_PEN; in pl010_set_termios()
428 lcr_h |= UART01x_LCRH_EPS; in pl010_set_termios()
431 lcr_h |= UART01x_LCRH_FEN; in pl010_set_termios()
486 writel(lcr_h, uap->port.membase + UART010_LCRH); in pl010_set_termios()
628 unsigned int lcr_h, quot; in pl010_console_get_options() local
629 lcr_h = readb(uap->port.membase + UART010_LCRH); in pl010_console_get_options()
632 if (lcr_h & UART01x_LCRH_PEN) { in pl010_console_get_options()
633 if (lcr_h & UART01x_LCRH_EPS) in pl010_console_get_options()
639 if ((lcr_h & 0x60) == UART01x_LCRH_WLEN_7) in pl010_console_get_options()