Lines Matching refs:t_state
298 tp->t_state &= ~TS_BUSY; in siotty_txsoft()
299 if ((tp->t_state & TS_FLUSH) != 0) in siotty_txsoft()
300 tp->t_state &= ~TS_FLUSH; in siotty_txsoft()
315 if (tp->t_state & (TS_BUSY|TS_TIMEOUT|TS_TTSTOP)) in siostart()
321 tp->t_state |= TS_BUSY; in siostart()
343 if (TS_BUSY == (tp->t_state & (TS_BUSY|TS_TTSTOP))) { in siostop()
347 tp->t_state |= TS_FLUSH; in siostop()
470 if ((tp->t_state & TS_ISOPEN) && (tp->t_state & TS_XCLUDE) in sioopen()
474 if ((tp->t_state & TS_ISOPEN) == 0) { in sioopen()
493 tp->t_state |= TS_CARR_ON; in sioopen()
495 tp->t_state &= ~TS_CARR_ON; in sioopen()
497 tp->t_state |= TS_CARR_ON; /* assume detected all the time */ in sioopen()
521 || tp->t_wopen || (tp->t_state & TS_ISOPEN) == 0) { in sioclose()