Lines Matching refs:termios
629 serial_txx9_set_termios(struct uart_port *port, struct ktermios *termios, in serial_txx9_set_termios() argument
640 termios->c_cflag &= ~(HUPCL | CMSPAR); in serial_txx9_set_termios()
641 termios->c_cflag |= CLOCAL; in serial_txx9_set_termios()
646 switch (termios->c_cflag & CSIZE) { in serial_txx9_set_termios()
659 if (termios->c_cflag & CSTOPB) in serial_txx9_set_termios()
664 if (termios->c_cflag & PARENB) in serial_txx9_set_termios()
666 if (!(termios->c_cflag & PARODD)) in serial_txx9_set_termios()
672 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16/2); in serial_txx9_set_termios()
688 uart_update_timeout(port, termios->c_cflag, baud); in serial_txx9_set_termios()
692 if (termios->c_iflag & INPCK) in serial_txx9_set_termios()
694 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK)) in serial_txx9_set_termios()
701 if (termios->c_iflag & IGNPAR) in serial_txx9_set_termios()
703 if (termios->c_iflag & IGNBRK) { in serial_txx9_set_termios()
709 if (termios->c_iflag & IGNPAR) in serial_txx9_set_termios()
716 if ((termios->c_cflag & CREAD) == 0) in serial_txx9_set_termios()
720 if ((termios->c_cflag & CRTSCTS) && in serial_txx9_set_termios()