Lines Matching refs:tbufs
265 static struct termios tbufs; local
270 if ((istermios = (*Ioctl)(Ifn, TCGETS, &tbufs)) < 0) {
274 tbufs.c_lflag = tbuf.c_lflag;
275 tbufs.c_oflag = tbuf.c_oflag;
276 tbufs.c_iflag = tbuf.c_iflag;
277 tbufs.c_cflag = tbuf.c_cflag;
279 tbufs.c_cc[i] = tbuf.c_cc[i];
284 ospeed = cfgetospeed(&tbufs);
314 if (tbufs.c_cc[VMIN] != packsize ||
315 tbufs.c_cc[VTIME] != vtime) {
316 tbufs.c_cc[VMIN] = packsize;
317 tbufs.c_cc[VTIME] = vtime;
319 tbuf.c_lflag = tbufs.c_lflag;
320 tbuf.c_oflag = tbufs.c_oflag;
321 tbuf.c_iflag = tbufs.c_iflag;
322 tbuf.c_cflag = tbufs.c_cflag;
324 tbuf.c_cc[i] = tbufs.c_cc[i];
329 if ((*Ioctl)(Ifn, TCSETSW, &tbufs) != 0)
339 if (tbufs.c_cc[VMIN] != HEADERSIZE) {
340 tbufs.c_cc[VMIN] = HEADERSIZE;
342 tbuf.c_lflag = tbufs.c_lflag;
343 tbuf.c_oflag = tbufs.c_oflag;
344 tbuf.c_iflag = tbufs.c_iflag;
345 tbuf.c_cflag = tbufs.c_cflag;
347 tbuf.c_cc[i] = tbufs.c_cc[i];
353 if ((*Ioctl)(Ifn, TCSETSW, &tbufs) != 0)