• Home
  • Raw
  • Download

Lines Matching refs:cflag

730 		unsigned int cflag;  in cp210x_get_termios()  local
731 cflag = 0; in cp210x_get_termios()
732 cp210x_get_termios_port(port, &cflag, &baud); in cp210x_get_termios()
744 unsigned int cflag; in cp210x_get_termios_port() local
755 cflag = *cflagp; in cp210x_get_termios_port()
758 cflag &= ~CSIZE; in cp210x_get_termios_port()
762 cflag |= CS5; in cp210x_get_termios_port()
766 cflag |= CS6; in cp210x_get_termios_port()
770 cflag |= CS7; in cp210x_get_termios_port()
774 cflag |= CS8; in cp210x_get_termios_port()
778 cflag |= CS8; in cp210x_get_termios_port()
785 cflag |= CS8; in cp210x_get_termios_port()
795 cflag &= ~PARENB; in cp210x_get_termios_port()
799 cflag |= (PARENB|PARODD); in cp210x_get_termios_port()
803 cflag &= ~PARODD; in cp210x_get_termios_port()
804 cflag |= PARENB; in cp210x_get_termios_port()
808 cflag |= (PARENB|PARODD|CMSPAR); in cp210x_get_termios_port()
812 cflag &= ~PARODD; in cp210x_get_termios_port()
813 cflag |= (PARENB|CMSPAR); in cp210x_get_termios_port()
817 cflag &= ~PARENB; in cp210x_get_termios_port()
823 cflag &= ~CSTOPB; in cp210x_get_termios_port()
835 cflag |= CSTOPB; in cp210x_get_termios_port()
849 cflag |= CRTSCTS; in cp210x_get_termios_port()
852 cflag &= ~CRTSCTS; in cp210x_get_termios_port()
855 *cflagp = cflag; in cp210x_get_termios_port()
914 unsigned int cflag, old_cflag; in cp210x_set_termios() local
917 cflag = tty->termios.c_cflag; in cp210x_set_termios()
924 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in cp210x_set_termios()
927 switch (cflag & CSIZE) { in cp210x_set_termios()
957 if ((cflag & (PARENB|PARODD|CMSPAR)) != in cp210x_set_termios()
961 if (cflag & PARENB) { in cp210x_set_termios()
962 if (cflag & CMSPAR) { in cp210x_set_termios()
963 if (cflag & PARODD) { in cp210x_set_termios()
971 if (cflag & PARODD) { in cp210x_set_termios()
984 if ((cflag & CSTOPB) != (old_cflag & CSTOPB)) { in cp210x_set_termios()
987 if (cflag & CSTOPB) { in cp210x_set_termios()
998 if ((cflag & CRTSCTS) != (old_cflag & CRTSCTS)) { in cp210x_set_termios()
1015 if (cflag & CRTSCTS) { in cp210x_set_termios()