Lines Matching refs:cnow
1102 struct mgsl_icount cnow; /* kernel counter temps */ in get_icount() local
1106 cnow = info->icount; in get_icount()
1109 icount->cts = cnow.cts; in get_icount()
1110 icount->dsr = cnow.dsr; in get_icount()
1111 icount->rng = cnow.rng; in get_icount()
1112 icount->dcd = cnow.dcd; in get_icount()
1113 icount->rx = cnow.rx; in get_icount()
1114 icount->tx = cnow.tx; in get_icount()
1115 icount->frame = cnow.frame; in get_icount()
1116 icount->overrun = cnow.overrun; in get_icount()
1117 icount->parity = cnow.parity; in get_icount()
1118 icount->brk = cnow.brk; in get_icount()
1119 icount->buf_overrun = cnow.buf_overrun; in get_icount()
2733 struct mgsl_icount cprev, cnow; in wait_mgsl_event() local
2785 cnow = info->icount; in wait_mgsl_event()
2799 cnow.exithunt == cprev.exithunt && in wait_mgsl_event()
2800 cnow.rxidle == cprev.rxidle) { in wait_mgsl_event()
2814 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in wait_mgsl_event()
2815 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in wait_mgsl_event()
2819 cprev = cnow; in wait_mgsl_event()
3109 struct mgsl_icount cprev, cnow; in modem_input_wait() local
3128 cnow = info->icount; in modem_input_wait()
3133 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait()
3134 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in modem_input_wait()
3140 if ((arg & TIOCM_RNG && cnow.rng != cprev.rng) || in modem_input_wait()
3141 (arg & TIOCM_DSR && cnow.dsr != cprev.dsr) || in modem_input_wait()
3142 (arg & TIOCM_CD && cnow.dcd != cprev.dcd) || in modem_input_wait()
3143 (arg & TIOCM_CTS && cnow.cts != cprev.cts)) { in modem_input_wait()
3148 cprev = cnow; in modem_input_wait()