Lines Matching refs:termios
433 pnx8xxx_set_termios(struct uart_port *port, struct ktermios *termios,
445 while ((termios->c_cflag & CSIZE) != CS7 &&
446 (termios->c_cflag & CSIZE) != CS8) {
447 termios->c_cflag &= ~CSIZE;
448 termios->c_cflag |= old_csize;
452 if ((termios->c_cflag & CSIZE) == CS8)
457 if (termios->c_cflag & CSTOPB)
459 if (termios->c_cflag & PARENB) {
461 if (!(termios->c_cflag & PARODD))
468 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16);
476 if (termios->c_iflag & INPCK)
480 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
488 if (termios->c_iflag & IGNPAR)
492 if (termios->c_iflag & IGNBRK) {
499 if (termios->c_iflag & IGNPAR)
507 if ((termios->c_cflag & CREAD) == 0)
516 uart_update_timeout(port, termios->c_cflag, baud);
546 if (UART_ENABLE_MS(&sport->port, termios->c_cflag))