Lines Matching refs:cflag
507 unsigned int cflag; in cp210x_get_termios() local
508 cflag = 0; in cp210x_get_termios()
509 cp210x_get_termios_port(port, &cflag, &baud); in cp210x_get_termios()
521 unsigned int cflag, modem_ctl[4]; in cp210x_get_termios_port() local
530 cflag = *cflagp; in cp210x_get_termios_port()
533 cflag &= ~CSIZE; in cp210x_get_termios_port()
537 cflag |= CS5; in cp210x_get_termios_port()
541 cflag |= CS6; in cp210x_get_termios_port()
545 cflag |= CS7; in cp210x_get_termios_port()
549 cflag |= CS8; in cp210x_get_termios_port()
553 cflag |= CS8; in cp210x_get_termios_port()
560 cflag |= CS8; in cp210x_get_termios_port()
570 cflag &= ~PARENB; in cp210x_get_termios_port()
574 cflag |= (PARENB|PARODD); in cp210x_get_termios_port()
578 cflag &= ~PARODD; in cp210x_get_termios_port()
579 cflag |= PARENB; in cp210x_get_termios_port()
583 cflag |= (PARENB|PARODD|CMSPAR); in cp210x_get_termios_port()
587 cflag &= ~PARODD; in cp210x_get_termios_port()
588 cflag |= (PARENB|CMSPAR); in cp210x_get_termios_port()
592 cflag &= ~PARENB; in cp210x_get_termios_port()
598 cflag &= ~CSTOPB; in cp210x_get_termios_port()
610 cflag |= CSTOPB; in cp210x_get_termios_port()
622 cflag |= CRTSCTS; in cp210x_get_termios_port()
625 cflag &= ~CRTSCTS; in cp210x_get_termios_port()
628 *cflagp = cflag; in cp210x_get_termios_port()
688 unsigned int cflag, old_cflag; in cp210x_set_termios() local
692 cflag = tty->termios.c_cflag; in cp210x_set_termios()
699 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in cp210x_set_termios()
702 switch (cflag & CSIZE) { in cp210x_set_termios()
732 if ((cflag & (PARENB|PARODD|CMSPAR)) != in cp210x_set_termios()
736 if (cflag & PARENB) { in cp210x_set_termios()
737 if (cflag & CMSPAR) { in cp210x_set_termios()
738 if (cflag & PARODD) { in cp210x_set_termios()
746 if (cflag & PARODD) { in cp210x_set_termios()
759 if ((cflag & CSTOPB) != (old_cflag & CSTOPB)) { in cp210x_set_termios()
762 if (cflag & CSTOPB) { in cp210x_set_termios()
773 if ((cflag & CRTSCTS) != (old_cflag & CRTSCTS)) { in cp210x_set_termios()
779 if (cflag & CRTSCTS) { in cp210x_set_termios()