Lines Matching defs:termios
687 * cdns_uart_set_termios - termios operations, handling data length, parity,
690 * @termios: Handle to the input termios structure
691 * @old: Values of the previously saved termios structure
694 struct ktermios *termios, struct ktermios *old)
716 baud = uart_get_baud_rate(port, termios, old, minbaud, maxbaud);
718 if (tty_termios_baud_rate(termios))
719 tty_termios_encode_baud_rate(termios, baud, baud);
722 uart_update_timeout(port, termios->c_cflag, baud);
748 if (termios->c_iflag & INPCK)
752 if (termios->c_iflag & IGNPAR)
757 if ((termios->c_cflag & CREAD) == 0)
765 switch (termios->c_cflag & CSIZE) {
775 termios->c_cflag &= ~CSIZE;
776 termios->c_cflag |= CS8;
781 if (termios->c_cflag & CSTOPB)
786 if (termios->c_cflag & PARENB) {
788 if (termios->c_cflag & CMSPAR) {
789 if (termios->c_cflag & PARODD)
794 if (termios->c_cflag & PARODD)
806 if (termios->c_cflag & CRTSCTS)