Lines Matching defs:termios
1642 imx_uart_set_termios(struct uart_port *port, struct ktermios *termios,
1657 while ((termios->c_cflag & CSIZE) != CS7 &&
1658 (termios->c_cflag & CSIZE) != CS8) {
1659 termios->c_cflag &= ~CSIZE;
1660 termios->c_cflag |= old_csize;
1669 baud = uart_get_baud_rate(port, termios, old, 50, port->uartclk / 16);
1682 if ((termios->c_cflag & CSIZE) == CS8)
1686 termios->c_cflag &= ~CRTSCTS;
1699 } else if (termios->c_cflag & CRTSCTS) {
1708 if (termios->c_cflag & CRTSCTS)
1710 if (termios->c_cflag & CSTOPB)
1712 if (termios->c_cflag & PARENB) {
1714 if (termios->c_cflag & PARODD)
1719 if (termios->c_iflag & INPCK)
1721 if (termios->c_iflag & (BRKINT | PARMRK))
1728 if (termios->c_iflag & IGNPAR)
1730 if (termios->c_iflag & IGNBRK) {
1736 if (termios->c_iflag & IGNPAR)
1740 if ((termios->c_cflag & CREAD) == 0)
1746 uart_update_timeout(port, termios->c_cflag, baud);
1765 tty_termios_encode_baud_rate(termios,
1797 if (UART_ENABLE_MS(&sport->port, termios->c_cflag))