Home | History | Annotate | Download | only in dev

Lines Matching refs:ISSET

343 	if (ISSET(sc->sc_hwflags, SER_HW_CONSOLE)) {
358 ISSET(tp->t_cflag, CLOCAL) ? "+" : "-",
359 ISSET(sc->sc_msr, MCR_DCD) ? "+" : "-",
360 ISSET(tp->t_state, TS_CARR_ON) ? "+" : "-",
361 ISSET(sc->sc_mcr, MCR_DTR) ? "+" : "-",
366 ISSET(tp->t_cflag, CRTSCTS) ? "+" : "-",
367 ISSET(sc->sc_msr, MCR_CTS) ? "+" : "-",
368 ISSET(tp->t_state, TS_TTSTOP) ? "+" : "-",
369 ISSET(sc->sc_mcr, MCR_RTS) ? "+" : "-",
401 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
424 if (ISSET(sc->sc_hwflags, SER_HW_CONSOLE)) {
431 if (ISSET(sc->sc_swflags, TIOCFLAG_CLOCAL))
433 if (ISSET(sc->sc_swflags, TIOCFLAG_CRTSCTS))
435 if (ISSET(sc->sc_swflags, TIOCFLAG_MDMBUF))
470 error = ttyopen(tp, SERDIALOUT(dev), ISSET(flag, O_NONBLOCK));
481 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
500 if (!ISSET(tp->t_state, TS_ISOPEN))
506 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
679 switch (ISSET(t->c_cflag, CSIZE)) {
693 if (ISSET(t->c_cflag, PARENB)) {
695 if (!ISSET(t->c_cflag, PARODD))
698 if (ISSET(t->c_cflag, CSTOPB))
711 if (ISSET(sc->sc_swflags, TIOCFLAG_SOFTCAR) ||
712 ISSET(sc->sc_hwflags, SER_HW_CONSOLE)) {
721 if (ISSET(t->c_cflag, CLOCAL | MDMBUF))
729 if (ISSET(t->c_cflag, CRTSCTS)) {
734 } else if (ISSET(t->c_cflag, MDMBUF)) {
753 if (ISSET(sc->sc_mcr, MCR_DTR))
790 (void)(*tp->t_linesw->l_modem)(tp, ISSET(sc->sc_msr, MCR_DCD));
798 if (!ISSET(t->c_cflag, CHWFLOW)) {
822 while (ISSET(MFP->mf_rsr, RSR_CIP|RSR_BFULL))
937 if (ISSET(tp->t_state, TS_BUSY))
939 if (ISSET(tp->t_state, TS_TIMEOUT | TS_TTSTOP))
965 if (!ISSET(sc->sc_imra, IA_TRDY)) {
980 if (ISSET(sc->sc_imra, IA_TRDY)) {
1000 if (ISSET(tp->t_state, TS_BUSY)) {
1004 if (!ISSET(tp->t_state, TS_TTSTOP))
1052 if (ISSET(tp->t_cflag, HUPCL)) {
1090 if (ISSET(rsr, RSR_BREAK)) {
1092 if (ISSET(sc->sc_hwflags, SER_HW_CONSOLE))
1095 } else if (ISSET(rsr, RSR_OERR)) {
1114 if (sc->sc_rx_blocked && !ISSET(tp->t_state, TS_TBLOCK)) {
1126 if (ISSET(tp->t_state, TS_FLUSH))
1145 if (ISSET(delta, sc->sc_msr_dcd)) {
1149 (void)(*tp->t_linesw->l_modem)(tp, ISSET(msr, MCR_DCD));
1152 if (ISSET(delta, sc->sc_msr_cts)) {
1154 if (ISSET(msr, sc->sc_msr_cts)) {
1178 if (!ISSET(tp->t_state, TS_ISOPEN) && (tp->t_wopen == 0))
1208 if (ISSET(delta, sc->sc_msr_mask)) {
1215 if (ISSET(~msr, sc->sc_msr_mask)) {
1240 if (ISSET(rsr, RSR_BFULL|RSR_BREAK)) {
1241 for (; ISSET(rsr, RSR_BFULL|RSR_BREAK) && cc > 0; cc--) {
1272 while (ISSET(rsr, RSR_BFULL|RSR_BREAK)) {
1285 if (ISSET(tsr, TSR_BE)) {
1433 while (!ISSET(stat = MFP->mf_rsr, RSR_BFULL)) {
1434 if (!ISSET(stat, RSR_ENAB)) /* XXX */
1466 while (!ISSET(stat = MFP->mf_tsr, TSR_BE) && --timo)
1474 while (!ISSET(stat = MFP->mf_tsr, TSR_BE) && --timo)