Lines Matching refs:ISSET
426 if (ISSET(sc->sc_hwflags, ZYNQUART_HW_CONSOLE)) {
452 if (!ISSET(sc->sc_hwflags, ZYNQUART_HW_CONSOLE)) {
496 ISSET(tp->t_cflag, CLOCAL) ? '+' : '-',
497 ISSET(sc->sc_msr, MSR_DCD) ? '+' : '-',
498 ISSET(tp->t_state, TS_CARR_ON) ? '+' : '-',
499 ISSET(sc->sc_mcr, MCR_DTR) ? '+' : '-',
505 ISSET(tp->t_cflag, CRTSCTS) ? '+' : '-',
506 ISSET(sc->sc_msr, MSR_CTS) ? '+' : '-',
507 ISSET(tp->t_state, TS_TTSTOP) ? '+' : '-',
508 ISSET(sc->sc_mcr, MCR_RTS) ? '+' : '-',
520 if (ISSET(sc->sc_hwflags, ZYNQUART_HW_CONSOLE))
613 if (ISSET(tp->t_cflag, HUPCL)) {
649 if (sc == NULL || !ISSET(sc->sc_hwflags, ZYNQUART_HW_DEV_OK) ||
660 if (ISSET(sc->sc_hwflags, ZYNQUART_HW_KGDB))
674 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
713 if (ISSET(sc->sc_hwflags, ZYNQUART_HW_CONSOLE)) {
721 if (ISSET(sc->sc_swflags, TIOCFLAG_CLOCAL))
723 if (ISSET(sc->sc_swflags, TIOCFLAG_CRTSCTS))
725 if (ISSET(sc->sc_swflags, TIOCFLAG_MDMBUF))
767 error = ttyopen(tp, ZYNQUART_DIALOUT(dev), ISSET(flag, O_NONBLOCK));
769 error = ttyopen(tp, 1, ISSET(flag, O_NONBLOCK));
781 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
800 if (!ISSET(tp->t_state, TS_ISOPEN))
809 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
1042 if (ISSET(ttybits, TIOCM_DTR))
1044 if (ISSET(ttybits, TIOCM_RTS))
1076 if (ISSET(combits, MODEMCR_DTR))
1078 if (ISSET(combits, MODEMCR_RTS))
1082 if (ISSET(combits, MODEMSR_DCD))
1084 if (ISSET(combits, MODEMSR_CTS))
1086 if (ISSET(combits, MODEMSR_DSR))
1088 if (ISSET(combits, MODEMSR_RI | MODEMSR_TERI))
1093 if (ISSET(sc->sc_imr, IER_ERXRDY | IER_ETXRDY | IER_ERLS | IER_EMSC))
1121 if (ISSET(cflag, PARENB)) {
1123 if (!ISSET(cflag, PARODD))
1131 if (ISSET(cflag, CSTOPB))
1157 if (ISSET(sc->sc_swflags, TIOCFLAG_SOFTCAR) ||
1158 ISSET(sc->sc_hwflags, ZYNQUART_HW_CONSOLE)) {
1188 if (ISSET(t->c_cflag, CLOCAL | MDMBUF))
1196 if (ISSET(t->c_cflag, CRTSCTS)) {
1201 } else if (ISSET(t->c_cflag, MDMBUF)) {
1220 if (ISSET(sc->sc_mcr, MCR_DTR))
1253 if (!ISSET(t->c_cflag, CHWFLOW)) {
1257 if (ISSET(sc->sc_rx_flags, ZYNQUART_RX_TTY_OVERFLOWED)) {
1261 if (ISSET(sc->sc_rx_flags,
1279 (void) (*tp->t_linesw->l_modem)(tp, ISSET(sc->sc_msr, MODEMSR_DCD));
1286 if (!ISSET(t->c_cflag, CHWFLOW)) {
1308 while (!ISSET(bus_space_read_4(iot, ioh, UART_CHANNEL_STS), STS_REMPTY) &&
1340 if (!ISSET(sc->sc_rx_flags, ZYNQUART_RX_TTY_BLOCKED)) {
1345 if (ISSET(sc->sc_rx_flags, ZYNQUART_RX_TTY_OVERFLOWED)) {
1349 if (ISSET(sc->sc_rx_flags, ZYNQUART_RX_TTY_BLOCKED)) {
1371 if (ISSET(sc->sc_rx_flags, RX_ANY_BLOCK)) {
1398 if (ISSET(tp->t_state, TS_BUSY | TS_TIMEOUT | TS_TTSTOP))
1443 if (ISSET(tp->t_state, TS_BUSY)) {
1447 if (!ISSET(tp->t_state, TS_TTSTOP))
1495 if (!ISSET(tp->t_state, TS_ISOPEN)) {
1507 if (ISSET(__SHIFTOUT(data, ERROR_BITS), ERRBITS)) {
1511 if (ISSET(__SHIFTOUT(data, ERROR_BITS), INT_ROVR))
1513 if (ISSET(__SHIFTOUT(data, ERROR_BITS), INT_FRAME)) {
1517 if (ISSET(__SHIFTOUT(data, ERROR_BITS), INT_PARE)) {
1526 if (!ISSET(sc->sc_rx_flags, ZYNQUART_RX_TTY_BLOCKED)) {
1560 if (ISSET(sc->sc_rx_flags, ZYNQUART_RX_IBUF_OVERFLOWED)) {
1564 if (ISSET(sc->sc_rx_flags, ZYNQUART_RX_IBUF_BLOCKED)) {
1578 if (ISSET(tp->t_state, TS_FLUSH))
1597 if (ISSET(delta, sc->sc_msr_dcd)) {
1601 (void) (*tp->t_linesw->l_modem)(tp, ISSET(msr, MSR_DCD));
1604 if (ISSET(delta, sc->sc_msr_cts)) {
1606 if (ISSET(msr, sc->sc_msr_cts)) {
1731 if (!ISSET(sc->sc_rx_flags, ZYNQUART_RX_TTY_OVERFLOWED))
1737 if (!ISSET(sc->sc_rx_flags, ZYNQUART_RX_IBUF_BLOCKED) &&
2116 if (ISSET(sc->sc_hwflags, ZYNQUART_HW_FIFO))