Lines Matching refs:onoff
946 uint8_t onoff;
986 onoff = (sc->sc_mcr & SER_DTR) ? 1 : 0;
987 ucom_dtr(sc, onoff);
989 onoff = (sc->sc_mcr & SER_RTS) ? 1 : 0;
990 ucom_rts(sc, onoff);
1087 ucom_ring(struct ucom_softc *sc, uint8_t onoff)
1089 DPRINTF("onoff = %d\n", onoff);
1091 if (onoff)
1098 ucom_break(struct ucom_softc *sc, uint8_t onoff)
1100 DPRINTF("onoff = %d\n", onoff);
1102 if (onoff)
1109 ucom_dtr(struct ucom_softc *sc, uint8_t onoff)
1111 DPRINTF("onoff = %d\n", onoff);
1113 if (onoff)
1120 ucom_rts(struct ucom_softc *sc, uint8_t onoff)
1122 DPRINTF("onoff = %d\n", onoff);
1124 if (onoff)
1137 int onoff;
1189 onoff = (sc->sc_msr & pps_signal) ? 1 : 0;
1191 onoff = !onoff;
1192 pps_event(&sc->sc_pps, onoff ? PPS_CAPTUREASSERT :
1197 onoff = (sc->sc_msr & SER_DCD) ? 1 : 0;
1199 DPRINTF("DCD changed to %d\n", onoff);
1201 ttydisc_modem(tp, onoff);