Searched refs:sigon (Results 1 - 12 of 12) sorted by relevance

/freebsd-11-stable/sys/sys/
H A Dttydevsw.h52 typedef int tsw_modem_t(struct tty *tp, int sigon, int sigoff);
71 tsw_modem_t *tsw_modem; /* Modem sigon/sigoff. */
162 ttydevsw_modem(struct tty *tp, int sigon, int sigoff) argument
167 return (tp->t_devsw->tsw_modem(tp, sigon, sigoff));
/freebsd-11-stable/sys/dev/nmdm/
H A Dnmdm.c376 nmdm_modem(struct tty *tp, int sigon, int sigoff) argument
381 if (sigon || sigoff) {
382 if (sigon & SER_DTR)
/freebsd-11-stable/sys/dev/usb/serial/
H A Dusb_serial.c884 ucom_modem(struct tty *tp, int sigon, int sigoff) argument
894 if ((sigon == 0) && (sigoff == 0)) {
897 sigon |= SER_DTR;
900 sigon |= SER_RTS;
903 sigon |= SER_CTS;
906 sigon |= SER_DCD;
909 sigon |= SER_DSR;
912 sigon |= SER_RI;
914 return (sigon);
916 if (sigon
[all...]
/freebsd-11-stable/sys/dev/si/
H A Dsi.c977 simodem(struct tty *tp, int sigon, int sigoff) argument
984 DPRINT((pp, DBG_ENTRY|DBG_MODEM, "simodem(%x,%x)\n", sigon, sigoff));
987 if (sigon == 0 && sigoff == 0) {
993 if (x & IP_DCD) sigon |= SER_DCD;
994 if (x & IP_DTR) sigon |= SER_DTR;
995 if (x & IP_RTS) sigon |= SER_RTS;
996 if (x & IP_RI) sigon |= SER_RI;
997 return (sigon);
1001 if (sigon & SER_DTR)
1005 if (sigon
[all...]
/freebsd-11-stable/sys/dev/cy/
H A Dcy.c1841 cymodem(struct tty *tp, int sigon, int sigoff) argument
1848 if (sigon == 0 && sigoff == 0) {
1849 sigon = 0;
1852 sigon |= SER_DTR;
1855 sigon |= SER_RTS;
1868 sigon |= SER_CTS;
1870 sigon |= SER_DCD;
1872 sigon |= SER_DSR;
1875 sigon |= SER_RI;
1876 return (sigon);
[all...]
/freebsd-11-stable/sys/dev/digi/
H A Ddigi.c71 static int digimodem(struct tty *tp, int sigon, int sigoff);
603 digimodem(struct tty *tp, int sigon, int sigoff) argument
612 if (sigon == 0 && sigoff == 0) {
617 sigon |= SER_RTS;
619 sigon |= SER_DCD;
621 sigon |= SER_DSR;
623 sigon |= SER_CTS;
625 sigon |= SER_RI;
627 sigon |= SER_DTR;
628 return (sigon);
[all...]
/freebsd-11-stable/sys/dev/rp/
H A Drp.c918 rpmodem(struct tty *tp, int sigon, int sigoff) argument
924 if (sigon != 0 || sigoff != 0) {
926 if (sigon & SER_DTR)
930 if (sigon & SER_RTS)
/freebsd-11-stable/sys/dev/cx/
H A Dif_cx.c1480 static int cx_tmodem (struct tty *tp, int sigon, int sigoff) argument
1489 if (!sigon && !sigoff) {
1490 if (cx_get_dsr (d->chan)) sigon |= SER_DSR;
1491 if (cx_get_cd (d->chan)) sigon |= SER_DCD;
1492 if (cx_get_cts (d->chan)) sigon |= SER_CTS;
1493 if (d->chan->dtr) sigon |= SER_DTR;
1494 if (d->chan->rts) sigon |= SER_RTS;
1496 return sigon;
1499 if (sigon & SER_DTR)
1503 if (sigon
[all...]
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnetd/
H A Dsys_term.c1711 # define sigon() /* do nothing */ macro
1722 pause(); /* wait until we get a signal (sigon) */
1725 sigon(); /* turn on signals again */
/freebsd-11-stable/sys/dev/sio/
H A Dsio.c266 static int commodem(struct tty *tp, int sigon, int sigoff);
2129 commodem(struct tty *tp, int sigon, int sigoff) argument
2137 if (sigon != 0 || sigoff != 0) {
2143 if (sigon & SER_DTR)
2145 if (sigon & SER_RTS)
/freebsd-11-stable/sys/pc98/cbus/
H A Dsio.c354 static int commodem(struct tty *tp, int sigon, int sigoff);
3211 commodem(struct tty *tp, int sigon, int sigoff) argument
3222 if (sigon != 0 || sigoff != 0) {
3235 if (sigon & SER_DTR) {
3240 if (sigon & SER_RTS) {
3259 if (sigon & SER_DTR)
3261 if (sigon & SER_RTS)
/freebsd-11-stable/sys/kern/
H A Dtty.c976 ttydevsw_defmodem(struct tty *tp __unused, int sigon __unused,

Completed in 183 milliseconds