Lines Matching refs:com
214 ttsetcompat(struct tty *tp, u_long *com, caddr_t data, struct termios *term) in ttsetcompat() argument
216 switch (*com) { in ttsetcompat()
270 *com = (*com == TIOCSETP) ? TIOCSETAF : TIOCSETA; in ttsetcompat()
292 *com = TIOCSETA; in ttsetcompat()
311 *com = TIOCSETA; in ttsetcompat()
334 if (*com == TIOCLSET) { in ttsetcompat()
339 if (*com == TIOCLBIS) { in ttsetcompat()
346 *com = TIOCSETA; in ttsetcompat()
390 ttcompat(struct tty *tp, u_long com, caddr_t data, int flag, struct proc *p) in ttcompat() argument
392 switch (com) { in ttcompat()
409 if ((error = ttsetcompat(tp, &com, data, &term)) != 0) { in ttcompat()
412 return ttioctl_locked(tp, com, (caddr_t) &term, flag, p); in ttcompat()