Lines Matching refs:tty
115 struct tty { struct
136 void (*t_oproc)(struct tty *); argument
138 void (*t_stop)(struct tty *, int); argument
140 int (*t_param)(struct tty *, struct termios *); argument
155 #define TTY_NULL (struct tty *)NULL argument
188 struct tty;
298 int ttioctl_locked(struct tty *tp, u_long com, caddr_t data, int flag,
301 int ttcompat(struct tty *tp, u_long com, caddr_t data, int flag,
305 void tty_lock(struct tty *tp);
306 void tty_unlock(struct tty *tp);
309 int tputchar(int c, struct tty *tp);
310 int ttioctl(struct tty *tp, u_long com, caddr_t data, int flag,
312 int ttread(struct tty *tp, struct uio *uio, int flag);
313 int ttyselect(struct tty *tp, int rw, void * wql, struct proc *p);
315 void ttsetwater(struct tty *tp);
317 int ttstart(struct tty *tp);
318 void ttwakeup(struct tty *tp);
319 int ttwrite(struct tty *tp, struct uio *uio, int flag);
320 void ttwwakeup(struct tty *tp);
321 void ttyblock(struct tty *tp);
322 int ttycheckoutq(struct tty *tp, int wait);
323 int ttyclose(struct tty *tp); /* LEGACY: avoid using */
324 void ttyflush(struct tty *tp, int rw);
325 void ttyinfo(struct tty *tp);
326 void ttyinfo_locked(struct tty *tp);
327 int ttyinput(int c, struct tty *tp);
328 int ttylclose(struct tty *tp, int flag);
329 int ttymodem(struct tty *tp, int flag);
330 int ttyopen(dev_t device, struct tty *tp);
331 int ttysleep(struct tty *tp,
333 int ttywait(struct tty *tp);
334 struct tty *ttymalloc(void);
335 void ttyfree(struct tty *);
338 extern void ttyhold(struct tty *tp);