Lines Matching refs:cflag
899 tcflag_t cflag; in cp210x_get_termios() local
900 cflag = 0; in cp210x_get_termios()
901 cp210x_get_termios_port(port, &cflag, &baud); in cp210x_get_termios()
913 tcflag_t cflag; in cp210x_get_termios_port() local
924 cflag = *cflagp; in cp210x_get_termios_port()
927 cflag &= ~CSIZE; in cp210x_get_termios_port()
931 cflag |= CS5; in cp210x_get_termios_port()
935 cflag |= CS6; in cp210x_get_termios_port()
939 cflag |= CS7; in cp210x_get_termios_port()
943 cflag |= CS8; in cp210x_get_termios_port()
947 cflag |= CS8; in cp210x_get_termios_port()
954 cflag |= CS8; in cp210x_get_termios_port()
964 cflag &= ~PARENB; in cp210x_get_termios_port()
968 cflag |= (PARENB|PARODD); in cp210x_get_termios_port()
972 cflag &= ~PARODD; in cp210x_get_termios_port()
973 cflag |= PARENB; in cp210x_get_termios_port()
977 cflag |= (PARENB|PARODD|CMSPAR); in cp210x_get_termios_port()
981 cflag &= ~PARODD; in cp210x_get_termios_port()
982 cflag |= (PARENB|CMSPAR); in cp210x_get_termios_port()
986 cflag &= ~PARENB; in cp210x_get_termios_port()
992 cflag &= ~CSTOPB; in cp210x_get_termios_port()
1004 cflag |= CSTOPB; in cp210x_get_termios_port()
1018 cflag |= CRTSCTS; in cp210x_get_termios_port()
1021 cflag &= ~CRTSCTS; in cp210x_get_termios_port()
1024 *cflagp = cflag; in cp210x_get_termios_port()
1155 unsigned int cflag, old_cflag; in cp210x_set_termios() local
1158 cflag = tty->termios.c_cflag; in cp210x_set_termios()
1165 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in cp210x_set_termios()
1168 switch (cflag & CSIZE) { in cp210x_set_termios()
1191 if ((cflag & (PARENB|PARODD|CMSPAR)) != in cp210x_set_termios()
1195 if (cflag & PARENB) { in cp210x_set_termios()
1196 if (cflag & CMSPAR) { in cp210x_set_termios()
1197 if (cflag & PARODD) { in cp210x_set_termios()
1205 if (cflag & PARODD) { in cp210x_set_termios()
1218 if ((cflag & CSTOPB) != (old_cflag & CSTOPB)) { in cp210x_set_termios()
1221 if (cflag & CSTOPB) { in cp210x_set_termios()
1232 if ((cflag & CRTSCTS) != (old_cflag & CRTSCTS)) { in cp210x_set_termios()
1249 if (cflag & CRTSCTS) { in cp210x_set_termios()