Lines Matching refs:ISSET

461 	    ISSET(tp->t_cflag, CLOCAL) ? '+' : '-',
462 ISSET(sc->sc_msr, MSR_DCD) ? '+' : '-',
463 ISSET(tp->t_state, TS_CARR_ON) ? '+' : '-',
464 ISSET(sc->sc_mcr, MCR_DTR) ? '+' : '-',
470 ISSET(tp->t_cflag, CRTSCTS) ? '+' : '-',
471 ISSET(sc->sc_msr, MSR_CTS) ? '+' : '-',
472 ISSET(tp->t_state, TS_TTSTOP) ? '+' : '-',
473 ISSET(sc->sc_mcr, MCR_RTS) ? '+' : '-',
676 if (ISSET(CSR_READ_1(regsp, COM_REG_IIR), IIR_FIFO_MASK)
678 if (ISSET(CSR_READ_1(regsp, COM_REG_FIFO), FIFO_TRIGGER_14)
749 if (!ISSET(iir1, IIR_64B_FIFO) &&
750 ISSET(iir2, IIR_64B_FIFO)) {
776 if (ISSET(sc->sc_hwflags, COM_HW_FIFO)) {
781 if (ISSET(sc->sc_hwflags, COM_HW_TXFIFO_DISABLE)) {
802 if (!ISSET(sc->sc_hwflags, COM_HW_NOIEN))
805 if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) {
826 if (!ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) {
899 if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE|COM_HW_KGDB))
909 if (ISSET(sc->sc_hwflags, COM_HW_KGDB))
912 if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE) &&
921 if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) {
986 if (ISSET(tp->t_cflag, HUPCL)) {
993 if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) {
1028 if (sc == NULL || !ISSET(sc->sc_hwflags, COM_HW_DEV_OK) ||
1039 if (ISSET(sc->sc_hwflags, COM_HW_KGDB))
1049 if (ISSET(tp->t_state, TS_KERN_ONLY))
1060 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
1095 if (!ISSET(tp->t_cflag, CLOCAL))
1121 if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) {
1129 if (ISSET(sc->sc_swflags, TIOCFLAG_CLOCAL))
1131 if (ISSET(sc->sc_swflags, TIOCFLAG_CRTSCTS))
1133 if (ISSET(sc->sc_swflags, TIOCFLAG_MDMBUF))
1172 error = ttyopen(tp, COMDIALOUT(dev), ISSET(flag, O_NONBLOCK));
1183 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
1202 if (!ISSET(tp->t_state, TS_ISOPEN))
1208 if (ISSET(tp->t_state, TS_KERN_ONLY))
1217 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
1450 if (ISSET(ttybits, TIOCM_DTR))
1452 if (ISSET(ttybits, TIOCM_RTS))
1487 if (ISSET(combits, MCR_DTR))
1489 if (ISSET(combits, MCR_RTS))
1496 if (ISSET(combits, MSR_DCD))
1499 if (ISSET(combits, MSR_CTS))
1501 if (ISSET(combits, MSR_DSR))
1503 if (ISSET(combits, MSR_RI | MSR_TERI))
1506 if (ISSET(sc->sc_ier, IER_ERXRDY | IER_ETXRDY | IER_ERLS | IER_EMSC))
1517 switch (ISSET(cflag, CSIZE)) {
1531 if (ISSET(cflag, PARENB)) {
1533 if (!ISSET(cflag, PARODD))
1536 if (ISSET(cflag, CSTOPB))
1582 if (ISSET(sc->sc_swflags, TIOCFLAG_SOFTCAR) ||
1583 ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) {
1597 lcr = ISSET(sc->sc_lcr, LCR_SBREAK) | cflag2lcr(t->c_cflag);
1607 if (ISSET(t->c_cflag, CLOCAL | MDMBUF))
1615 if (ISSET(t->c_cflag, CRTSCTS)) {
1619 if (ISSET(sc->sc_hwflags, COM_HW_AFE)) {
1624 } else if (ISSET(t->c_cflag, MDMBUF)) {
1632 if (ISSET(sc->sc_hwflags, COM_HW_AFE)) {
1646 if (ISSET(sc->sc_hwflags, COM_HW_AFE)) {
1651 if (ISSET(sc->sc_mcr, MCR_DTR))
1679 } else if (ISSET(sc->sc_hwflags, COM_HW_FIFO)) {
1707 if (!ISSET(t->c_cflag, CHWFLOW)) {
1711 if (ISSET(sc->sc_rx_flags, RX_TTY_OVERFLOWED)) {
1715 if (ISSET(sc->sc_rx_flags, RX_TTY_BLOCKED|RX_IBUF_BLOCKED)) {
1735 (void) (*tp->t_linesw->l_modem)(tp, ISSET(sc->sc_msr, MSR_DCD));
1742 if (!ISSET(t->c_cflag, CHWFLOW)) {
1767 while (ISSET(CSR_READ_1(regsp, COM_REG_LSR), LSR_RXRDY)
1815 if (ISSET(sc->sc_hwflags, COM_HW_FLOW)) {
1887 if (!ISSET(sc->sc_rx_flags, RX_TTY_BLOCKED)) {
1892 if (ISSET(sc->sc_rx_flags, RX_TTY_OVERFLOWED)) {
1896 if (ISSET(sc->sc_rx_flags, RX_TTY_BLOCKED)) {
1917 if (ISSET(sc->sc_rx_flags, RX_ANY_BLOCK)) {
1938 if (ISSET(tp->t_state, TS_BUSY | TS_TIMEOUT | TS_TTSTOP))
1963 if (!ISSET(sc->sc_ier, IER_ETXRDY)) {
1969 if (!ISSET(sc->sc_hwflags, COM_HW_NO_TXPRELOAD)) {
1993 if (ISSET(tp->t_state, TS_BUSY)) {
1997 if (!ISSET(tp->t_state, TS_TTSTOP))
2044 if (!ISSET(tp->t_state, TS_ISOPEN)) {
2053 if (ISSET(lsr, LSR_OE | LSR_BI | LSR_FE | LSR_PE)) {
2054 if (ISSET(lsr, LSR_OE)) {
2060 if (ISSET(lsr, LSR_BI | LSR_FE))
2062 if (ISSET(lsr, LSR_PE))
2069 if (!ISSET(sc->sc_rx_flags, RX_TTY_BLOCKED)) {
2106 if (ISSET(sc->sc_rx_flags, RX_IBUF_OVERFLOWED)) {
2118 if (ISSET(sc->sc_rx_flags, RX_IBUF_BLOCKED)) {
2132 if (ISSET(tp->t_state, TS_FLUSH))
2150 if (ISSET(delta, sc->sc_msr_dcd)) {
2154 (void) (*tp->t_linesw->l_modem)(tp, ISSET(msr, MSR_DCD));
2157 if (ISSET(delta, sc->sc_msr_cts)) {
2159 if (ISSET(msr, sc->sc_msr_cts)) {
2238 if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) {
2274 if (ISSET(iir, IIR_NOPEND)) {
2275 if (ISSET(sc->sc_hwflags, COM_HW_BROKEN_ETXRDY))
2285 if (ISSET(lsr, LSR_BI)) {
2293 if (ISSET(sc->sc_hwflags, COM_HW_KGDB)) {
2300 if (sc->sc_type == COM_TYPE_BCMAUXUART && ISSET(iir, IIR_RXRDY))
2303 if (ISSET(lsr, LSR_RCV_MASK) &&
2304 !ISSET(sc->sc_rx_flags, RX_IBUF_OVERFLOWED)) {
2319 if (!ISSET(lsr, LSR_RCV_MASK))
2331 if (!ISSET(sc->sc_rx_flags, RX_TTY_OVERFLOWED))
2338 if (!ISSET(sc->sc_rx_flags, RX_IBUF_BLOCKED) &&
2389 if (ISSET(delta, sc->sc_msr_mask)) {
2396 if (ISSET(~msr, sc->sc_msr_mask)) {
2407 } while (!ISSET((iir =
2428 if (ISSET(lsr, LSR_TXRDY)) {
2452 if (ISSET(sc->sc_ier, IER_ETXRDY)) {
2463 if (!ISSET((iir = CSR_READ_1(regsp, COM_REG_IIR)), IIR_NOPEND))
2512 if (!ISSET(stat = CSR_READ_1(regsp, COM_REG_LSR), LSR_RXRDY)) {
2535 && ISSET(stat = CSR_READ_1(regsp, COM_REG_LSR), LSR_RXRDY)) {
2545 while (!ISSET(CSR_READ_1(regsp, COM_REG_LSR), LSR_TXRDY) && --timo)
2812 if (ISSET(sc->sc_hwflags, COM_HW_FIFO))