Lines Matching defs:termios
533 static void sbd_set_termios(struct uart_port *uport, struct ktermios *termios,
549 switch (termios->c_cflag & CSIZE) {
565 if (termios->c_cflag & CSTOPB)
569 if (termios->c_cflag & PARENB)
573 if (termios->c_cflag & PARODD)
578 baud = uart_get_baud_rate(uport, termios, old_termios, 1200, 5000000);
584 uart_update_timeout(uport, termios->c_cflag, baud);
587 if (termios->c_iflag & INPCK)
590 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
594 if (termios->c_iflag & IGNPAR)
597 if (termios->c_iflag & IGNBRK) {
599 if (termios->c_iflag & IGNPAR)
603 if (termios->c_cflag & CREAD)
608 if (termios->c_cflag & CRTSCTS)