Home | History | Annotate | Download | only in ic

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) ? '+' : '-',
681 if (ISSET(CSR_READ_1(regsp, COM_REG_IIR), IIR_FIFO_MASK)
683 if (ISSET(CSR_READ_1(regsp, COM_REG_FIFO), FIFO_TRIGGER_14)
754 if (!ISSET(iir1, IIR_64B_FIFO) &&
755 ISSET(iir2, IIR_64B_FIFO)) {
781 if (ISSET(sc->sc_hwflags, COM_HW_FIFO)) {
786 if (ISSET(sc->sc_hwflags, COM_HW_TXFIFO_DISABLE)) {
807 if (!ISSET(sc->sc_hwflags, COM_HW_NOIEN))
810 if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) {
831 if (!ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) {
904 if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE|COM_HW_KGDB))
914 if (ISSET(sc->sc_hwflags, COM_HW_KGDB))
917 if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE) &&
926 if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) {
991 if (ISSET(tp->t_cflag, HUPCL)) {
998 if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) {
1033 if (sc == NULL || !ISSET(sc->sc_hwflags, COM_HW_DEV_OK) ||
1044 if (ISSET(sc->sc_hwflags, COM_HW_KGDB))
1054 if (ISSET(tp->t_state, TS_KERN_ONLY))
1065 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
1100 if (!ISSET(tp->t_cflag, CLOCAL))
1126 if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) {
1134 if (ISSET(sc->sc_swflags, TIOCFLAG_CLOCAL))
1136 if (ISSET(sc->sc_swflags, TIOCFLAG_CRTSCTS))
1138 if (ISSET(sc->sc_swflags, TIOCFLAG_MDMBUF))
1177 error = ttyopen(tp, COMDIALOUT(dev), ISSET(flag, O_NONBLOCK));
1188 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
1207 if (!ISSET(tp->t_state, TS_ISOPEN))
1213 if (ISSET(tp->t_state, TS_KERN_ONLY))
1222 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
1455 if (ISSET(ttybits, TIOCM_DTR))
1457 if (ISSET(ttybits, TIOCM_RTS))
1492 if (ISSET(combits, MCR_DTR))
1494 if (ISSET(combits, MCR_RTS))
1501 if (ISSET(combits, MSR_DCD))
1504 if (ISSET(combits, MSR_CTS))
1506 if (ISSET(combits, MSR_DSR))
1508 if (ISSET(combits, MSR_RI | MSR_TERI))
1511 if (ISSET(sc->sc_ier, IER_ERXRDY | IER_ETXRDY | IER_ERLS | IER_EMSC))
1522 switch (ISSET(cflag, CSIZE)) {
1536 if (ISSET(cflag, PARENB)) {
1538 if (!ISSET(cflag, PARODD))
1541 if (ISSET(cflag, CSTOPB))
1587 if (ISSET(sc->sc_swflags, TIOCFLAG_SOFTCAR) ||
1588 ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) {
1602 lcr = ISSET(sc->sc_lcr, LCR_SBREAK) | cflag2lcr(t->c_cflag);
1612 if (ISSET(t->c_cflag, CLOCAL | MDMBUF))
1620 if (ISSET(t->c_cflag, CRTSCTS)) {
1624 if (ISSET(sc->sc_hwflags, COM_HW_AFE)) {
1629 } else if (ISSET(t->c_cflag, MDMBUF)) {
1637 if (ISSET(sc->sc_hwflags, COM_HW_AFE)) {
1651 if (ISSET(sc->sc_hwflags, COM_HW_AFE)) {
1656 if (ISSET(sc->sc_mcr, MCR_DTR))
1684 } else if (ISSET(sc->sc_hwflags, COM_HW_FIFO)) {
1712 if (!ISSET(t->c_cflag, CHWFLOW)) {
1716 if (ISSET(sc->sc_rx_flags, RX_TTY_OVERFLOWED)) {
1720 if (ISSET(sc->sc_rx_flags, RX_TTY_BLOCKED|RX_IBUF_BLOCKED)) {
1740 (void) (*tp->t_linesw->l_modem)(tp, ISSET(sc->sc_msr, MSR_DCD));
1747 if (!ISSET(t->c_cflag, CHWFLOW)) {
1772 while (ISSET(CSR_READ_1(regsp, COM_REG_LSR), LSR_RXRDY)
1820 if (ISSET(sc->sc_hwflags, COM_HW_FLOW)) {
1892 if (!ISSET(sc->sc_rx_flags, RX_TTY_BLOCKED)) {
1897 if (ISSET(sc->sc_rx_flags, RX_TTY_OVERFLOWED)) {
1901 if (ISSET(sc->sc_rx_flags, RX_TTY_BLOCKED)) {
1922 if (ISSET(sc->sc_rx_flags, RX_ANY_BLOCK)) {
1943 if (ISSET(tp->t_state, TS_BUSY | TS_TIMEOUT | TS_TTSTOP))
1968 if (!ISSET(sc->sc_ier, IER_ETXRDY)) {
1974 if (!ISSET(sc->sc_hwflags, COM_HW_NO_TXPRELOAD)) {
1998 if (ISSET(tp->t_state, TS_BUSY)) {
2002 if (!ISSET(tp->t_state, TS_TTSTOP))
2049 if (!ISSET(tp->t_state, TS_ISOPEN)) {
2058 if (ISSET(lsr, LSR_OE | LSR_BI | LSR_FE | LSR_PE)) {
2059 if (ISSET(lsr, LSR_OE)) {
2065 if (ISSET(lsr, LSR_BI | LSR_FE))
2067 if (ISSET(lsr, LSR_PE))
2074 if (!ISSET(sc->sc_rx_flags, RX_TTY_BLOCKED)) {
2111 if (ISSET(sc->sc_rx_flags, RX_IBUF_OVERFLOWED)) {
2123 if (ISSET(sc->sc_rx_flags, RX_IBUF_BLOCKED)) {
2137 if (ISSET(tp->t_state, TS_FLUSH))
2155 if (ISSET(delta, sc->sc_msr_dcd)) {
2159 (void) (*tp->t_linesw->l_modem)(tp, ISSET(msr, MSR_DCD));
2162 if (ISSET(delta, sc->sc_msr_cts)) {
2164 if (ISSET(msr, sc->sc_msr_cts)) {
2243 if (ISSET(sc->sc_hwflags, COM_HW_CONSOLE)) {
2279 if (ISSET(iir, IIR_NOPEND)) {
2280 if (ISSET(sc->sc_hwflags, COM_HW_BROKEN_ETXRDY))
2290 if (ISSET(lsr, LSR_BI)) {
2298 if (ISSET(sc->sc_hwflags, COM_HW_KGDB)) {
2305 if (sc->sc_type == COM_TYPE_BCMAUXUART && ISSET(iir, IIR_RXRDY))
2308 if (ISSET(lsr, LSR_RCV_MASK) &&
2309 !ISSET(sc->sc_rx_flags, RX_IBUF_OVERFLOWED)) {
2324 if (!ISSET(lsr, LSR_RCV_MASK))
2336 if (!ISSET(sc->sc_rx_flags, RX_TTY_OVERFLOWED))
2343 if (!ISSET(sc->sc_rx_flags, RX_IBUF_BLOCKED) &&
2394 if (ISSET(delta, sc->sc_msr_mask)) {
2401 if (ISSET(~msr, sc->sc_msr_mask)) {
2412 } while (!ISSET((iir =
2433 if (ISSET(lsr, LSR_TXRDY)) {
2457 if (ISSET(sc->sc_ier, IER_ETXRDY)) {
2468 if (!ISSET((iir = CSR_READ_1(regsp, COM_REG_IIR)), IIR_NOPEND))
2517 if (!ISSET(stat = CSR_READ_1(regsp, COM_REG_LSR), LSR_RXRDY)) {
2540 && ISSET(stat = CSR_READ_1(regsp, COM_REG_LSR), LSR_RXRDY)) {
2550 while (!ISSET(CSR_READ_1(regsp, COM_REG_LSR), LSR_TXRDY) && --timo)
2817 if (ISSET(sc->sc_hwflags, COM_HW_FIFO))