Lines Matching defs:termios
646 struct ktermios *termios,
660 switch (termios->c_cflag & CSIZE) {
676 if (termios->c_cflag & CSTOPB)
680 if (termios->c_cflag & PARENB) {
683 if (termios->c_cflag & PARODD)
691 if (termios->c_cflag & CRTSCTS) {
694 termios->c_cflag &= ~CLOCAL;
700 termios->c_cflag &= ~CMSPAR; /* Mark/Space parity is not supported */
709 baud = uart_get_baud_rate(port, termios, old, 0, uart_freq / 16);
712 if (tty_termios_baud_rate(termios))
713 tty_termios_encode_baud_rate(termios, baud, baud);
718 uart_update_timeout(port, termios->c_cflag, baud);