| /components/lwp/terminal/ |
| A D | terminal.h | 60 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 D | bsd_ttydisc.h | 53 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 D | tty_internal.h | 33 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 D | bsd_porting.h | 177 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 D | tty_device.c | 62 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 D | tty_ptmx.c | 65 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 D | bsd_ttyqueue.h | 51 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 D | tty.c | 49 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 D | tty_pts.c | 439 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 D | tty_ttydisc.c | 98 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 D | tty_outq.c | 102 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 D | tty_inq.c | 124 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 D | tty_compat.c | 100 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 D | serial_tty.c | 143 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 D | lwp.h | 79 struct lwp_tty; 102 struct lwp_tty *ctty;
|