Lines Matching defs:termios
491 struct ktermios *termios,
502 if (termios->c_iflag & INPCK)
506 if (termios->c_iflag & IGNPAR)
510 if ((termios->c_cflag & CREAD) == 0)
523 baud = uart_get_baud_rate(port, termios, old, min_baud, max_baud);
532 termios->c_iflag &= INPCK | IGNPAR;
533 termios->c_iflag |= old->c_iflag & ~(INPCK | IGNPAR);
534 termios->c_cflag &= CREAD | CBAUD;
535 termios->c_cflag |= old->c_cflag & ~(CREAD | CBAUD);
536 termios->c_cflag |= CS8;
540 tty_termios_encode_baud_rate(termios, baud, baud);
541 uart_update_timeout(port, termios->c_cflag, baud);