Lines Matching refs:tbufs
264 static struct termios tbufs;
269 if ((istermios = (*Ioctl)(Ifn, TCGETS, &tbufs)) < 0) {
273 tbufs.c_lflag = tbuf.c_lflag;
274 tbufs.c_oflag = tbuf.c_oflag;
275 tbufs.c_iflag = tbuf.c_iflag;
276 tbufs.c_cflag = tbuf.c_cflag;
278 tbufs.c_cc[i] = tbuf.c_cc[i];
283 ospeed = cfgetospeed(&tbufs);
313 if (tbufs.c_cc[VMIN] != packsize ||
314 tbufs.c_cc[VTIME] != vtime) {
315 tbufs.c_cc[VMIN] = packsize;
316 tbufs.c_cc[VTIME] = vtime;
318 tbuf.c_lflag = tbufs.c_lflag;
319 tbuf.c_oflag = tbufs.c_oflag;
320 tbuf.c_iflag = tbufs.c_iflag;
321 tbuf.c_cflag = tbufs.c_cflag;
323 tbuf.c_cc[i] = tbufs.c_cc[i];
328 if ((*Ioctl)(Ifn, TCSETSW, &tbufs) != 0)
338 if (tbufs.c_cc[VMIN] != HEADERSIZE) {
339 tbufs.c_cc[VMIN] = HEADERSIZE;
341 tbuf.c_lflag = tbufs.c_lflag;
342 tbuf.c_oflag = tbufs.c_oflag;
343 tbuf.c_iflag = tbufs.c_iflag;
344 tbuf.c_cflag = tbufs.c_cflag;
346 tbuf.c_cc[i] = tbufs.c_cc[i];
352 if ((*Ioctl)(Ifn, TCSETSW, &tbufs) != 0)