Lines Matching refs:cnow
1958 struct mgsl_icount cprev, cnow; in wait_events() local
2009 cnow = info->icount; in wait_events()
2023 cnow.exithunt == cprev.exithunt && in wait_events()
2024 cnow.rxidle == cprev.rxidle) { in wait_events()
2038 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in wait_events()
2039 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in wait_events()
2043 cprev = cnow; in wait_events()
2066 struct mgsl_icount cprev, cnow; in modem_input_wait() local
2085 cnow = info->icount; in modem_input_wait()
2090 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait()
2091 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in modem_input_wait()
2097 if ((arg & TIOCM_RNG && cnow.rng != cprev.rng) || in modem_input_wait()
2098 (arg & TIOCM_DSR && cnow.dsr != cprev.dsr) || in modem_input_wait()
2099 (arg & TIOCM_CD && cnow.dcd != cprev.dcd) || in modem_input_wait()
2100 (arg & TIOCM_CTS && cnow.cts != cprev.cts)) { in modem_input_wait()
2105 cprev = cnow; in modem_input_wait()
2195 struct mgsl_icount cnow; /* kernel counter temps */ in mgslpc_get_icount() local
2199 cnow = info->icount; in mgslpc_get_icount()
2202 icount->cts = cnow.cts; in mgslpc_get_icount()
2203 icount->dsr = cnow.dsr; in mgslpc_get_icount()
2204 icount->rng = cnow.rng; in mgslpc_get_icount()
2205 icount->dcd = cnow.dcd; in mgslpc_get_icount()
2206 icount->rx = cnow.rx; in mgslpc_get_icount()
2207 icount->tx = cnow.tx; in mgslpc_get_icount()
2208 icount->frame = cnow.frame; in mgslpc_get_icount()
2209 icount->overrun = cnow.overrun; in mgslpc_get_icount()
2210 icount->parity = cnow.parity; in mgslpc_get_icount()
2211 icount->brk = cnow.brk; in mgslpc_get_icount()
2212 icount->buf_overrun = cnow.buf_overrun; in mgslpc_get_icount()