Lines Matching defs:termios
694 struct ktermios *termios,
713 switch (termios->c_cflag & CSIZE) {
732 if (termios->c_cflag & CSTOPB) {
742 if (termios->c_iflag & INPCK)
746 if (termios->c_iflag & INPCK)
749 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
752 if (termios->c_iflag & IGNPAR)
756 if (termios->c_cflag & PARENB) {
757 if (termios->c_cflag & CMSPAR) {
758 if (termios->c_cflag & PARODD)
763 if (termios->c_cflag & PARODD)
770 if (termios->c_iflag & IGNPAR)
773 if (termios->c_cflag & PARENB)
777 if (termios->c_iflag & IGNBRK) {
780 if (termios->c_iflag & IGNPAR)
784 if ((termios->c_cflag & CREAD) == 0)
787 if (UART_ENABLE_MS(port, termios->c_cflag)) {
794 baud_rate = uart_get_baud_rate(port, termios, old, 0, 4000000);
819 if (tty_termios_baud_rate(termios))
820 tty_termios_encode_baud_rate(termios, set_baud, set_baud);
879 uart_update_timeout(port, termios->c_cflag, set_baud);