Home | History | Annotate | Download | only in imx

Lines Matching refs:ISSET

369 	if (ISSET(sc->sc_hwflags, IMXUART_HW_CONSOLE)) {
391 if (!ISSET(sc->sc_hwflags, IMXUART_HW_CONSOLE)) {
500 ISSET(tp->t_cflag, CLOCAL) ? '+' : '-',
501 ISSET(sc->sc_msr, MSR_DCD) ? '+' : '-',
502 ISSET(tp->t_state, TS_CARR_ON) ? '+' : '-',
503 ISSET(sc->sc_mcr, MCR_DTR) ? '+' : '-',
509 ISSET(tp->t_cflag, CRTSCTS) ? '+' : '-',
510 ISSET(sc->sc_msr, MSR_CTS) ? '+' : '-',
511 ISSET(tp->t_state, TS_TTSTOP) ? '+' : '-',
512 ISSET(sc->sc_mcr, MCR_RTS) ? '+' : '-',
524 if (ISSET(sc->sc_hwflags, IMXUART_HW_CONSOLE))
617 if (ISSET(tp->t_cflag, HUPCL)) {
653 if (sc == NULL || !ISSET(sc->sc_hwflags, IMXUART_HW_DEV_OK) ||
664 if (ISSET(sc->sc_hwflags, IMXUART_HW_KGDB))
678 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
717 if (ISSET(sc->sc_hwflags, IMXUART_HW_CONSOLE)) {
725 if (ISSET(sc->sc_swflags, TIOCFLAG_CLOCAL))
727 if (ISSET(sc->sc_swflags, TIOCFLAG_CRTSCTS))
729 if (ISSET(sc->sc_swflags, TIOCFLAG_MDMBUF))
771 error = ttyopen(tp, IMXUART_DIALOUT(dev), ISSET(flag, O_NONBLOCK));
773 error = ttyopen(tp, 1, ISSET(flag, O_NONBLOCK));
785 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
804 if (!ISSET(tp->t_state, TS_ISOPEN))
813 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
1057 if (ISSET(ttybits, TIOCM_DTR))
1059 if (ISSET(ttybits, TIOCM_RTS))
1106 if (ISSET(sc->sc_ucr3, IMX_UCR3_DSR))
1108 if (ISSET(sc->sc_ucr2, IMX_UCR2_CTS))
1113 if (ISSET(usr[0], IMX_USR1_RTSS))
1116 if (ISSET(usr[1], IMX_USR2_DCDIN))
1123 if (ISSET(imxubits, MSR_DSR))
1127 if (ISSET(usr[1], IMX_USR2_RIIN))
1132 if (ISSET(sc->sc_ier, IER_ERXRDY | IER_ETXRDY | IER_ERLS | IER_EMSC))
1158 if (ISSET(cflag, PARENB)) {
1162 if (!ISSET(cflag, PARODD))
1166 if (ISSET(cflag, CSTOPB))
1194 if (ISSET(sc->sc_swflags, TIOCFLAG_SOFTCAR) ||
1195 ISSET(sc->sc_hwflags, IMXUART_HW_CONSOLE)) {
1224 if (ISSET(t->c_cflag, CLOCAL | MDMBUF))
1232 if (ISSET(t->c_cflag, CRTSCTS)) {
1237 } else if (ISSET(t->c_cflag, MDMBUF)) {
1256 if (ISSET(sc->sc_mcr, MCR_DTR))
1291 if (!ISSET(t->c_cflag, CHWFLOW)) {
1295 if (ISSET(sc->sc_rx_flags, IMXUART_RX_TTY_OVERFLOWED)) {
1299 if (ISSET(sc->sc_rx_flags,
1318 (void) (*tp->t_linesw->l_modem)(tp, ISSET(sc->sc_msr, MSR_DCD));
1329 if (!ISSET(t->c_cflag, CHWFLOW)) {
1351 while (ISSET(bus_space_read_4(iot, ioh, IMX_USR2), IMX_USR2_RDR)
1382 if (!ISSET(sc->sc_rx_flags, IMXUART_RX_TTY_BLOCKED)) {
1387 if (ISSET(sc->sc_rx_flags, IMXUART_RX_TTY_OVERFLOWED)) {
1391 if (ISSET(sc->sc_rx_flags, IMXUART_RX_TTY_BLOCKED)) {
1413 if (ISSET(sc->sc_rx_flags, RX_ANY_BLOCK)) {
1442 if (ISSET(tp->t_state, TS_BUSY | TS_TIMEOUT | TS_TTSTOP))
1489 if (ISSET(tp->t_state, TS_BUSY)) {
1493 if (!ISSET(tp->t_state, TS_TTSTOP))
1541 if (!ISSET(tp->t_state, TS_ISOPEN)) {
1553 if (ISSET(data, ERRBITS)) {
1557 if (ISSET(data, IMX_URXD_OVRRUN))
1559 if (ISSET(data, IMX_URXD_BRK)) {
1563 if (ISSET(data, IMX_URXD_FRMERR)) {
1567 if (ISSET(data, IMX_URXD_PRERR)) {
1576 if (!ISSET(sc->sc_rx_flags, IMXUART_RX_TTY_BLOCKED)) {
1610 if (ISSET(sc->sc_rx_flags, IMXUART_RX_IBUF_OVERFLOWED)) {
1614 if (ISSET(sc->sc_rx_flags, IMXUART_RX_IBUF_BLOCKED)) {
1628 if (ISSET(tp->t_state, TS_FLUSH))
1647 if (ISSET(delta, sc->sc_msr_dcd)) {
1651 (void) (*tp->t_linesw->l_modem)(tp, ISSET(msr, MSR_DCD));
1654 if (ISSET(delta, sc->sc_msr_cts)) {
1656 if (ISSET(msr, sc->sc_msr_cts)) {
1727 if (ISSET(sc->sc_hwflags, IMXUART_HW_KGDB)) {
1761 if (ISSET(delta, sc->sc_msr_mask)) {
1768 if (ISSET(~msr, sc->sc_msr_mask)) {
1854 if (!ISSET(sc->sc_rx_flags, IMXUART_RX_TTY_OVERFLOWED))
1860 if (!ISSET(sc->sc_rx_flags, IMXUART_RX_IBUF_BLOCKED) &&
2385 if (ISSET(sc->sc_hwflags, IMXUART_HW_FIFO))