/openbsd/usr.sbin/wsmoused/ |
H A D | mouse_protocols.c | 292 i |= TIOCM_DTR; /* DTR = 1 */ in pnpgets() 301 i = TIOCM_DTR | TIOCM_RTS; /* DTR = 0, RTS = 0 */ in pnpgets() 304 i = TIOCM_DTR; /* DTR = 1, RTS = 0 */ in pnpgets() 316 i = TIOCM_DTR | TIOCM_RTS; /* DTR = 0, RTS = 0 */ in pnpgets() 322 i = TIOCM_DTR | TIOCM_RTS; /* DTR = 1, RTS = 1 */ in pnpgets() 337 i |= TIOCM_DTR; /* DTR = 1 */ in pnpgets() 344 i = TIOCM_DTR | TIOCM_RTS; /* DTR = 1, RTS = 1 */ in pnpgets() 390 i = TIOCM_DTR | TIOCM_RTS; /* DTR = 1, RTS = 1 */ in pnpgets() 727 i = TIOCM_DTR; in mouse_init()
|
/openbsd/sys/dev/ic/ |
H A D | cy.c | 519 cy_modem_control(cy, TIOCM_DTR, DMBIS); in cyioctl() 523 cy_modem_control(cy, TIOCM_DTR, DMBIC); in cyioctl() 803 bits |= TIOCM_DTR; in cy_modem_control() 810 bits |= TIOCM_DTR; in cy_modem_control() 831 ((bits & TIOCM_DTR) ? CD1400_MSVR1_RTS : 0)); in cy_modem_control() 837 ((bits & TIOCM_DTR) ? CD1400_MSVR2_DTR : 0)); in cy_modem_control() 846 if (bits & TIOCM_DTR) in cy_modem_control() 852 if (bits & TIOCM_DTR) in cy_modem_control() 862 if (bits & TIOCM_DTR) in cy_modem_control() 868 if (bits & TIOCM_DTR) in cy_modem_control() [all …]
|
H A D | z8530tty.c | 1132 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_zs() 1177 SET(ttybits, TIOCM_DTR); in zs_to_tiocm()
|
H A D | com.c | 646 if (ISSET(data, TIOCM_DTR)) in tiocm_xxx2mcr() 701 SET(bits, TIOCM_DTR); in comioctl()
|
/openbsd/sys/arch/luna88k/dev/ |
H A D | siotty.c | 419 if (control & TIOCM_DTR) in siomctl() 439 val |= TIOCM_DTR; in siomctl() 522 siomctl(sc, TIOCM_DTR, DMBIC); in sioclose() 524 siomctl(sc, TIOCM_DTR, DMBIS); in sioclose() 573 siomctl(sc, TIOCM_DTR|TIOCM_RTS, DMBIS); in sioioctl() 576 siomctl(sc, TIOCM_DTR|TIOCM_RTS, DMBIC); in sioioctl()
|
/openbsd/sys/dev/sbus/ |
H A D | spif.c | 466 stty_modem_control(sp, TIOCM_DTR, DMBIS); in sttyioctl() 469 stty_modem_control(sp, TIOCM_DTR, DMBIC); in sttyioctl() 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() 575 stty_modem_control(sp, TIOCM_DTR, in stty_param()
|
H A D | magma.c | 1028 mtty_modem_control(mp, TIOCM_DTR, DMBIS); in mttyioctl() 1032 mtty_modem_control(mp, TIOCM_DTR, DMBIC); in mttyioctl() 1162 bits |= TIOCM_DTR; in mtty_modem_control() 1184 ((bits & TIOCM_DTR) ? CD1400_MSVR1_RTS : 0)); in mtty_modem_control() 1192 if (bits & TIOCM_DTR) in mtty_modem_control() 1201 if (bits & TIOCM_DTR) in mtty_modem_control() 1235 (void)mtty_modem_control(mp, TIOCM_DTR, in mtty_param()
|
/openbsd/sys/arch/sparc64/dev/ |
H A D | sab.c | 833 sabtty_mdmctrl(sc, TIOCM_DTR, DMBIS); in sabttyioctl() 836 sabtty_mdmctrl(sc, TIOCM_DTR, DMBIC); in sabttyioctl() 913 bits |= TIOCM_DTR; in sabtty_mdmctrl() 931 if (bits & TIOCM_DTR) in sabtty_mdmctrl() 944 if (bits & TIOCM_DTR) { in sabtty_mdmctrl() 956 if (bits & TIOCM_DTR) { in sabtty_mdmctrl() 981 sabtty_mdmctrl(sc, TIOCM_DTR, in sabttyparam()
|
/openbsd/sys/sys/ |
H A D | ttycom.h | 64 #define TIOCM_DTR 0002 /* data terminal ready */ macro
|
/openbsd/gnu/usr.bin/perl/h2pl/eg/sys/ |
H A D | ioctl.pl | 15 $TIOCM_DTR = 0x2;
|
/openbsd/sys/dev/fdt/ |
H A D | imxuart.c | 701 (void) clmctl(dev, TIOCM_DTR | TIOCM_RTS, DMBIS); in imxuartioctl() 707 (void) clmctl(dev, TIOCM_DTR | TIOCM_RTS, DMBIC); in imxuartioctl()
|
H A D | exuart.c | 895 (void) clmctl(dev, TIOCM_DTR | TIOCM_RTS, DMBIS); in exuartioctl() 901 (void) clmctl(dev, TIOCM_DTR | TIOCM_RTS, DMBIC); in exuartioctl()
|
/openbsd/sys/dev/usb/ |
H A D | ucom.c | 772 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_ucom() 806 SET(ttybits, TIOCM_DTR); in ucom_to_tiocm()
|
/openbsd/sys/dev/pci/ |
H A D | cz.c | 1232 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_cztty() 1284 SET(ttybits, TIOCM_DTR); in cztty_to_tiocm()
|
/openbsd/usr.sbin/pppd/ |
H A D | sys-bsd.c | 498 int modembits = TIOCM_DTR; in setdtr()
|