Lines Matching defs:com
16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
181 * u_long *com A pointer to the terminal input/output
189 * modified based on *com and *data.
211 ttsetcompat(struct tty *tp, u_long *com, caddr_t data, struct termios *term)
213 switch (*com) {
246 *com = (*com == TIOCSETP) ? TIOCSETAF : TIOCSETA;
267 *com = TIOCSETA;
286 *com = TIOCSETA;
307 if (*com == TIOCLSET)
312 if (*com == TIOCLBIS)
318 *com = TIOCSETA;
335 * u_long com The terminal input/output command
361 ttcompat(struct tty *tp, u_long com, caddr_t data, int flag, struct proc *p)
363 switch (com) {
380 if ((error = ttsetcompat(tp, &com, data, &term)) != 0)
382 return ttioctl_locked(tp, com, (caddr_t) &term, flag, p);