Lines Matching refs:st
119 stios2btios(st, bt)
120 struct ibcs2_termios *st;
125 l = st->c_iflag; r = 0;
141 l = st->c_oflag; r = 0;
147 l = st->c_cflag; r = 0;
164 l = st->c_lflag; r = 0;
176 st->c_cc[IBCS2_VINTR] ? st->c_cc[IBCS2_VINTR] : _POSIX_VDISABLE;
178 st->c_cc[IBCS2_VQUIT] ? st->c_cc[IBCS2_VQUIT] : _POSIX_VDISABLE;
180 st->c_cc[IBCS2_VERASE] ? st->c_cc[IBCS2_VERASE] : _POSIX_VDISABLE;
182 st->c_cc[IBCS2_VKILL] ? st->c_cc[IBCS2_VKILL] : _POSIX_VDISABLE;
185 st->c_cc[IBCS2_VEOF] ? st->c_cc[IBCS2_VEOF] : _POSIX_VDISABLE;
187 st->c_cc[IBCS2_VEOL] ? st->c_cc[IBCS2_VEOL] : _POSIX_VDISABLE;
189 bt->c_cc[VMIN] = st->c_cc[IBCS2_VMIN];
190 bt->c_cc[VTIME] = st->c_cc[IBCS2_VTIME];
193 st->c_cc[IBCS2_VEOL2] ? st->c_cc[IBCS2_VEOL2] : _POSIX_VDISABLE;
196 st->c_cc[IBCS2_VSWTCH] ? st->c_cc[IBCS2_VSWTCH] : _POSIX_VDISABLE;
199 st->c_cc[IBCS2_VSTART] ? st->c_cc[IBCS2_VSTART] : _POSIX_VDISABLE;
201 st->c_cc[IBCS2_VSTOP] ? st->c_cc[IBCS2_VSTOP] : _POSIX_VDISABLE;
203 st->c_cc[IBCS2_VSUSP] ? st->c_cc[IBCS2_VSUSP] : _POSIX_VDISABLE;
213 btios2stios(bt, st)
215 struct ibcs2_termios *st;
233 st->c_iflag = r;
239 st->c_oflag = r;
254 st->c_cflag = r;
265 st->c_lflag = r;
269 st->c_cflag |= l;
271 st->c_cc[IBCS2_VINTR] =
273 st->c_cc[IBCS2_VQUIT] =
275 st->c_cc[IBCS2_VERASE] =
277 st->c_cc[IBCS2_VKILL] =
280 st->c_cc[IBCS2_VEOF] =
282 st->c_cc[IBCS2_VEOL] =
285 st->c_cc[IBCS2_VMIN] = bt->c_cc[VMIN];
286 st->c_cc[IBCS2_VTIME] = bt->c_cc[VTIME];
288 st->c_cc[IBCS2_VEOL2] =
290 st->c_cc[IBCS2_VSWTCH] =
292 st->c_cc[IBCS2_VSUSP] =
294 st->c_cc[IBCS2_VSTART] =
296 st->c_cc[IBCS2_VSTOP] =
299 st->c_line = 0;
358 struct ibcs2_termio st;
366 stios2stio (&sts, &st);
367 error = copyout((caddr_t)&st, uap->data,
368 sizeof (st));
389 struct ibcs2_termio st;
391 if ((error = copyin(uap->data, (caddr_t)&st,
392 sizeof(st))) != 0) {
411 stio2stios(&st, &sts);