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
156 #define TTY_NULL (struct tty *)NULL argument
189 struct tty;
299 int ttioctl_locked(struct tty *tp, u_long com, caddr_t data, int flag,
302 int ttcompat(struct tty *tp, u_long com, caddr_t data, int flag,
306 void tty_lock(struct tty *tp);
307 bool tty_trylock(struct tty *tp);
308 void tty_unlock(struct tty *tp);
309 bool tty_islocked(struct tty *tp);
312 int tputchar(int c, struct tty *tp);
313 int ttioctl(struct tty *tp, u_long com, caddr_t data, int flag,
315 int ttread(struct tty *tp, struct uio *uio, int flag);
316 int ttyselect(struct tty *tp, int rw, void * wql, struct proc *p);
318 void ttsetwater(struct tty *tp);
320 int ttstart(struct tty *tp);
321 void ttwakeup(struct tty *tp);
322 int ttwrite(struct tty *tp, struct uio *uio, int flag);
323 void ttwwakeup(struct tty *tp);
324 void ttyblock(struct tty *tp);
325 int ttycheckoutq(struct tty *tp, int wait);
326 int ttyclose(struct tty *tp); /* LEGACY: avoid using */
327 void ttyflush(struct tty *tp, int rw);
328 void ttyinfo(struct tty *tp);
329 void ttyinfo_locked(struct tty *tp);
330 int ttyinput(int c, struct tty *tp);
331 int ttylclose(struct tty *tp, int flag);
332 int ttymodem(struct tty *tp, int flag);
333 int ttyopen(dev_t device, struct tty *tp);
334 int ttysleep(struct tty *tp,
336 int ttywait(struct tty *tp);
337 struct tty *ttymalloc(void);
338 void ttyfree(struct tty *);
339 void ttyfree_locked(struct tty *);
342 extern void ttyhold(struct tty *tp);