Lines Matching refs:ISSET
429 if (ISSET(zst->zst_hwflags, ZS_HWFLAG_CONSOLE)) {
456 } else if (!ISSET(zst->zst_hwflags, ZS_HWFLAG_NORESET)) {
502 if (ISSET(tp->t_cflag, HUPCL)) {
511 if (ISSET(tp->t_state, TS_ISOPEN) || tp->t_wopen != 0)
518 if (!ISSET(zst->zst_hwflags, ZS_HWFLAG_CONSOLE)) {
562 if (ISSET(tp->t_state, TS_KERN_ONLY))
573 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
595 if (ISSET(zst->zst_swflags, TIOCFLAG_CLOCAL))
597 if (ISSET(zst->zst_swflags, TIOCFLAG_CRTSCTS))
599 if (ISSET(zst->zst_swflags, TIOCFLAG_CDTRCTS))
601 if (ISSET(zst->zst_swflags, TIOCFLAG_MDMBUF))
636 if (!ISSET(zst->zst_hwflags, ZS_HWFLAG_RAW)) {
671 error = ttyopen(tp, ZSDIALOUT(dev), ISSET(flags, O_NONBLOCK));
682 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
706 if (!ISSET(tp->t_state, TS_ISOPEN))
712 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
906 if (ISSET(tp->t_state, TS_BUSY | TS_TIMEOUT | TS_TTSTOP))
951 if (ISSET(tp->t_state, TS_BUSY)) {
955 if (!ISSET(tp->t_state, TS_TTSTOP))
991 if (ISSET(zst->zst_swflags, TIOCFLAG_SOFTCAR) ||
992 ISSET(zst->zst_hwflags, ZS_HWFLAG_CONSOLE)) {
1039 switch (ISSET(cflag, CSIZE)) {
1067 if (ISSET(cflag, CSTOPB))
1071 if (!ISSET(cflag, PARODD))
1073 if (ISSET(cflag, PARENB))
1100 if (!ISSET(cflag, CHWFLOW)) {
1103 if (ISSET(zst->zst_rx_flags, RX_TTY_OVERFLOWED)) {
1108 if (ISSET(zst->zst_rx_flags, RX_TTY_BLOCKED|RX_IBUF_BLOCKED)) {
1129 if (!ISSET(cflag, CHWFLOW)) {
1156 if (ISSET(cs->cs_rr0_mask, ZSRR0_DCD))
1160 if (ISSET(cs->cs_rr0_mask, ZSRR0_CTS))
1211 if (ISSET(ttybits, TIOCM_DTR))
1213 if (ISSET(ttybits, TIOCM_RTS))
1255 if (ISSET(zsbits, ZSWR5_DTR))
1257 if (ISSET(zsbits, ZSWR5_RTS))
1261 if (ISSET(zsbits, ZSRR0_DCD))
1263 if (ISSET(zsbits, ZSRR0_CTS))
1289 if (!ISSET(zst->zst_rx_flags, RX_TTY_BLOCKED)) {
1294 if (ISSET(zst->zst_rx_flags, RX_TTY_OVERFLOWED)) {
1299 if (ISSET(zst->zst_rx_flags, RX_TTY_BLOCKED)) {
1322 if (ISSET(zst->zst_rx_flags, RX_ANY_BLOCK)) {
1367 if (ISSET(rr1, ZSRR1_FE | ZSRR1_DO | ZSRR1_PE)) {
1381 if (!ISSET(rr0, ZSRR0_RX_READY))
1393 if (!ISSET(zst->zst_rx_flags, RX_TTY_OVERFLOWED)) {
1402 if (!ISSET(zst->zst_rx_flags, RX_IBUF_BLOCKED) &&
1477 if (ISSET(rr0, ZSRR0_BREAK))
1486 if (ISSET(delta, cs->cs_rr0_mask)) {
1492 if (ISSET(delta, zst->zst_ppsmask)) {
1498 (ISSET(cs->cs_rr0, zst->zst_ppsmask))
1509 if (ISSET(~rr0, cs->cs_rr0_mask)) {
1561 if (!ISSET(tp->t_state, TS_ISOPEN)) {
1570 if (ISSET(rr1, ZSRR1_DO | ZSRR1_FE | ZSRR1_PE)) {
1571 if (ISSET(rr1, ZSRR1_DO)) {
1577 if (ISSET(rr1, ZSRR1_FE))
1579 if (ISSET(rr1, ZSRR1_PE))
1586 if (!ISSET(zst->zst_rx_flags, RX_TTY_BLOCKED)) {
1622 if (ISSET(zst->zst_rx_flags, RX_IBUF_OVERFLOWED)) {
1628 if (ISSET(zst->zst_rx_flags, RX_IBUF_BLOCKED)) {
1648 if (ISSET(tp->t_state, TS_FLUSH))
1668 if (ISSET(delta, cs->cs_rr0_dcd)) {
1672 (void) (*tp->t_linesw->l_modem)(tp, ISSET(rr0, ZSRR0_DCD));
1675 if (ISSET(delta, cs->cs_rr0_cts)) {
1677 if (ISSET(rr0, cs->cs_rr0_cts)) {