Lines Matching defs:termios
749 static void sprd_set_termios(struct uart_port *port, struct ktermios *termios,
757 baud = uart_get_baud_rate(port, termios, old, 0, SPRD_BAUD_IO_LIMIT);
762 switch (termios->c_cflag & CSIZE) {
780 if (termios->c_cflag & CSTOPB)
787 termios->c_cflag &= ~CMSPAR; /* no support mark/space */
788 if (termios->c_cflag & PARENB) {
790 if (termios->c_cflag & PARODD)
799 uart_update_timeout(port, termios->c_cflag, baud);
802 if (termios->c_iflag & INPCK)
804 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
809 if (termios->c_iflag & IGNPAR)
811 if (termios->c_iflag & IGNBRK) {
817 if (termios->c_iflag & IGNPAR)
824 if (termios->c_cflag & CRTSCTS) {
843 if (tty_termios_baud_rate(termios))
844 tty_termios_encode_baud_rate(termios, baud, baud);