Searched refs:TIOCM_RTS (Results 1 - 17 of 17) sorted by last modified time

/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_parse.c5854 sl232 = (sl232 & ~TIOCM_RTS) | TIOCM_DTR; /* turn on DTR, clear RTS for power supply */
5880 #if defined(TIOCMSET) && (defined(TIOCM_RTS) || defined(CIOCM_RTS))
5900 #ifdef TIOCM_RTS
5901 sl232 = (sl232 & ~TIOCM_DTR) | TIOCM_RTS; /* turn on RTS, clear DTR for power supply */
H A Drefclock_palisade.c1406 x |= TIOCM_RTS; /* turn on RTS */
1423 x &= ~TIOCM_RTS; /* turn off RTS */
H A Drefclock_palisade.h61 #define TIOCM_RTS MRTS macro
H A Drefclock_heath.c59 * TIOCMBIS ioctl system calls and TIOCM_RTS control bit. Present
403 int bits = TIOCM_RTS;
H A Drefclock_hopfser.c31 # define TIOCM_RTS MRTS macro
H A Drefclock_neoclock4x.c38 # define TIOCM_RTS MRTS macro
259 #if defined(TIOCMSET) && (defined(TIOCM_RTS) || defined(CIOCM_RTS))
268 #ifdef TIOCM_RTS
269 sl232 = sl232 | TIOCM_DTR | TIOCM_RTS; /* turn on RTS, and DTR for power supply */
408 #if defined(TIOCMSET) && (defined(TIOCM_RTS) || defined(CIOCM_RTS))
416 #ifdef TIOCM_RTS
418 sl232 &= ~(TIOCM_DTR | TIOCM_RTS);
/freebsd-11-stable/sys/kern/
H A Dtty.c1607 (bits & (TIOCM_DTR | TIOCM_RTS)) >> 1,
1608 ((~bits) & (TIOCM_DTR | TIOCM_RTS)) >> 1);
1613 ttydevsw_modem(tp, (bits & (TIOCM_DTR | TIOCM_RTS)) >> 1, 0);
1618 ttydevsw_modem(tp, 0, (bits & (TIOCM_DTR | TIOCM_RTS)) >> 1);
/freebsd-11-stable/sys/dev/cx/
H A Dif_cx.c1554 if (d->chan->rts) status |= TIOCM_RTS;
1931 cx_set_rts (c, (*(int*)data & TIOCM_RTS) ? 1 : 0);
1941 if (*(int*)data & TIOCM_RTS) cx_set_rts (c, 1);
1951 if (*(int*)data & TIOCM_RTS) cx_set_rts (c, 0);
2301 status & TIOCM_RTS ? "On" : "-",
/freebsd-11-stable/sys/dev/ctau/
H A Dif_ct.c1217 if (c->rts) status |= TIOCM_RTS;
1683 ct_set_rts (c, (*(int*)data & TIOCM_RTS) ? 1 : 0);
1692 if (*(int*)data & TIOCM_RTS) ct_set_rts (c, 1);
1701 if (*(int*)data & TIOCM_RTS) ct_set_rts (c, 0);
1789 status & TIOCM_RTS ? "On" : "-",
/freebsd-11-stable/sbin/sconfig/
H A Dsconfig.c254 status & TIOCM_RTS ? "On" : "-",
/freebsd-11-stable/usr.bin/morse/
H A Dmorse.c389 lflags &= ~TIOCM_RTS;
585 lflags |= TIOCM_RTS;
592 lflags &= ~TIOCM_RTS;
/freebsd-11-stable/usr.sbin/moused/
H A Dmoused.c1764 i = TIOCM_RTS;
2814 i &= ~TIOCM_RTS; /* RTS = 0 */
2831 i = TIOCM_DTR | TIOCM_RTS; /* DTR = 0, RTS = 0 */
2841 i = TIOCM_RTS; /* DTR = 1, RTS = 1 */
2855 i = TIOCM_DTR | TIOCM_RTS; /* DTR = 0, RTS = 0 */
2862 i = TIOCM_DTR | TIOCM_RTS; /* DTR = 1, RTS = 1 */
2892 i &= ~TIOCM_RTS; /* RTS = 0 */
2901 i = TIOCM_DTR | TIOCM_RTS; /* DTR = 1, RTS = 1 */
2933 i = TIOCM_DTR | TIOCM_RTS; /* DTR = 1, RTS = 1 */
/freebsd-11-stable/sys/dev/cp/
H A Dif_cp.c992 if (c->rts) status |= TIOCM_RTS;
1756 cp_set_rts (c, (*(int*)data & TIOCM_RTS) ? 1 : 0);
1765 if (*(int*)data & TIOCM_RTS) cp_set_rts (c, 1);
1774 if (*(int*)data & TIOCM_RTS) cp_set_rts (c, 0);
1859 status & TIOCM_RTS ? "On" : "-",
/freebsd-11-stable/sys/dev/ce/
H A Dif_ce.c1231 if (c->rts) status |= TIOCM_RTS;
1958 ce_set_rts (c, (*(int*)data & TIOCM_RTS) ? 1 : 0);
1967 if (*(int*)data & TIOCM_RTS) ce_set_rts (c, 1);
1976 if (*(int*)data & TIOCM_RTS) ce_set_rts (c, 0);
2079 status & TIOCM_RTS ? "On" : "-",
/freebsd-11-stable/contrib/ntp/parseutil/
H A Dtestdcf.c368 #ifdef TIOCM_RTS
369 int on = TIOCM_RTS;
408 #if defined(TIOCMBIC) && defined(TIOCM_RTS)
411 perror("TIOCM_RTS");
/freebsd-11-stable/sys/pc98/cbus/
H A Dsio.c1552 com_tiocm_bic( com, TIOCM_DTR|TIOCM_RTS|TIOCM_LE );
1782 com_tiocm_bis(com, TIOCM_DTR|TIOCM_RTS);
1939 com_tiocm_bic(com, TIOCM_DTR|TIOCM_RTS|TIOCM_LE);
2140 !(com_tiocm_get(com) & TIOCM_RTS) &&
2142 com_tiocm_bis(com, TIOCM_RTS);
2432 com_tiocm_bic(com, TIOCM_RTS) :
2774 com_tiocm_bic(com, TIOCM_DTR|TIOCM_RTS|TIOCM_LE);
2776 com_tiocm_bis(com, TIOCM_DTR|TIOCM_RTS|TIOCM_LE);
2888 com_tiocm_bis(com, TIOCM_RTS);
3048 if ((com_tiocm_get(com) & TIOCM_RTS)
[all...]
/freebsd-11-stable/sys/sys/
H A Dttycom.h103 #define TIOCM_RTS 0004 /* request to send */ macro

Completed in 265 milliseconds