Lines Matching refs:tios
1186 struct termios tios; local
1191 if (!sync_serial && tcgetattr(fd, &tios) < 0)
1204 inittermios = tios;
1212 tios.c_cflag &= ~(CSIZE | CSTOPB | PARENB | CLOCAL);
1215 tios.c_cflag |= CRTSCTS;
1217 tios.c_cflag &= ~CRTSCTS;
1229 tios.c_cflag |= CSTOPB;
1231 tios.c_cflag |= CS8 | CREAD | HUPCL;
1233 tios.c_cflag |= CLOCAL;
1234 tios.c_iflag = IGNBRK | IGNPAR;
1235 tios.c_oflag = 0;
1236 tios.c_lflag = 0;
1237 tios.c_cc[VMIN] = 1;
1238 tios.c_cc[VTIME] = 0;
1241 tios.c_iflag |= IXON | IXOFF;
1242 tios.c_cc[VSTOP] = 0x13; /* DC3 = XOFF = ^S */
1243 tios.c_cc[VSTART] = 0x11; /* DC1 = XON = ^Q */
1248 cfsetospeed(&tios, speed);
1249 cfsetispeed(&tios, speed);
1251 speed = cfgetospeed(&tios);
1260 if (!sync_serial && tcsetattr(fd, TCSAFLUSH, &tios) < 0)