Lines Matching defs:termios
416 linflex_set_termios(struct uart_port *port, struct ktermios *termios,
446 while ((termios->c_cflag & CSIZE) != CS8 &&
447 (termios->c_cflag & CSIZE) != CS7) {
448 termios->c_cflag &= ~CSIZE;
449 termios->c_cflag |= old_csize;
453 if ((termios->c_cflag & CSIZE) == CS7) {
458 if ((termios->c_cflag & CSIZE) == CS8) {
463 if (termios->c_cflag & CMSPAR) {
464 if ((termios->c_cflag & CSIZE) != CS8) {
465 termios->c_cflag &= ~CSIZE;
466 termios->c_cflag |= CS8;
472 if (termios->c_cflag & CSTOPB)
473 termios->c_cflag &= ~CSTOPB;
476 if ((termios->c_cflag & CSIZE) == CS7)
477 termios->c_cflag |= PARENB;
479 if ((termios->c_cflag & PARENB)) {
481 if (termios->c_cflag & PARODD)
495 if (termios->c_iflag & INPCK)
501 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
506 if (termios->c_iflag & IGNPAR)
508 if (termios->c_iflag & IGNBRK) {
514 if (termios->c_iflag & IGNPAR)