Lines Matching refs:c_cflag
440 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8; in pnx8xxx_set_termios()
445 while ((termios->c_cflag & CSIZE) != CS7 && in pnx8xxx_set_termios()
446 (termios->c_cflag & CSIZE) != CS8) { in pnx8xxx_set_termios()
447 termios->c_cflag &= ~CSIZE; in pnx8xxx_set_termios()
448 termios->c_cflag |= old_csize; in pnx8xxx_set_termios()
452 if ((termios->c_cflag & CSIZE) == CS8) in pnx8xxx_set_termios()
457 if (termios->c_cflag & CSTOPB) in pnx8xxx_set_termios()
459 if (termios->c_cflag & PARENB) { in pnx8xxx_set_termios()
461 if (!(termios->c_cflag & PARODD)) in pnx8xxx_set_termios()
507 if ((termios->c_cflag & CREAD) == 0) in pnx8xxx_set_termios()
516 uart_update_timeout(port, termios->c_cflag, baud); in pnx8xxx_set_termios()
546 if (UART_ENABLE_MS(&sport->port, termios->c_cflag)) in pnx8xxx_set_termios()