Lines Matching defs:termios
246 struct ktermios *termios,
252 cval = UART_LCR_WLEN(tty_get_char_size(termios->c_cflag));
254 if (termios->c_cflag & CSTOPB)
256 if (termios->c_cflag & PARENB)
258 if (!(termios->c_cflag & PARODD))
262 baud = tty_termios_baud_rate(termios);
271 termios->c_cflag &= ~CBAUD;
273 termios->c_cflag |= old->c_cflag & CBAUD;
276 termios->c_cflag |= B9600;
286 if (termios->c_iflag & INPCK)
288 if (termios->c_iflag & (BRKINT | PARMRK))
295 if (termios->c_iflag & IGNPAR)
297 if (termios->c_iflag & IGNBRK) {
303 if (termios->c_iflag & IGNPAR)
310 if ((termios->c_cflag & CREAD) == 0)
317 if ((termios->c_cflag & CRTSCTS) || !(termios->c_cflag & CLOCAL))
625 sdio_uart_change_speed(port, &tty->termios, NULL);
705 * any needed private data (in our case the termios)
860 unsigned int cflag = tty->termios.c_cflag;
865 sdio_uart_change_speed(port, &tty->termios, old_termios);