/dragonfly/sys/dev/misc/nmdm/ |
H A D | nmdm.c | 222 (void)(*linesw[tp->t_line].l_modem)(tp, 1); in nmdmopen() 228 (void)(*linesw[tp2->t_line].l_modem)(tp2, 1); in nmdmopen() 253 error = (*linesw[tp->t_line].l_open)(dev, tp); in nmdmopen() 285 (void)(*linesw[tp2->t_line].l_modem)(tp2, 0); in nmdmclose() 301 err = (*linesw[tp->t_line].l_close)(tp, ap->a_fflag); in nmdmclose() 331 error = (*linesw[tp->t_line].l_read)(tp, ap->a_uio, flag); in nmdmread() 344 if ((error = (*linesw[tp->t_line].l_read)(tp, ap->a_uio, ap->a_ioflag)) == 0) 459 (*linesw[tp->t_line].l_rint)(*cp++, tp); in nmdmwrite() 550 error = (*linesw[tp->t_line].l_ioctl)(tp, ap->a_cmd, ap->a_data, in nmdmioctl()
|
/dragonfly/sys/platform/vkernel64/platform/ |
H A D | console.c | 111 error = (*linesw[tp->t_line].l_open)(dev, tp); in vcons_open() 135 (*linesw[tp->t_line].l_close)(tp, ap->a_fflag); in vcons_close() 150 error = (*linesw[tp->t_line].l_ioctl)(tp, ap->a_cmd, ap->a_data, in vcons_ioctl() 324 (*linesw[tp->t_line].l_rint)(buf[i], tp); in vconsvirt_intr()
|
/dragonfly/sys/dev/misc/dcons/ |
H A D | dcons_os.c | 245 error = (*linesw[tp->t_line].l_open)(dev, tp); in dcons_open() 265 (*linesw[tp->t_line].l_close)(tp, ap->a_fflag); in dcons_close() 287 error = (*linesw[tp->t_line].l_ioctl)(tp, ap->a_cmd, ap->a_data, ap->a_fflag, ap->a_cred); in dcons_ioctl() 349 (*linesw[tp->t_line].l_rint)(c, tp); in dcons_timeout() 553 (*linesw[tp->t_line].l_close)(tp, 0); in dcons_detach()
|
/dragonfly/sys/bus/u4b/serial/ |
H A D | usb_serial.c | 571 (*linesw[tp->t_line].l_close)(tp, 0); in ucom_detach_tty() 883 (*linesw[tp->t_line].l_modem)(tp, 1); in ucom_open() 893 error = (*linesw[tp->t_line].l_open)(sc->sc_cdev, tp); in ucom_open() 966 (*linesw[tp->t_line].l_close)(tp, 0); /* XXX: flags */ in ucom_close() 1157 error = (*linesw[tp->t_line].l_ioctl)(tp, ap->a_cmd, ap->a_data, in ucom_dev_ioctl() 1565 (*linesw[tp->t_line].l_modem)(tp, onoff); in ucom_cfg_status_change() 1571 (*linesw[tp->t_line].l_rint)(0, tp); in ucom_cfg_status_change() 1582 (*linesw[tp->t_line].l_rint)(0, tp); in ucom_cfg_status_change() 1593 (*linesw[tp->t_line].l_rint)(0, tp); in ucom_cfg_status_change() 2306 && linesw[tp->t_line].l_rint == ttyinput) { in disc_optim() [all …]
|
/dragonfly/sys/kern/ |
H A D | tty_pty.c | 407 (void)(*linesw[tp->t_line].l_modem)(tp, 1); in ptsopen() 428 error = (*linesw[tp->t_line].l_open)(dev, tp); in ptsopen() 457 err = (*linesw[tp->t_line].l_close)(tp, ap->a_fflag); in ptsclose() 536 error = (*linesw[tp->t_line].l_read)(tp, ap->a_uio, ap->a_ioflag); in ptsread() 561 ret = ((*linesw[tp->t_line].l_write)(tp, ap->a_uio, ap->a_ioflag)); in ptswrite() 659 (void)(*linesw[tp->t_line].l_modem)(tp, 1); in ptcopen() 702 (void)(*linesw[tp->t_line].l_modem)(tp, 0); in ptcclose() 1086 (*linesw[tp->t_line].l_rint)(*cp++, tp); in ptcwrite() 1274 error = (*linesw[tp->t_line].l_ioctl)(tp, ap->a_cmd, ap->a_data, in ptyioctl()
|
H A D | tty.c | 260 tp->t_line = TTYDISC; in ttyclose() 996 *(int *)data = tp->t_line; in ttioctl() 1137 if (t != tp->t_line) { in ttioctl() 1138 (*linesw[tp->t_line].l_close)(tp, flag); in ttioctl() 1141 (void)(*linesw[tp->t_line].l_open)(device, tp); in ttioctl() 1146 tp->t_line = t; in ttioctl() 1173 (*linesw[tp->t_line].l_rint)(*(u_char *)data, tp); in ttioctl() 2942 ret = ((*linesw[tp->t_line].l_read)(tp, ap->a_uio, ap->a_ioflag)); in ttyread() 2958 ret = ((*linesw[tp->t_line].l_write)(tp, ap->a_uio, ap->a_ioflag)); in ttywrite()
|
/dragonfly/sys/dev/misc/snp/ |
H A D | snp.c | 221 tp->t_line == snooplinedisc) in snpwrite() 464 tp->t_line == snooplinedisc) { in snp_detach() 467 tp->t_line = snp->snp_olddisc; in snp_detach() 568 snp->snp_olddisc = tp->t_line; in snpioctl() 569 tp->t_line = snooplinedisc; in snpioctl()
|
/dragonfly/contrib/byacc/ |
H A D | error.c | 125 illegal_tag(int t_lineno, char *t_line, char *t_cptr) in illegal_tag() argument 129 print_pos(t_line, t_cptr); in illegal_tag()
|
H A D | reader.c | 1548 char *t_line = dup_line(); in get_tag() local 1549 char *t_cptr = t_line + (cptr - line); in get_tag() 1556 illegal_tag(t_lineno, t_line, t_cptr); in get_tag() 1571 illegal_tag(t_lineno, t_line, t_cptr); in get_tag() 1574 FREE(t_line); in get_tag()
|
H A D | defs.h | 484 extern GCC_NORETURN void illegal_tag(int t_lineno, char *t_line, char *t_cptr);
|
/dragonfly/sys/dev/serial/sio/ |
H A D | sio.c | 1417 (*linesw[tp->t_line].l_modem)(tp, 1); in sioopen() 1436 error = (*linesw[tp->t_line].l_open)(dev, tp); in sioopen() 1468 (*linesw[tp->t_line].l_close)(tp, ap->a_fflag); in sioclose() 1565 ret = ((*linesw[com->tp->t_line].l_read)(com->tp, ap->a_uio, ap->a_ioflag)); in sioread() 1599 ret = ((*linesw[com->tp->t_line].l_write)(com->tp, ap->a_uio, ap->a_ioflag)); in siowrite() 1740 (*linesw[tp->t_line].l_rint)(recv_data, tp); in sioinput() 2100 error = (*linesw[tp->t_line].l_ioctl)(tp, ap->a_cmd, data, ap->a_fflag, ap->a_cred); in sioioctl() 2227 (*linesw[tp->t_line].l_modem) in siopoll() 2241 (*linesw[tp->t_line].l_start)(tp); in siopoll() 2812 && linesw[tp->t_line].l_rint == ttyinput) in disc_optim() [all …]
|
/dragonfly/sys/net/sl/ |
H A D | if_sl.c | 256 if (tp->t_line == SLIPDISC) { in slopen() 272 tp->t_line = SLIPDISC; in slopen() 312 tp->t_line = 0; in slclose()
|
/dragonfly/sys/netgraph/tty/ |
H A D | ng_tty.c | 199 if (tp->t_line == NETGRAPHDISC) { in ngt_open() 264 tp->t_line = 0; in ngt_close()
|
/dragonfly/sys/dev/misc/syscons/ |
H A D | syscons.c | 751 (*linesw[tp->t_line].l_modem)(tp, 1); in scopen() 762 error = (*linesw[tp->t_line].l_open)(dev, tp); in scopen() 838 (*linesw[tp->t_line].l_close)(tp, ap->a_fflag); in scclose() 918 (*linesw[cur_tty->t_line].l_rint)(KEYCHAR(c), cur_tty); in sckbdevent() 924 (*linesw[cur_tty->t_line].l_rint)(*cp++, cur_tty); in sckbdevent() 928 (*linesw[cur_tty->t_line].l_rint)(0x1b, cur_tty); in sckbdevent() 929 (*linesw[cur_tty->t_line].l_rint)(KEYCHAR(c), cur_tty); in sckbdevent() 932 (*linesw[cur_tty->t_line].l_rint)(0x1b, cur_tty); in sckbdevent() 933 (*linesw[cur_tty->t_line].l_rint)('[', cur_tty); in sckbdevent() 934 (*linesw[cur_tty->t_line].l_rint)('Z', cur_tty); in sckbdevent() [all …]
|
/dragonfly/contrib/ee/ |
H A D | ee.c | 1996 struct text *t_line; local 2007 t_line = curr_line; 2008 while ((t_line->line_number > number) && (t_line->prev_line != NULL)) 2011 t_line = t_line->prev_line; 2014 while ((t_line->line_number < number) && (t_line->next_line != NULL)) 2018 t_line = t_line->next_line; 2034 curr_line = t_line;
|
/dragonfly/sys/sys/ |
H A D | tty.h | 81 int t_line; /* Interface to device drivers. */ member
|
/dragonfly/usr.sbin/pstat/ |
H A D | pstat.c | 844 switch (tp->t_line) { in ttyprt() 855 printf("%d\n", tp->t_line); in ttyprt()
|