Lines Matching refs:cnow
1117 struct mgsl_icount cnow; /* kernel counter temps */ in get_icount() local
1121 cnow = info->icount; in get_icount()
1124 icount->cts = cnow.cts; in get_icount()
1125 icount->dsr = cnow.dsr; in get_icount()
1126 icount->rng = cnow.rng; in get_icount()
1127 icount->dcd = cnow.dcd; in get_icount()
1128 icount->rx = cnow.rx; in get_icount()
1129 icount->tx = cnow.tx; in get_icount()
1130 icount->frame = cnow.frame; in get_icount()
1131 icount->overrun = cnow.overrun; in get_icount()
1132 icount->parity = cnow.parity; in get_icount()
1133 icount->brk = cnow.brk; in get_icount()
1134 icount->buf_overrun = cnow.buf_overrun; in get_icount()
2765 struct mgsl_icount cprev, cnow; in wait_mgsl_event() local
2817 cnow = info->icount; in wait_mgsl_event()
2831 cnow.exithunt == cprev.exithunt && in wait_mgsl_event()
2832 cnow.rxidle == cprev.rxidle) { in wait_mgsl_event()
2846 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in wait_mgsl_event()
2847 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in wait_mgsl_event()
2851 cprev = cnow; in wait_mgsl_event()
3141 struct mgsl_icount cprev, cnow; in modem_input_wait() local
3160 cnow = info->icount; in modem_input_wait()
3165 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait()
3166 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in modem_input_wait()
3172 if ((arg & TIOCM_RNG && cnow.rng != cprev.rng) || in modem_input_wait()
3173 (arg & TIOCM_DSR && cnow.dsr != cprev.dsr) || in modem_input_wait()
3174 (arg & TIOCM_CD && cnow.dcd != cprev.dcd) || in modem_input_wait()
3175 (arg & TIOCM_CTS && cnow.cts != cprev.cts)) { in modem_input_wait()
3180 cprev = cnow; in modem_input_wait()