Lines Matching defs:termios
573 serial_txx9_set_termios(struct uart_port *up, struct ktermios *termios,
583 termios->c_cflag &= ~(HUPCL | CMSPAR);
584 termios->c_cflag |= CLOCAL;
589 switch (termios->c_cflag & CSIZE) {
598 termios->c_cflag &= ~CSIZE;
599 termios->c_cflag |= CS8;
604 if (termios->c_cflag & CSTOPB)
609 if (termios->c_cflag & PARENB)
611 if (!(termios->c_cflag & PARODD))
617 baud = uart_get_baud_rate(up, termios, old, 0, up->uartclk/16/2);
633 uart_update_timeout(up, termios->c_cflag, baud);
637 if (termios->c_iflag & INPCK)
639 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
646 if (termios->c_iflag & IGNPAR)
648 if (termios->c_iflag & IGNBRK) {
654 if (termios->c_iflag & IGNPAR)
661 if ((termios->c_cflag & CREAD) == 0)
665 if ((termios->c_cflag & CRTSCTS) &&