Lines Matching refs:cnow
1965 struct mgsl_icount cprev, cnow; in wait_events() local
2016 cnow = info->icount; in wait_events()
2030 cnow.exithunt == cprev.exithunt && in wait_events()
2031 cnow.rxidle == cprev.rxidle) { in wait_events()
2045 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in wait_events()
2046 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in wait_events()
2050 cprev = cnow; in wait_events()
2073 struct mgsl_icount cprev, cnow; in modem_input_wait() local
2092 cnow = info->icount; in modem_input_wait()
2097 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait()
2098 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in modem_input_wait()
2104 if ((arg & TIOCM_RNG && cnow.rng != cprev.rng) || in modem_input_wait()
2105 (arg & TIOCM_DSR && cnow.dsr != cprev.dsr) || in modem_input_wait()
2106 (arg & TIOCM_CD && cnow.dcd != cprev.dcd) || in modem_input_wait()
2107 (arg & TIOCM_CTS && cnow.cts != cprev.cts)) { in modem_input_wait()
2112 cprev = cnow; in modem_input_wait()
2202 struct mgsl_icount cnow; /* kernel counter temps */ in mgslpc_get_icount() local
2206 cnow = info->icount; in mgslpc_get_icount()
2209 icount->cts = cnow.cts; in mgslpc_get_icount()
2210 icount->dsr = cnow.dsr; in mgslpc_get_icount()
2211 icount->rng = cnow.rng; in mgslpc_get_icount()
2212 icount->dcd = cnow.dcd; in mgslpc_get_icount()
2213 icount->rx = cnow.rx; in mgslpc_get_icount()
2214 icount->tx = cnow.tx; in mgslpc_get_icount()
2215 icount->frame = cnow.frame; in mgslpc_get_icount()
2216 icount->overrun = cnow.overrun; in mgslpc_get_icount()
2217 icount->parity = cnow.parity; in mgslpc_get_icount()
2218 icount->brk = cnow.brk; in mgslpc_get_icount()
2219 icount->buf_overrun = cnow.buf_overrun; in mgslpc_get_icount()