Lines Matching refs:c_cflag
407 unsigned int old_csize = old ? old->c_cflag & CSIZE : CS8;
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)