Lines Matching defs:termios
413 sa1100_set_termios(struct uart_port *port, struct ktermios *termios,
425 while ((termios->c_cflag & CSIZE) != CS7 &&
426 (termios->c_cflag & CSIZE) != CS8) {
427 termios->c_cflag &= ~CSIZE;
428 termios->c_cflag |= old_csize;
432 if ((termios->c_cflag & CSIZE) == CS8)
437 if (termios->c_cflag & CSTOPB)
439 if (termios->c_cflag & PARENB) {
441 if (!(termios->c_cflag & PARODD))
448 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16);
457 if (termios->c_iflag & INPCK)
460 if (termios->c_iflag & (BRKINT | PARMRK))
468 if (termios->c_iflag & IGNPAR)
471 if (termios->c_iflag & IGNBRK) {
478 if (termios->c_iflag & IGNPAR)
486 uart_update_timeout(port, termios->c_cflag, baud);
512 if (UART_ENABLE_MS(&sport->port, termios->c_cflag))