Lines Matching refs:cnow
2659 struct mgsl_icount cprev, cnow; in mgsl_wait_event() local
2718 cnow = info->icount; in mgsl_wait_event()
2732 cnow.exithunt == cprev.exithunt && in mgsl_wait_event()
2733 cnow.rxidle == cprev.rxidle) { in mgsl_wait_event()
2747 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in mgsl_wait_event()
2748 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in mgsl_wait_event()
2752 cprev = cnow; in mgsl_wait_event()
2780 struct mgsl_icount cprev, cnow; in modem_input_wait() local
2799 cnow = info->icount; in modem_input_wait()
2804 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait()
2805 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in modem_input_wait()
2811 if ((arg & TIOCM_RNG && cnow.rng != cprev.rng) || in modem_input_wait()
2812 (arg & TIOCM_DSR && cnow.dsr != cprev.dsr) || in modem_input_wait()
2813 (arg & TIOCM_CD && cnow.dcd != cprev.dcd) || in modem_input_wait()
2814 (arg & TIOCM_CTS && cnow.cts != cprev.cts)) { in modem_input_wait()
2819 cprev = cnow; in modem_input_wait()
2918 struct mgsl_icount cnow; /* kernel counter temps */ in msgl_get_icount() local
2922 cnow = info->icount; in msgl_get_icount()
2925 icount->cts = cnow.cts; in msgl_get_icount()
2926 icount->dsr = cnow.dsr; in msgl_get_icount()
2927 icount->rng = cnow.rng; in msgl_get_icount()
2928 icount->dcd = cnow.dcd; in msgl_get_icount()
2929 icount->rx = cnow.rx; in msgl_get_icount()
2930 icount->tx = cnow.tx; in msgl_get_icount()
2931 icount->frame = cnow.frame; in msgl_get_icount()
2932 icount->overrun = cnow.overrun; in msgl_get_icount()
2933 icount->parity = cnow.parity; in msgl_get_icount()
2934 icount->brk = cnow.brk; in msgl_get_icount()
2935 icount->buf_overrun = cnow.buf_overrun; in msgl_get_icount()