Lines Matching defs:tp
207 #define tty_getlock(tp) ((tp)->t_mtx) argument
208 #define tty_lock(tp) rt_mutex_take(tty_getlock(tp), RT_WAITING_FOREVER); argument
209 #define tty_unlock(tp) rt_mutex_release(tty_getlock(tp)) argument
210 #define tty_lock_owned(tp) \ argument
212 #define tty_lock_notrecused(tp) (rt_mutex_get_hold(tty_getlock(tp)) == 1) argument
213 #define tty_assert_locked(tp) RT_ASSERT(tty_lock_owned(tp)) argument
214 #define tty_lock_assert(tp, option) \ argument
235 #define tty_opened(tp) ((tp)->t_flags & TF_OPENED) argument
236 #define tty_gone(tp) ((tp)->t_flags & TF_GONE) argument
237 #define tty_softc(tp) ((tp)->t_devswsoftc) argument
238 #define tty_devname(tp) ((tp)->parent.parent.name) argument
297 rt_inline int ttydevsw_open(struct lwp_tty *tp) in ttydevsw_open()
305 rt_inline void ttydevsw_close(struct lwp_tty *tp) in ttydevsw_close()
313 rt_inline void ttydevsw_outwakeup(struct lwp_tty *tp) in ttydevsw_outwakeup()
325 rt_inline void ttydevsw_inwakeup(struct lwp_tty *tp) in ttydevsw_inwakeup()
337 rt_inline int ttydevsw_ioctl(struct lwp_tty *tp, rt_ubase_t cmd, rt_caddr_t data, in ttydevsw_ioctl()
346 rt_inline int ttydevsw_cioctl(struct lwp_tty *tp, int unit, rt_ubase_t cmd, in ttydevsw_cioctl()
355 rt_inline int ttydevsw_param(struct lwp_tty *tp, struct termios *t) in ttydevsw_param()
362 rt_inline int ttydevsw_modem(struct lwp_tty *tp, int sigon, int sigoff) in ttydevsw_modem()
369 rt_inline int ttydevsw_mmap(struct lwp_tty *tp, vm_ooffset_t offset, in ttydevsw_mmap()
377 rt_inline void ttydevsw_pktnotify(struct lwp_tty *tp, char event) in ttydevsw_pktnotify()
385 rt_inline void ttydevsw_free(struct lwp_tty *tp) in ttydevsw_free()
392 rt_inline rt_bool_t ttydevsw_busy(struct lwp_tty *tp) in ttydevsw_busy()
400 rt_inline size_t ttydisc_read_poll(struct lwp_tty *tp) in ttydisc_read_poll()
407 rt_inline size_t ttydisc_write_poll(struct lwp_tty *tp) in ttydisc_write_poll()