Lines Matching refs:last_lcr
101 unsigned char last_lcr; /* Line Control Register */ member
418 unsigned char last_lcr; in mct_u232_open() local
441 priv->last_lcr = (MCT_U232_DATA_BITS_8 | in mct_u232_open()
445 last_lcr = priv->last_lcr; in mct_u232_open()
448 mct_u232_set_line_ctrl(port, last_lcr); in mct_u232_open()
605 unsigned char last_lcr; in mct_u232_set_termios() local
611 last_lcr = 0; in mct_u232_set_termios()
642 last_lcr |= (cflag & PARODD) ? in mct_u232_set_termios()
645 last_lcr |= MCT_U232_PARITY_NONE; in mct_u232_set_termios()
650 last_lcr |= MCT_U232_DATA_BITS_5; break; in mct_u232_set_termios()
652 last_lcr |= MCT_U232_DATA_BITS_6; break; in mct_u232_set_termios()
654 last_lcr |= MCT_U232_DATA_BITS_7; break; in mct_u232_set_termios()
656 last_lcr |= MCT_U232_DATA_BITS_8; break; in mct_u232_set_termios()
660 last_lcr |= MCT_U232_DATA_BITS_8; in mct_u232_set_termios()
667 last_lcr |= (cflag & CSTOPB) ? in mct_u232_set_termios()
670 mct_u232_set_line_ctrl(port, last_lcr); in mct_u232_set_termios()
675 priv->last_lcr = last_lcr; in mct_u232_set_termios()
687 lcr = priv->last_lcr; in mct_u232_break_ctl()