Lines Matching defs:termios
775 struct ktermios *termios,
783 baud = uart_get_baud_rate(port, termios, old, 0, SPRD_BAUD_IO_LIMIT);
788 switch (termios->c_cflag & CSIZE) {
806 if (termios->c_cflag & CSTOPB)
813 termios->c_cflag &= ~CMSPAR; /* no support mark/space */
814 if (termios->c_cflag & PARENB) {
816 if (termios->c_cflag & PARODD)
825 uart_update_timeout(port, termios->c_cflag, baud);
828 if (termios->c_iflag & INPCK)
830 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
835 if (termios->c_iflag & IGNPAR)
837 if (termios->c_iflag & IGNBRK) {
843 if (termios->c_iflag & IGNPAR)
850 if (termios->c_cflag & CRTSCTS) {
869 if (tty_termios_baud_rate(termios))
870 tty_termios_encode_baud_rate(termios, baud, baud);