Lines Matching refs:cnow
2660 struct mgsl_icount cprev, cnow; in mgsl_wait_event() local
2719 cnow = info->icount; in mgsl_wait_event()
2733 cnow.exithunt == cprev.exithunt && in mgsl_wait_event()
2734 cnow.rxidle == cprev.rxidle) { in mgsl_wait_event()
2748 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in mgsl_wait_event()
2749 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in mgsl_wait_event()
2753 cprev = cnow; in mgsl_wait_event()
2781 struct mgsl_icount cprev, cnow; in modem_input_wait() local
2800 cnow = info->icount; in modem_input_wait()
2805 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait()
2806 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in modem_input_wait()
2812 if ((arg & TIOCM_RNG && cnow.rng != cprev.rng) || in modem_input_wait()
2813 (arg & TIOCM_DSR && cnow.dsr != cprev.dsr) || in modem_input_wait()
2814 (arg & TIOCM_CD && cnow.dcd != cprev.dcd) || in modem_input_wait()
2815 (arg & TIOCM_CTS && cnow.cts != cprev.cts)) { in modem_input_wait()
2820 cprev = cnow; in modem_input_wait()
2919 struct mgsl_icount cnow; /* kernel counter temps */ in msgl_get_icount() local
2923 cnow = info->icount; in msgl_get_icount()
2926 icount->cts = cnow.cts; in msgl_get_icount()
2927 icount->dsr = cnow.dsr; in msgl_get_icount()
2928 icount->rng = cnow.rng; in msgl_get_icount()
2929 icount->dcd = cnow.dcd; in msgl_get_icount()
2930 icount->rx = cnow.rx; in msgl_get_icount()
2931 icount->tx = cnow.tx; in msgl_get_icount()
2932 icount->frame = cnow.frame; in msgl_get_icount()
2933 icount->overrun = cnow.overrun; in msgl_get_icount()
2934 icount->parity = cnow.parity; in msgl_get_icount()
2935 icount->brk = cnow.brk; in msgl_get_icount()
2936 icount->buf_overrun = cnow.buf_overrun; in msgl_get_icount()