Lines Matching refs:cflag
874 tcflag_t cflag; in cp210x_get_termios() local
875 cflag = 0; in cp210x_get_termios()
876 cp210x_get_termios_port(port, &cflag, &baud); in cp210x_get_termios()
888 tcflag_t cflag; in cp210x_get_termios_port() local
899 cflag = *cflagp; in cp210x_get_termios_port()
902 cflag &= ~CSIZE; in cp210x_get_termios_port()
906 cflag |= CS5; in cp210x_get_termios_port()
910 cflag |= CS6; in cp210x_get_termios_port()
914 cflag |= CS7; in cp210x_get_termios_port()
918 cflag |= CS8; in cp210x_get_termios_port()
922 cflag |= CS8; in cp210x_get_termios_port()
929 cflag |= CS8; in cp210x_get_termios_port()
939 cflag &= ~PARENB; in cp210x_get_termios_port()
943 cflag |= (PARENB|PARODD); in cp210x_get_termios_port()
947 cflag &= ~PARODD; in cp210x_get_termios_port()
948 cflag |= PARENB; in cp210x_get_termios_port()
952 cflag |= (PARENB|PARODD|CMSPAR); in cp210x_get_termios_port()
956 cflag &= ~PARODD; in cp210x_get_termios_port()
957 cflag |= (PARENB|CMSPAR); in cp210x_get_termios_port()
961 cflag &= ~PARENB; in cp210x_get_termios_port()
967 cflag &= ~CSTOPB; in cp210x_get_termios_port()
979 cflag |= CSTOPB; in cp210x_get_termios_port()
993 cflag |= CRTSCTS; in cp210x_get_termios_port()
996 cflag &= ~CRTSCTS; in cp210x_get_termios_port()
999 *cflagp = cflag; in cp210x_get_termios_port()
1135 unsigned int cflag, old_cflag; in cp210x_set_termios() local
1138 cflag = tty->termios.c_cflag; in cp210x_set_termios()
1145 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in cp210x_set_termios()
1148 switch (cflag & CSIZE) { in cp210x_set_termios()
1171 if ((cflag & (PARENB|PARODD|CMSPAR)) != in cp210x_set_termios()
1175 if (cflag & PARENB) { in cp210x_set_termios()
1176 if (cflag & CMSPAR) { in cp210x_set_termios()
1177 if (cflag & PARODD) { in cp210x_set_termios()
1185 if (cflag & PARODD) { in cp210x_set_termios()
1198 if ((cflag & CSTOPB) != (old_cflag & CSTOPB)) { in cp210x_set_termios()
1201 if (cflag & CSTOPB) { in cp210x_set_termios()
1212 if ((cflag & CRTSCTS) != (old_cflag & CRTSCTS)) { in cp210x_set_termios()
1229 if (cflag & CRTSCTS) { in cp210x_set_termios()