Home
last modified time | relevance | path

Searched refs:TIOCM_DTR (Results 1 – 15 of 15) sorted by relevance

/openbsd/usr.sbin/wsmoused/
H A Dmouse_protocols.c292 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 Dcy.c519 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 Dz8530tty.c1132 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_zs()
1177 SET(ttybits, TIOCM_DTR); in zs_to_tiocm()
H A Dcom.c646 if (ISSET(data, TIOCM_DTR)) in tiocm_xxx2mcr()
701 SET(bits, TIOCM_DTR); in comioctl()
/openbsd/sys/arch/luna88k/dev/
H A Dsiotty.c419 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 Dspif.c466 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 Dmagma.c1028 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 Dsab.c833 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 Dttycom.h64 #define TIOCM_DTR 0002 /* data terminal ready */ macro
/openbsd/gnu/usr.bin/perl/h2pl/eg/sys/
H A Dioctl.pl15 $TIOCM_DTR = 0x2;
/openbsd/sys/dev/fdt/
H A Dimxuart.c701 (void) clmctl(dev, TIOCM_DTR | TIOCM_RTS, DMBIS); in imxuartioctl()
707 (void) clmctl(dev, TIOCM_DTR | TIOCM_RTS, DMBIC); in imxuartioctl()
H A Dexuart.c895 (void) clmctl(dev, TIOCM_DTR | TIOCM_RTS, DMBIS); in exuartioctl()
901 (void) clmctl(dev, TIOCM_DTR | TIOCM_RTS, DMBIC); in exuartioctl()
/openbsd/sys/dev/pci/
H A Dcz.c1232 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_cztty()
1284 SET(ttybits, TIOCM_DTR); in cztty_to_tiocm()
/openbsd/sys/dev/usb/
H A Ducom.c772 if (ISSET(ttybits, TIOCM_DTR)) in tiocm_to_ucom()
806 SET(ttybits, TIOCM_DTR); in ucom_to_tiocm()
/openbsd/usr.sbin/pppd/
H A Dsys-bsd.c503 int modembits = TIOCM_DTR;