Lines Matching defs:onoff
1001 uint8_t onoff;
1041 onoff = (sc->sc_mcr & SER_DTR) ? 1 : 0;
1042 ucom_dtr(sc, onoff);
1044 onoff = (sc->sc_mcr & SER_RTS) ? 1 : 0;
1045 ucom_rts(sc, onoff);
1145 ucom_ring(struct ucom_softc *sc, uint8_t onoff)
1147 DPRINTF("onoff = %d\n", onoff);
1149 if (onoff)
1156 ucom_break(struct ucom_softc *sc, uint8_t onoff)
1158 DPRINTF("onoff = %d\n", onoff);
1160 if (onoff)
1167 ucom_dtr(struct ucom_softc *sc, uint8_t onoff)
1169 DPRINTF("onoff = %d\n", onoff);
1171 if (onoff)
1178 ucom_rts(struct ucom_softc *sc, uint8_t onoff)
1180 DPRINTF("onoff = %d\n", onoff);
1182 if (onoff)
1195 int onoff;
1247 onoff = (sc->sc_msr & pps_signal) ? 1 : 0;
1249 onoff = !onoff;
1250 pps_event(&sc->sc_pps, onoff ? PPS_CAPTUREASSERT :
1255 onoff = (sc->sc_msr & SER_DCD) ? 1 : 0;
1257 DPRINTF("DCD changed to %d\n", onoff);
1259 ttydisc_modem(tp, onoff);