Lines Matching defs:ttbufs

123 	struct termios		ttbufs;
129 if ((istermios = (*Ioctl)(tty, TCGETS, &ttbufs)) < 0) {
133 ttbufs.c_lflag = ttbuf.c_lflag;
134 ttbufs.c_oflag = ttbuf.c_oflag;
135 ttbufs.c_iflag = ttbuf.c_iflag;
136 ttbufs.c_cflag = ttbuf.c_cflag;
138 ttbufs.c_cc[i] = ttbuf.c_cc[i];
150 ttbufs.c_cflag &= 0xffff0000;
151 cfsetospeed(&ttbufs, speed);
153 ospeed = cfgetospeed(&ttbufs);
154 ttbufs.c_cflag &= 0xffff0000;
155 cfsetospeed(&ttbufs, ospeed);
167 (void) cfsetispeed(&ttbufs, 0);
168 ttbufs.c_iflag &= 0xffff0000;
169 ttbufs.c_oflag &= 0xffff0000;
170 ttbufs.c_lflag &= 0xffff0000;
179 ttbufs.c_cflag |= CLOCAL;
182 ttbufs.c_cflag &= ~CLOCAL;
188 ttbufs.c_iflag = (IGNPAR | IGNBRK | IXON | IXOFF);
189 ttbufs.c_cc[VEOF] = '\1';
190 ttbufs.c_cflag |= (CREAD | (speed ? HUPCL : 0));
193 ttbufs.c_cflag |= CS8;
194 ttbufs.c_iflag &= ~ISTRIP;
197 ttbufs.c_cflag &= ~PARODD;
199 ttbufs.c_cflag |= PARODD;
201 ttbufs.c_cflag |= CS7|PARENB;
202 ttbufs.c_iflag |= ISTRIP;
206 ttbufs.c_iflag &= ~(IXON | IXOFF);
208 ttbufs.c_oflag |= (OPOST | ONLCR);
211 ttbufs.c_cflag |= (CS8 | CREAD | (speed ? HUPCL : 0));
212 ttbufs.c_cc[VMIN] = HEADERSIZE;
213 ttbufs.c_cc[VTIME] = 1;
217 ttbuf.c_lflag = ttbufs.c_lflag;
218 ttbuf.c_oflag = ttbufs.c_oflag;
219 ttbuf.c_iflag = ttbufs.c_iflag;
220 ttbuf.c_cflag = ttbufs.c_cflag;
222 ttbuf.c_cc[i] = ttbufs.c_cc[i];
226 ASSERT((*Ioctl)(tty, TCSETSW, &ttbufs) >= 0,
398 struct termios ttbufs;
403 if ((istermios = (*Ioctl)(tty, TCGETS, &ttbufs)) < 0) {
407 ttbufs.c_lflag = ttbuf.c_lflag;
408 ttbufs.c_oflag = ttbuf.c_oflag;
409 ttbufs.c_iflag = ttbuf.c_iflag;
410 ttbufs.c_cflag = ttbuf.c_cflag;
412 ttbufs.c_cc[i] = ttbuf.c_cc[i];
420 ttbufs.c_iflag &= 0xffff0000;
421 ttbufs.c_oflag &= 0xffff0000;
422 ttbufs.c_lflag &= 0xffff0000;
423 ttbufs.c_cflag &= 0xffff0000;
424 cfsetospeed(&ttbufs, speed);
425 ttbufs.c_cflag |= (CS8|CLOCAL);
426 ttbufs.c_cc[VMIN] = 6;
427 ttbufs.c_cc[VTIME] = 1;
429 ttbuf.c_lflag = ttbufs.c_lflag;
430 ttbuf.c_oflag = ttbufs.c_oflag;
431 ttbuf.c_iflag = ttbufs.c_iflag;
432 ttbuf.c_cflag = ttbufs.c_cflag;
434 ttbuf.c_cc[i] = ttbufs.c_cc[i];
437 ret = (*Ioctl)(tty, TCSETAWS &ttbufs);