Lines Matching defs:termios
402 linflex_set_termios(struct uart_port *port, struct ktermios *termios,
432 while ((termios->c_cflag & CSIZE) != CS8 &&
433 (termios->c_cflag & CSIZE) != CS7) {
434 termios->c_cflag &= ~CSIZE;
435 termios->c_cflag |= old_csize;
439 if ((termios->c_cflag & CSIZE) == CS7) {
444 if ((termios->c_cflag & CSIZE) == CS8) {
449 if (termios->c_cflag & CMSPAR) {
450 if ((termios->c_cflag & CSIZE) != CS8) {
451 termios->c_cflag &= ~CSIZE;
452 termios->c_cflag |= CS8;
458 if (termios->c_cflag & CSTOPB)
459 termios->c_cflag &= ~CSTOPB;
462 if ((termios->c_cflag & CSIZE) == CS7)
463 termios->c_cflag |= PARENB;
465 if ((termios->c_cflag & PARENB)) {
467 if (termios->c_cflag & PARODD)
481 if (termios->c_iflag & INPCK)
487 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
492 if (termios->c_iflag & IGNPAR)
494 if (termios->c_iflag & IGNBRK) {
500 if (termios->c_iflag & IGNPAR)