| /netbsd/src/sys/arch/amiga/dev/ |
| D | msc.c | 416 (void) mscmctl(dev, TIOCM_DTR | TIOCM_RTS, DMSET); in mscopen() 509 if (msc->flags & TIOCM_DTR) in mscclose() 627 msc->flags &= ~(TIOCM_DTR | TIOCM_RTS); in mscmint() 774 if ( (msc->flags & TIOCM_DTR) == 0) { in mscmint() 840 (void) mscmctl(dev, TIOCM_DTR | TIOCM_RTS, DMBIS); in mscioctl() 845 (void) mscmctl(dev, TIOCM_DTR | TIOCM_RTS, DMBIC); in mscioctl() 858 (void) mscmctl(dev, *(int *)data & TIOCM_DTR, DMBIC); in mscioctl() 934 (void) mscmctl (tp->t_dev, TIOCM_DTR | TIOCM_RTS, DMSET); in mscparam() 1133 bits &= TIOCM_DTR | TIOCM_RTS; /* can only modify DTR and RTS */ in mscmctl() 1137 msc->flags = (bits | (msc->flags & ~(TIOCM_DTR | TIOCM_RTS))); in mscmctl() [all …]
|
| D | ser.c | 347 (void)sermctl(dev, TIOCM_DTR, DMSET); in seropen() 419 (void)sermctl(tp->t_dev, TIOCM_DTR, DMBIC); in ser_shutdown() 720 (void) sermctl(dev, TIOCM_DTR, DMBIS); in serioctl() 724 (void) sermctl(dev, TIOCM_DTR, DMBIC); in serioctl() 815 (void)sermctl(tp->t_dev, TIOCM_DTR, DMSET); in serparam() 996 if (bits & TIOCM_DTR) in sermctl() 1034 bits |= TIOCM_DTR; in sermctl()
|
| D | mfc.c | 544 (void)mfcsmctl(dev, TIOCM_DTR | TIOCM_RTS, DMSET); in mfcsopen() 696 (void) mfcsmctl(dev, TIOCM_DTR | TIOCM_RTS, DMBIS); in mfcsioctl() 700 (void) mfcsmctl(dev, TIOCM_DTR | TIOCM_RTS, DMBIC); in mfcsioctl() 801 (void)mfcsmctl(tp->t_dev, TIOCM_DTR | TIOCM_RTS, DMSET); in mfcsparam() 907 if (bits & TIOCM_DTR) in mfcsmctl() 936 bits = TIOCM_DTR | TIOCM_RTS; in mfcsmctl()
|
| /netbsd/src/sys/dev/ir/ |
| D | irframe_tty.c | 965 mline &= ~(TIOCM_DTR | TIOCM_RTS); in irt_setline() 1015 irt_setline(tp, TIOCM_DTR | TIOCM_RTS); in irts_tekram() 1018 irt_setline(tp, TIOCM_DTR); in irts_tekram() 1034 irt_setline(tp, TIOCM_DTR | TIOCM_RTS); in irts_tekram() 1048 irt_setline(tp, TIOCM_DTR); in irts_jeteye() 1051 irt_setline(tp, TIOCM_DTR | TIOCM_RTS); in irts_jeteye() 1081 irt_setline(tp, TIOCM_DTR | TIOCM_RTS); in irts_actisys() 1091 irt_setline(tp, TIOCM_DTR | TIOCM_RTS); in irts_actisys() 1095 irt_setline(tp, TIOCM_DTR); in irts_actisys() 1121 irt_setline(tp, TIOCM_DTR | TIOCM_RTS); in irts_litelink() [all …]
|
| /netbsd/src/sys/dev/ic/ |
| D | cy.c | 533 cy_modem_control(sc, cy, TIOCM_DTR, DMBIS); in cyioctl() 537 cy_modem_control(sc, cy, TIOCM_DTR, DMBIC); in cyioctl() 658 cy_modem_control(sc, cy, TIOCM_DTR, (t->c_ospeed == 0 ? DMBIC : DMBIS)); in cyparam() 796 bits |= TIOCM_DTR; in cy_modem_control() 804 bits |= TIOCM_DTR; in cy_modem_control() 824 ((bits & TIOCM_DTR) ? CD1400_MSVR1_RTS : 0)); in cy_modem_control() 830 ((bits & TIOCM_DTR) ? CD1400_MSVR2_DTR : 0)); in cy_modem_control() 840 if (bits & TIOCM_DTR) in cy_modem_control() 848 if (bits & TIOCM_DTR) in cy_modem_control() 858 if (bits & TIOCM_DTR) in cy_modem_control() [all …]
|
| D | clmpcc.c | 464 clmpcc_modem_control(ch, TIOCM_RTS | TIOCM_DTR, DMBIS); in clmpcc_shutdown() 544 clmpcc_modem_control(ch, TIOCM_RTS | TIOCM_DTR, DMBIS); in clmpccopen() 668 clmpcc_modem_control(ch, TIOCM_DTR, DMBIS); in clmpccioctl() 672 clmpcc_modem_control(ch, TIOCM_DTR, DMBIC); in clmpccioctl() 731 rbits |= (msvr & CLMPCC_MSVR_RTS) ? TIOCM_DTR : 0; in clmpcc_modem_control() 735 rbits |= (msvr & CLMPCC_MSVR_DTR) ? TIOCM_DTR : 0; in clmpcc_modem_control() 749 bits & TIOCM_DTR ? CLMPCC_MSVR_RTS : 0); in clmpcc_modem_control() 755 bits & TIOCM_DTR ? CLMPCC_MSVR_DTR : 0); in clmpcc_modem_control() 763 if ( ISSET(bits, TIOCM_DTR) ) in clmpcc_modem_control() 768 if ( ISSET(bits, TIOCM_DTR) ) in clmpcc_modem_control() [all …]
|
| D | z8530tty.c | 1211 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_zs() 1256 SET(ttybits, TIOCM_DTR); in zs_to_tiocm()
|
| /netbsd/src/sys/arch/luna68k/dev/ |
| D | siotty.c | 470 if ((control & TIOCM_DTR) != 0) in siomctl() 490 val |= TIOCM_DTR; in siomctl() 578 siomctl(sc, TIOCM_DTR, DMBIC); in sioclose() 580 siomctl(sc, TIOCM_DTR, DMBIS); in sioclose() 646 siomctl(sc, TIOCM_DTR|TIOCM_RTS, DMBIS); in sioioctl() 649 siomctl(sc, TIOCM_DTR|TIOCM_RTS, DMBIC); in sioioctl()
|
| /netbsd/src/sys/dev/sbus/ |
| D | spif.c | 465 stty_modem_control(sp, TIOCM_DTR, DMBIS); in stty_ioctl() 468 stty_modem_control(sp, TIOCM_DTR, DMBIC); in stty_ioctl() 515 bits |= TIOCM_DTR; in stty_modem_control() 527 DTR_WRITE(csc, sp->sp_channel, ISSET(bits, TIOCM_DTR) ? 1 : 0); in stty_modem_control() 536 if (ISSET(bits, TIOCM_DTR)) in stty_modem_control() 543 if (ISSET(bits, TIOCM_DTR)) in stty_modem_control() 576 stty_modem_control(sp, TIOCM_DTR, in stty_param()
|
| D | magma.c | 1106 mtty_modem_control(mp, TIOCM_DTR, DMBIS); in mttyioctl() 1110 mtty_modem_control(mp, TIOCM_DTR, DMBIC); in mttyioctl() 1233 if( msvr & CD1400_MSVR1_RTS ) bits |= TIOCM_DTR; in mtty_modem_control() 1248 cd1400_write_reg(cd, CD1400_MSVR1, ((bits & TIOCM_DTR) ? CD1400_MSVR1_RTS : 0)); in mtty_modem_control() 1256 if( bits & TIOCM_DTR ) in mtty_modem_control() 1265 if( bits & TIOCM_DTR ) in mtty_modem_control() 1298 (void)mtty_modem_control(mp, TIOCM_DTR, (t->c_ospeed == 0 ? DMBIC : DMBIS)); in mtty_param()
|
| /netbsd/src/sys/arch/emips/ebus/ |
| D | dz_ebus.c | 168 if (dzmctl(sc, line, TIOCM_DTR, DMBIS) & TIOCM_CD) in dzopen() 267 (void)dzmctl(sc, line, TIOCM_DTR, DMBIS); in dzioctl() 271 (void)dzmctl(sc, line, TIOCM_DTR, DMBIC); in dzioctl() 480 mbits |= TIOCM_DTR; in dzmctl()
|
| /netbsd/src/sys/arch/sparc64/dev/ |
| D | sab.c | 862 sabtty_mdmctrl(sc, TIOCM_DTR, DMBIS); in sabioctl() 865 sabtty_mdmctrl(sc, TIOCM_DTR, DMBIC); in sabioctl() 949 bits |= TIOCM_DTR; in sabtty_mdmctrl() 967 if (bits & TIOCM_DTR) in sabtty_mdmctrl() 980 if (bits & TIOCM_DTR) { in sabtty_mdmctrl() 992 if (bits & TIOCM_DTR) { in sabtty_mdmctrl() 1017 sabtty_mdmctrl(sc, TIOCM_DTR, in sabttyparam()
|
| /netbsd/src/sys/dev/usb/ |
| D | uhso.c | 911 CLR(hp->hp_status, TIOCM_DTR | TIOCM_DSR | TIOCM_CAR); in uhso_mux_clean() 1019 || !ISSET(hp->hp_status, TIOCM_DTR)) in uhso_mux_intr() 1287 if (ISSET(hp->hp_status, TIOCM_DTR)) in uhso_bulk_control() 1571 uhso_tty_control(hp, TIOCMBIS, TIOCM_DTR | TIOCM_RTS); in uhso_tty_init() 1613 if (ISSET(hp->hp_status, TIOCM_DTR) in uhso_tty_clean() 1615 uhso_tty_control(hp, TIOCMBIC, TIOCM_DTR); in uhso_tty_clean() 1721 error = uhso_tty_control(hp, TIOCMBIS, TIOCM_DTR); in uhso_tty_do_ioctl() 1725 error = uhso_tty_control(hp, TIOCMBIC, TIOCM_DTR); in uhso_tty_do_ioctl() 1873 bits &= (TIOCM_DTR | TIOCM_RTS); in uhso_tty_control() 1876 (bits & TIOCM_DTR) ? 1 : 0, in uhso_tty_control() [all …]
|
| D | ucycom.c | 1028 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_ucycom() 1061 SET(ttybits, TIOCM_DTR); in ucycom_to_tiocm()
|
| D | ucom.c | 967 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_ucom() 1005 SET(ttybits, TIOCM_DTR); in ucom_to_tiocm()
|
| /netbsd/src/usr.sbin/moused/ |
| D | moused.c | 1349 i = TIOCM_DTR; in r_init() 2355 i |= TIOCM_DTR; /* DTR = 1 */ in pnpwakeup1() 2373 i = TIOCM_DTR | TIOCM_RTS; /* DTR = 0, RTS = 0 */ in pnpwakeup1() 2376 i = TIOCM_DTR; /* DTR = 1, RTS = 0 */ in pnpwakeup1() 2395 i = TIOCM_DTR | TIOCM_RTS; /* DTR = 0, RTS = 0 */ in pnpwakeup1() 2402 i = TIOCM_DTR | TIOCM_RTS; /* DTR = 1, RTS = 1 */ in pnpwakeup1() 2426 i |= TIOCM_DTR; /* DTR = 1 */ in pnpwakeup2() 2436 i = TIOCM_DTR | TIOCM_RTS; /* DTR = 1, RTS = 1 */ in pnpwakeup2() 2465 i = TIOCM_DTR | TIOCM_RTS; /* DTR = 1, RTS = 1 */ in pnpgets()
|
| /netbsd/src/sys/sys/ |
| D | ttycom.h | 90 #define TIOCM_DTR 0002 /* data terminal ready */ macro
|
| /netbsd/src/external/bsd/ntp/dist/ntpd/ |
| D | refclock_acts.c | 365 int dtr = TIOCM_DTR; in acts_message() 604 dtr = TIOCM_DTR; in acts_close()
|
| D | refclock_neoclock4x.c | 271 sl232 = sl232 | TIOCM_DTR | TIOCM_RTS; /* turn on RTS, and DTR for power supply */ in neoclock4x_start() 420 sl232 &= ~(TIOCM_DTR | TIOCM_RTS); in neoclock4x_shutdown()
|
| /netbsd/src/external/bsd/ntp/dist/parseutil/ |
| D | dcfd.c | 1350 #if defined(TIOCMSET) && (defined(TIOCM_DTR) || defined(CIOCM_DTR)) 1362 #ifdef TIOCM_DTR in rawdcf_init() 1363 int sl232 = TIOCM_DTR; /* turn on DTR for power supply */ in rawdcf_init()
|
| /netbsd/src/sys/arch/mips/sibyte/dev/ |
| D | sbjcn.c | 797 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_sbjcn() 834 SET(ttybits, TIOCM_DTR); in sbjcn_to_tiocm()
|
| D | sbscn.c | 880 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_sbscn() 917 SET(ttybits, TIOCM_DTR); in sbscn_to_tiocm()
|
| /netbsd/src/sys/dev/pci/ |
| D | cz.c | 1255 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_cztty() 1307 SET(ttybits, TIOCM_DTR); in cztty_to_tiocm()
|
| /netbsd/src/sys/arch/sgimips/dev/ |
| D | scn.c | 1598 return ((((tioc_bits) & TIOCM_DTR) ? sc->sc_op_dtr : 0) | in opbits() 1685 bits |= TIOCM_DTR; in scnioctl()
|
| /netbsd/src/sys/dev/dec/ |
| D | dz.c | 148 #define DML_DTR TIOCM_DTR
|