Lines Matching defs:termios
621 serial_txx9_set_termios(struct uart_port *port, struct ktermios *termios,
632 termios->c_cflag &= ~(HUPCL | CMSPAR);
633 termios->c_cflag |= CLOCAL;
638 switch (termios->c_cflag & CSIZE) {
647 termios->c_cflag &= ~CSIZE;
648 termios->c_cflag |= CS8;
653 if (termios->c_cflag & CSTOPB)
658 if (termios->c_cflag & PARENB)
660 if (!(termios->c_cflag & PARODD))
666 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16/2);
682 uart_update_timeout(port, termios->c_cflag, baud);
686 if (termios->c_iflag & INPCK)
688 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
695 if (termios->c_iflag & IGNPAR)
697 if (termios->c_iflag & IGNBRK) {
703 if (termios->c_iflag & IGNPAR)
710 if ((termios->c_cflag & CREAD) == 0)
714 if ((termios->c_cflag & CRTSCTS) &&