Lines Matching refs:onoff
627 uint8_t onoff;
667 onoff = (sc->sc_mcr & SER_DTR) ? 1 : 0;
668 ucom_dtr(sc, onoff);
670 onoff = (sc->sc_mcr & SER_RTS) ? 1 : 0;
671 ucom_rts(sc, onoff);
768 ucom_ring(struct ucom_softc *sc, uint8_t onoff)
770 DPRINTF("onoff = %d\n", onoff);
772 if (onoff)
779 ucom_break(struct ucom_softc *sc, uint8_t onoff)
781 DPRINTF("onoff = %d\n", onoff);
783 if (onoff)
790 ucom_dtr(struct ucom_softc *sc, uint8_t onoff)
792 DPRINTF("onoff = %d\n", onoff);
794 if (onoff)
801 ucom_rts(struct ucom_softc *sc, uint8_t onoff)
803 DPRINTF("onoff = %d\n", onoff);
805 if (onoff)
819 uint8_t onoff;
841 onoff = ((sc->sc_msr ^ new_msr) & SER_DCD);
847 if (onoff) {
848 onoff = (sc->sc_msr & SER_DCD) ? 1 : 0;
849 DPRINTF("DCD changed to %d\n", onoff);