Lines Matching refs:cnow
1046 struct mgsl_icount cnow; /* kernel counter temps */ in get_icount() local
1050 cnow = info->icount; in get_icount()
1053 icount->cts = cnow.cts; in get_icount()
1054 icount->dsr = cnow.dsr; in get_icount()
1055 icount->rng = cnow.rng; in get_icount()
1056 icount->dcd = cnow.dcd; in get_icount()
1057 icount->rx = cnow.rx; in get_icount()
1058 icount->tx = cnow.tx; in get_icount()
1059 icount->frame = cnow.frame; in get_icount()
1060 icount->overrun = cnow.overrun; in get_icount()
1061 icount->parity = cnow.parity; in get_icount()
1062 icount->brk = cnow.brk; in get_icount()
1063 icount->buf_overrun = cnow.buf_overrun; in get_icount()
2668 struct mgsl_icount cprev, cnow; in wait_mgsl_event() local
2720 cnow = info->icount; in wait_mgsl_event()
2734 cnow.exithunt == cprev.exithunt && in wait_mgsl_event()
2735 cnow.rxidle == cprev.rxidle) { in wait_mgsl_event()
2749 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in wait_mgsl_event()
2750 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in wait_mgsl_event()
2754 cprev = cnow; in wait_mgsl_event()
3044 struct mgsl_icount cprev, cnow; in modem_input_wait() local
3063 cnow = info->icount; in modem_input_wait()
3068 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait()
3069 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in modem_input_wait()
3075 if ((arg & TIOCM_RNG && cnow.rng != cprev.rng) || in modem_input_wait()
3076 (arg & TIOCM_DSR && cnow.dsr != cprev.dsr) || in modem_input_wait()
3077 (arg & TIOCM_CD && cnow.dcd != cprev.dcd) || in modem_input_wait()
3078 (arg & TIOCM_CTS && cnow.cts != cprev.cts)) { in modem_input_wait()
3083 cprev = cnow; in modem_input_wait()