Lines Matching defs:termios
637 struct ktermios *termios,
647 /* Mask termios capabilities we don't support */
648 termios->c_cflag &= ~CMSPAR;
658 switch (termios->c_cflag & CSIZE) {
675 if (termios->c_cflag & PARENB) {
676 if (termios->c_cflag & PARODD)
682 mr2 = (termios->c_cflag & CSTOPB) ? MR2_STOP2 : MR2_STOP1;
691 if (termios->c_iflag & INPCK)
693 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
698 if (termios->c_iflag & IGNBRK)
700 if (termios->c_iflag & IGNPAR)
702 if (!(termios->c_cflag & CREAD))
706 baud = uart_get_baud_rate(port, termios, old, 50,
712 uart_update_timeout(port, termios->c_cflag, baud);
715 if (tty_termios_baud_rate(termios))
716 tty_termios_encode_baud_rate(termios, baud, baud);