Lines Matching refs:cnow
1950 struct mgsl_icount cprev, cnow; in wait_events() local
2001 cnow = info->icount; in wait_events()
2015 cnow.exithunt == cprev.exithunt && in wait_events()
2016 cnow.rxidle == cprev.rxidle) { in wait_events()
2030 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in wait_events()
2031 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in wait_events()
2035 cprev = cnow; in wait_events()
2058 struct mgsl_icount cprev, cnow; in modem_input_wait() local
2077 cnow = info->icount; in modem_input_wait()
2082 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait()
2083 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in modem_input_wait()
2089 if ((arg & TIOCM_RNG && cnow.rng != cprev.rng) || in modem_input_wait()
2090 (arg & TIOCM_DSR && cnow.dsr != cprev.dsr) || in modem_input_wait()
2091 (arg & TIOCM_CD && cnow.dcd != cprev.dcd) || in modem_input_wait()
2092 (arg & TIOCM_CTS && cnow.cts != cprev.cts)) { in modem_input_wait()
2097 cprev = cnow; in modem_input_wait()
2187 struct mgsl_icount cnow; /* kernel counter temps */ in mgslpc_get_icount() local
2191 cnow = info->icount; in mgslpc_get_icount()
2194 icount->cts = cnow.cts; in mgslpc_get_icount()
2195 icount->dsr = cnow.dsr; in mgslpc_get_icount()
2196 icount->rng = cnow.rng; in mgslpc_get_icount()
2197 icount->dcd = cnow.dcd; in mgslpc_get_icount()
2198 icount->rx = cnow.rx; in mgslpc_get_icount()
2199 icount->tx = cnow.tx; in mgslpc_get_icount()
2200 icount->frame = cnow.frame; in mgslpc_get_icount()
2201 icount->overrun = cnow.overrun; in mgslpc_get_icount()
2202 icount->parity = cnow.parity; in mgslpc_get_icount()
2203 icount->brk = cnow.brk; in mgslpc_get_icount()
2204 icount->buf_overrun = cnow.buf_overrun; in mgslpc_get_icount()