Lines Matching defs:termios
649 struct ktermios *termios,
663 switch (termios->c_cflag & CSIZE) {
679 if (termios->c_cflag & CSTOPB)
683 if (termios->c_cflag & PARENB) {
686 if (termios->c_cflag & PARODD)
694 if (termios->c_cflag & CRTSCTS) {
697 termios->c_cflag &= ~CLOCAL;
703 termios->c_cflag &= ~CMSPAR; /* Mark/Space parity is not supported */
712 baud = uart_get_baud_rate(port, termios, old, 0, uart_freq / 16);
715 if (tty_termios_baud_rate(termios))
716 tty_termios_encode_baud_rate(termios, baud, baud);
721 uart_update_timeout(port, termios->c_cflag, baud);