| /f-stack/freebsd/sys/ |
| H A D | ttydisc.h | 43 struct tty; 47 void ttydisc_open(struct tty *tp); 48 void ttydisc_close(struct tty *tp); 51 void ttydisc_optimize(struct tty *tp); 54 void ttydisc_modem(struct tty *tp, int open); 56 int ttydisc_rint(struct tty *tp, char c, int flags); 59 void ttydisc_rint_done(struct tty *tp); 60 size_t ttydisc_rint_poll(struct tty *tp); 63 size_t ttydisc_getc_poll(struct tty *tp); 72 ttydisc_read_poll(struct tty *tp) in ttydisc_read_poll() [all …]
|
| H A D | tty.h | 63 struct tty { struct 171 void tty_rel_gone(struct tty *tp); 195 int tty_wait(struct tty *tp, struct cv *cv); 198 void tty_wakeup(struct tty *tp, int flags); 201 int tty_checkoutq(struct tty *tp); 202 int tty_putchar(struct tty *tp, char c); 211 void tty_flush(struct tty *tp, int flags); 212 void tty_hiwat_in_block(struct tty *tp); 213 void tty_hiwat_in_unblock(struct tty *tp); 214 dev_t tty_udev(struct tty *tp); [all …]
|
| H A D | ttydevsw.h | 45 typedef int tsw_open_t(struct tty *tp); 46 typedef void tsw_close_t(struct tty *tp); 47 typedef void tsw_outwakeup_t(struct tty *tp); 48 typedef void tsw_inwakeup_t(struct tty *tp); 59 typedef bool tsw_busy_t(struct tty *tp); 86 ttydevsw_open(struct tty *tp) in ttydevsw_open() 96 ttydevsw_close(struct tty *tp) in ttydevsw_close() 106 ttydevsw_outwakeup(struct tty *tp) in ttydevsw_outwakeup() 120 ttydevsw_inwakeup(struct tty *tp) in ttydevsw_inwakeup() 193 ttydevsw_free(struct tty *tp) in ttydevsw_free() [all …]
|
| H A D | ttyhook.h | 38 struct tty; 47 typedef void th_rint_done_t(struct tty *tp); 48 typedef size_t th_rint_poll_t(struct tty *tp); 52 typedef size_t th_getc_poll_t(struct tty *tp); 54 typedef void th_close_t(struct tty *tp); 73 void ttyhook_unregister(struct tty *); 79 ttyhook_rint(struct tty *tp, char c, int flags) in ttyhook_rint() 97 ttyhook_rint_done(struct tty *tp) in ttyhook_rint_done() 106 ttyhook_rint_poll(struct tty *tp) in ttyhook_rint_poll() 133 ttyhook_getc_poll(struct tty *tp) in ttyhook_getc_poll() [all …]
|
| H A D | ttyqueue.h | 41 struct tty; 74 int ttyinq_setsize(struct ttyinq *ti, struct tty *tp, size_t len); 76 int ttyinq_read_uio(struct ttyinq *ti, struct tty *tp, struct uio *uio, 141 int ttyoutq_setsize(struct ttyoutq *to, struct tty *tp, size_t len); 144 int ttyoutq_read_uio(struct ttyoutq *to, struct tty *tp, struct uio *uio);
|
| H A D | cons.h | 44 struct tty; 101 extern struct tty *constty; /* Temporary virtual console. */ 142 void constty_set(struct tty *tp);
|
| H A D | terminal.h | 51 struct tty; 202 struct tty *tm_tty;
|
| /f-stack/freebsd/kern/ |
| H A D | tty.c | 277 struct tty *tp; in ttydev_open() 818 struct tty *tp; in ttyil_open() 1047 struct tty * 1054 struct tty * 1057 struct tty *tp; in tty_alloc_mutex() 1111 struct tty *tp = arg; in tty_dealloc() 1312 struct tty *tp; in sysctl_kern_ttys() 2080 struct tty *tp; in ttyhook_register() 2177 struct tty *tp; in ttyconsdev_open() 2357 struct tty *tp; in DB_SHOW_COMMAND() [all …]
|
| H A D | tty_ttydisc.c | 87 ttydisc_open(struct tty *tp) in ttydisc_open() 93 ttydisc_close(struct tty *tp) in ttydisc_close() 587 ttydisc_optimize(struct tty *tp) in ttydisc_optimize() 698 struct tty *tp = d; in ttydisc_reprint_char() 704 ttydisc_reprint(struct tty *tp) in ttydisc_reprint() 719 struct tty *tp; 727 struct tty *tp = data->tp; in ttydisc_recalc_charlength() 750 ttydisc_rubchar(struct tty *tp) in ttydisc_rubchar() 823 ttydisc_rubword(struct tty *tp) in ttydisc_rubword() 1136 ttydisc_rint_done(struct tty *tp) in ttydisc_rint_done() [all …]
|
| H A D | tty_pts.c | 117 struct tty *tp = fp->f_data; in ptsdev_read() 191 struct tty *tp = fp->f_data; in ptsdev_write() 264 struct tty *tp = fp->f_data; in ptsdev_ioctl() 396 struct tty *tp = fp->f_data; in ptsdev_poll() 451 struct tty *tp = fp->f_data; in pts_kqops_read_detach() 461 struct tty *tp = fp->f_data; in pts_kqops_read_event() 598 struct tty *tp; in ptsdev_fill_kinfo() 650 ptsdrv_open(struct tty *tp) in ptsdrv_open() 660 ptsdrv_close(struct tty *tp) in ptsdrv_close() 742 struct tty *tp; in pts_alloc() [all …]
|
| H A D | subr_terminal.c | 219 struct tty *tp; in terminal_sync_ttysize() 233 struct tty *tp; in terminal_maketty() 309 struct tty *tp; in terminal_input_char() 362 struct tty *tp; in terminal_input_raw() 377 struct tty *tp; in terminal_input_special() 399 termtty_open(struct tty *tp) in termtty_open() 408 termtty_close(struct tty *tp) in termtty_close() 416 termtty_outwakeup(struct tty *tp) in termtty_outwakeup() 442 termtty_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) in termtty_ioctl() 497 termtty_mmap(struct tty *tp, vm_ooffset_t offset, vm_paddr_t * paddr, in termtty_mmap() [all …]
|
| H A D | subr_prf.c | 105 struct tty *tty; member 202 if (pca.tty == NULL) { in uprintf() 209 tty_lock(pca.tty); in uprintf() 212 tty_unlock(pca.tty); in uprintf() 257 pca.tty = tp; in vtprintf() 260 if (pca.tty != NULL) in vtprintf() 261 tty_lock(pca.tty); in vtprintf() 264 if (pca.tty != NULL) in vtprintf() 265 tty_unlock(pca.tty); in vtprintf() 281 pca.tty = NULL; in _vprintf() [all …]
|
| H A D | tty_compat.c | 53 static int ttcompatgetflags(struct tty *tp); 54 static void ttcompatsetflags(struct tty *tp, struct termios *t); 55 static void ttcompatsetlflags(struct tty *tp, struct termios *t); 100 ttsetcompat(struct tty *tp, u_long *com, caddr_t data, struct termios *term) in ttsetcompat() 183 tty_ioctl_compat(struct tty *tp, u_long com, caddr_t data, int fflag, in tty_ioctl_compat() 276 ttcompatgetflags(struct tty *tp) in ttcompatgetflags() 336 ttcompatsetflags(struct tty *tp, struct termios *t) in ttcompatsetflags() 413 ttcompatsetlflags(struct tty *tp, struct termios *t) in ttcompatsetlflags()
|
| H A D | tty_outq.c | 95 ttyoutq_setsize(struct ttyoutq *to, struct tty *tp, size_t size) in ttyoutq_setsize() 204 ttyoutq_read_uio(struct ttyoutq *to, struct tty *tp, struct uio *uio) in ttyoutq_read_uio()
|
| H A D | tty_info.c | 223 struct tty *tp; in sbuf_tty_drain() 278 tty_info(struct tty *tp) in tty_info()
|
| H A D | tty_inq.c | 118 ttyinq_setsize(struct ttyinq *ti, struct tty *tp, size_t size) in ttyinq_setsize() 166 ttyinq_read_uio(struct ttyinq *ti, struct tty *tp, struct uio *uio, in ttyinq_read_uio()
|
| /f-stack/tools/libutil/ |
| H A D | login_ok.c | 128 login_ttyok(login_cap_t *lc, const char *tty, const char *allowcap, in login_ttyok() argument 133 if (lc != NULL && tty != NULL && *tty != '\0') { in login_ttyok() 138 te = getttynam(tty); /* Need group name */ in login_ttyok() 142 if (ttl != NULL && !login_str2inlist(ttl, tty, grp, 0)) in login_ttyok() 147 if (ttl != NULL && login_str2inlist(ttl, tty, grp, 0)) in login_ttyok() 163 auth_ttyok(login_cap_t *lc, const char * tty) in auth_ttyok() argument 165 return login_ttyok(lc, tty, "ttys.allow", "ttys.deny"); in auth_ttyok()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/goldfish/ |
| H A D | tty.txt | 3 Android goldfish tty device generated by android emulator. 7 - compatible : should contain "google,goldfish-tty" to match emulator 14 compatible = "google,goldfish-tty";
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_tty.c | 87 struct tty *tp; /* Terminal device */ 138 NETGRAPH_INIT(tty, &typestruct); 228 struct tty *tp; in ngt_shutdown() 314 struct tty *tp = sc->tp; in ngt_rcvdata() 349 ngt_getc_inject(struct tty *tp, void *buf, size_t len) in ngt_getc_inject() 393 ngt_getc_poll(struct tty *tp) in ngt_getc_poll() 407 ngt_rint_bypass(struct tty *tp, const void *buf, size_t len) in ngt_rint_bypass() 455 ngt_rint(struct tty *tp, char c, int flags) in ngt_rint() 505 ngt_rint_poll(struct tty *tp) in ngt_rint_poll()
|
| /f-stack/freebsd/contrib/openzfs/contrib/dracut/90zfs/ |
| H A D | zfs-lib.sh.in | 133 --tty-cmd) tty_cmd="$2"; shift;; 136 --tty-prompt) tty_prompt="$2"; shift;; 139 --tty-tries) tty_tries="$2"; shift;; 140 --tty-echo-off) tty_echo_off=yes;;
|
| H A D | zfs-load-key.sh.in | 51 …systemd-ask-password "Encrypted ZFS password for ${BOOTFS}" --no-tty | zfs load-key "${ENCRYPTIONR…
|
| /f-stack/freebsd/netgraph/bluetooth/drivers/h4/ |
| H A D | ng_h4.c | 89 static int ng_h4_open (struct cdev *, struct tty *); 90 static int ng_h4_close (struct tty *, int); 93 static int ng_h4_input (int, struct tty *); 94 static int ng_h4_start (struct tty *); 95 static int ng_h4_ioctl (struct tty *, u_long, caddr_t, 153 ng_h4_open(struct cdev *dev, struct tty *tp) in ng_h4_open() 243 ng_h4_close(struct tty *tp, int flag) in ng_h4_close() 272 ng_h4_read(struct tty *tp, struct uio *uio, int flag) in ng_h4_read() 282 ng_h4_write(struct tty *tp, struct uio *uio, int flag) in ng_h4_write() 337 ng_h4_input(int c, struct tty *tp) in ng_h4_input() [all …]
|
| H A D | TODO | 11 i still use splXXX to lock tty level. this is wrong and should be
|
| H A D | ng_h4_var.h | 71 struct tty *tp; /* Terminal device */
|
| /f-stack/lib/ |
| H A D | ff_subr_prf.c | 82 struct tty *tty; member 550 pca.tty = NULL; in vprintf()
|