Home
last modified time | relevance | path

Searched refs:lwp_tty (Results 1 – 15 of 15) sorted by relevance

/components/lwp/terminal/
A Dterminal.h60 struct lwp_tty;
66 typedef int tsw_open_t(struct lwp_tty *tp);
67 typedef void tsw_close_t(struct lwp_tty *tp);
69 typedef void tsw_inwakeup_t(struct lwp_tty *tp);
109 struct lwp_tty struct
199 typedef struct lwp_tty *lwp_tty_t; argument
204 void tty_rel_gone(struct lwp_tty *tp);
219 int tty_checkoutq(struct lwp_tty *tp);
220 int tty_putchar(struct lwp_tty *tp, char c);
230 void tty_hiwat_in_block(struct lwp_tty *tp);
[all …]
A Dbsd_ttydisc.h53 struct lwp_tty;
57 void ttydisc_open(struct lwp_tty *tp);
58 void ttydisc_close(struct lwp_tty *tp);
61 void ttydisc_optimize(struct lwp_tty *tp);
64 void ttydisc_modem(struct lwp_tty *tp, int open);
66 int ttydisc_rint(struct lwp_tty *tp, char c, int flags);
69 void ttydisc_rint_done(struct lwp_tty *tp);
70 size_t ttydisc_rint_poll(struct lwp_tty *tp);
71 size_t ttydisc_getc(struct lwp_tty *tp, void *buf, size_t len);
72 int ttydisc_getc_uio(struct lwp_tty *tp, struct uio *uio);
[all …]
A Dtty_internal.h33 int tty_wait(struct lwp_tty *tp, struct rt_condvar *cv);
34 int tty_wait_background(struct lwp_tty *tp, struct rt_thread *td, int sig);
35 int tty_timedwait(struct lwp_tty *tp, struct rt_condvar *cv, rt_tick_t timeout);
36 void tty_wakeup(struct lwp_tty *tp, int flags);
38 void tty_info(struct lwp_tty *tp);
49 int lwp_tty_bg_stop(struct lwp_tty *tp, struct rt_condvar *cv);
60 rt_inline int tty_is_ctty(struct lwp_tty *tp, struct rt_lwp *p) in tty_is_ctty()
A Dbsd_porting.h177 struct lwp_tty;
201 typedef int d_open_t(struct lwp_tty *tp, int oflags, int devtype,
205 typedef int d_close_t(struct lwp_tty *tp, int fflag, int devtype,
217 typedef int d_poll_t(struct lwp_tty *tp, rt_pollreq_t *req,
221 typedef int d_kqfilter_t(struct lwp_tty *tp, struct knote *kn);
233 typedef void d_purge_t(struct lwp_tty *tp);
335 rt_inline int constty_clear(struct lwp_tty *tp) in constty_clear()
341 rt_inline int constty_set(struct lwp_tty *tp) in constty_set()
667 typedef int fo_rdwr_t(struct lwp_tty *tp, struct uio *uio,
670 typedef int fo_truncate_t(struct lwp_tty *tp, off_t length,
[all …]
A Dtty_device.c62 tp = rt_container_of(device, struct lwp_tty, parent); in tty_fops_open()
92 tp = rt_container_of(device, struct lwp_tty, parent); in tty_fops_close()
113 tp = rt_container_of(device, struct lwp_tty, parent); in tty_fops_ioctl()
132 struct lwp_tty *tp; in tty_fops_read()
139 tp = rt_container_of(device, struct lwp_tty, parent); in tty_fops_read()
183 struct lwp_tty *tp; in tty_fops_write()
190 tp = rt_container_of(device, struct lwp_tty, parent); in tty_fops_write()
248 struct lwp_tty *tp; in tty_fops_poll()
253 tp = rt_container_of(device, struct lwp_tty, parent); in tty_fops_poll()
363 tp = rt_calloc(1, sizeof(struct lwp_tty) in lwp_tty_create_ext()
[all …]
A Dtty_ptmx.c65 tp = rt_container_of(device, struct lwp_tty, parent); in ptm_fops_close()
84 struct lwp_tty *tp; in ptm_fops_read()
90 tp = rt_container_of(device, struct lwp_tty, parent); in ptm_fops_read()
125 struct lwp_tty *tp; in ptm_fops_write()
131 tp = rt_container_of(device, struct lwp_tty, parent); in ptm_fops_write()
170 tp = rt_container_of(device, struct lwp_tty, parent); in ptm_fops_ioctl()
232 struct lwp_tty *tp; in ptm_fops_poll()
237 tp = rt_container_of(device, struct lwp_tty, parent); in ptm_fops_poll()
A Dbsd_ttyqueue.h51 struct lwp_tty;
85 int ttyinq_setsize(struct ttyinq *ti, struct lwp_tty *tp, size_t len);
87 int ttyinq_read_uio(struct ttyinq *ti, struct lwp_tty *tp, struct uio *uio,
147 int ttyoutq_setsize(struct ttyoutq *to, struct lwp_tty *tp, size_t len);
150 int ttyoutq_read_uio(struct ttyoutq *to, struct lwp_tty *tp, struct uio *uio);
/components/lwp/terminal/freebsd/
A Dtty.c49 static void tty_rel_free(struct lwp_tty *tp);
102 static int tty_watermarks(struct lwp_tty *tp) in tty_watermarks()
198 rt_inline int ttydev_enter(struct lwp_tty *tp) in ttydev_enter()
214 static void ttydev_leave(struct lwp_tty *tp) in ttydev_leave()
835 static void tty_rel_free(struct lwp_tty *tp) in tty_rel_free()
904 void tty_rel_gone(struct lwp_tty *tp) in tty_rel_gone()
995 void tty_wakeup(struct lwp_tty *tp, int flags) in tty_wakeup()
1067 void tty_flush(struct lwp_tty *tp, int flags) in tty_flush()
1400 int tty_checkoutq(struct lwp_tty *tp) in tty_checkoutq()
1406 void tty_hiwat_in_block(struct lwp_tty *tp) in tty_hiwat_in_block()
[all …]
A Dtty_pts.c439 struct lwp_tty *tp = fp->f_data; in pts_kqops_read_detach()
448 struct lwp_tty *tp = fp->f_data; in pts_kqops_read_event()
466 struct lwp_tty *tp = fp->f_data; in pts_kqops_write_detach()
475 struct lwp_tty *tp = fp->f_data; in pts_kqops_write_event()
503 struct lwp_tty *tp = fp->f_data; in ptsdev_kqfilter()
533 struct lwp_tty *tp = fp->f_data; in ptsdev_stat()
593 struct lwp_tty *tp; in ptsdev_fill_kinfo()
633 static void ptsdrv_inwakeup(struct lwp_tty *tp) in ptsdrv_inwakeup()
641 static int ptsdrv_open(struct lwp_tty *tp) in ptsdrv_open()
654 static void ptsdrv_close(struct lwp_tty *tp) in ptsdrv_close()
[all …]
A Dtty_ttydisc.c98 void ttydisc_open(struct lwp_tty *tp) in ttydisc_open()
103 void ttydisc_close(struct lwp_tty *tp) in ttydisc_close()
621 void ttydisc_optimize(struct lwp_tty *tp) in ttydisc_optimize()
742 struct lwp_tty *tp = d; in ttydisc_reprint_char()
747 static void ttydisc_reprint(struct lwp_tty *tp) in ttydisc_reprint()
763 struct lwp_tty *tp;
770 struct lwp_tty *tp = data->tp; in ttydisc_recalc_charlength()
796 static int ttydisc_rubchar(struct lwp_tty *tp) in ttydisc_rubchar()
1333 void ttydisc_rint_done(struct lwp_tty *tp) in ttydisc_rint_done()
1348 size_t ttydisc_rint_poll(struct lwp_tty *tp) in ttydisc_rint_poll()
[all …]
A Dtty_outq.c102 int ttyoutq_setsize(struct ttyoutq *to, struct lwp_tty *tp, size_t size) in ttyoutq_setsize()
216 int ttyoutq_read_uio(struct ttyoutq *to, struct lwp_tty *tp, struct uio *uio) in ttyoutq_read_uio()
A Dtty_inq.c124 int ttyinq_setsize(struct ttyinq *ti, struct lwp_tty *tp, size_t size) in ttyinq_setsize()
173 int ttyinq_read_uio(struct ttyinq *ti, struct lwp_tty *tp, struct uio *uio, in ttyinq_read_uio()
A Dtty_compat.c100 int lwp_tty_bg_stop(struct lwp_tty *tp, struct rt_condvar *cv) in lwp_tty_bg_stop()
252 void lwp_tty_signal_sessleader(struct lwp_tty *tp, int sig) in lwp_tty_signal_sessleader()
277 void lwp_tty_signal_pgrp(struct lwp_tty *tp, int sig) in lwp_tty_signal_pgrp()
/components/drivers/serial/
A Dserial_tty.c143 static void _serial_tty_set_speed(struct lwp_tty *tp) in _serial_tty_set_speed()
167 static void serial_tty_outwakeup(struct lwp_tty *tp) in serial_tty_outwakeup()
199 static int serial_tty_open(struct lwp_tty *tp) in serial_tty_open()
226 static void serial_tty_close(struct lwp_tty *tp) in serial_tty_close()
239 static int serial_tty_ioctl(struct lwp_tty *tp, rt_ubase_t cmd, rt_caddr_t data, in serial_tty_ioctl()
258 static int serial_tty_param(struct lwp_tty *tp, struct termios *t) in serial_tty_param()
349 tp = rt_container_of(tty_dev, struct lwp_tty, parent); in rt_hw_serial_unregister_tty()
394 tp = rt_container_of(device, struct lwp_tty, parent); in _match_tty_iter()
/components/lwp/
A Dlwp.h79 struct lwp_tty;
102 struct lwp_tty *ctty;

Completed in 24 milliseconds