Lines Matching refs:tp

259 #define	TSA_CARR_ON(tp)		((void *)&(tp)->t_rawq)
260 #define TSA_HUP_OR_INPUT(tp) ((void *)&(tp)->t_rawq.c_cf)
261 #define TSA_OCOMPLETE(tp) ((void *)&(tp)->t_outq.c_cl)
262 #define TSA_OLOWAT(tp) ((void *)&(tp)->t_outq)
263 #define TSA_PTC_READ(tp) ((void *)&(tp)->t_outq.c_cf)
264 #define TSA_PTC_WRITE(tp) ((void *)&(tp)->t_rawq.c_cl)
265 #define TSA_PTS_READ(tp) ((void *)&(tp)->t_canq)
292 int ttioctl_locked(struct tty *tp, u_long com, caddr_t data, int flag,
295 int ttcompat(struct tty *tp, u_long com, caddr_t data, int flag,
299 void tty_lock(struct tty *tp);
300 void tty_unlock(struct tty *tp);
303 int tputchar(int c, struct tty *tp);
304 int ttioctl(struct tty *tp, u_long com, caddr_t data, int flag,
306 int ttread(struct tty *tp, struct uio *uio, int flag);
307 int ttyselect(struct tty *tp, int rw, void * wql, struct proc *p);
309 void ttsetwater(struct tty *tp);
311 int ttstart(struct tty *tp);
312 void ttwakeup(struct tty *tp);
313 int ttwrite(struct tty *tp, struct uio *uio, int flag);
314 void ttwwakeup(struct tty *tp);
315 void ttyblock(struct tty *tp);
316 int ttycheckoutq(struct tty *tp, int wait);
317 int ttyclose(struct tty *tp); /* LEGACY: avoid using */
318 void ttyflush(struct tty *tp, int rw);
319 void ttyinfo(struct tty *tp);
320 void ttyinfo_locked(struct tty *tp);
321 int ttyinput(int c, struct tty *tp);
322 int ttylclose(struct tty *tp, int flag);
323 int ttymodem(struct tty *tp, int flag);
324 int ttyopen(dev_t device, struct tty *tp);
325 int ttysleep(struct tty *tp,
327 int ttywait(struct tty *tp);