Lines Matching refs:termios
336 struct ktermios *termios,
348 baud = uart_get_baud_rate(port, termios, old, 900, 921600);
350 if (tty_termios_baud_rate(termios))
351 tty_termios_encode_baud_rate(termios, baud, baud);
356 if (termios->c_cflag & PARENB) {
358 termios->c_cflag &= ~CMSPAR;
359 if (termios->c_cflag & PARODD)
365 switch (termios->c_cflag & CSIZE) {
371 termios->c_cflag &= ~CSIZE;
372 termios->c_cflag |= CS8;
378 if (termios->c_cflag & CSTOPB)
390 if (termios->c_iflag & IGNPAR)
393 uart_update_timeout(port, termios->c_cflag, baud);
407 if (UART_ENABLE_MS(&vt8500_port->uart, termios->c_cflag))