Lines Matching defs:termios
386 sa1100_set_termios(struct uart_port *port, struct ktermios *termios,
398 while ((termios->c_cflag & CSIZE) != CS7 &&
399 (termios->c_cflag & CSIZE) != CS8) {
400 termios->c_cflag &= ~CSIZE;
401 termios->c_cflag |= old_csize;
405 if ((termios->c_cflag & CSIZE) == CS8)
410 if (termios->c_cflag & CSTOPB)
412 if (termios->c_cflag & PARENB) {
414 if (!(termios->c_cflag & PARODD))
421 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16);
430 if (termios->c_iflag & INPCK)
433 if (termios->c_iflag & (BRKINT | PARMRK))
441 if (termios->c_iflag & IGNPAR)
444 if (termios->c_iflag & IGNBRK) {
451 if (termios->c_iflag & IGNPAR)
459 uart_update_timeout(port, termios->c_cflag, baud);
485 if (UART_ENABLE_MS(&sport->port, termios->c_cflag))