Lines Matching refs:cnow
1311 struct mgsl_icount cnow; /* kernel counter temps */ in get_icount() local
1315 cnow = info->icount; in get_icount()
1318 icount->cts = cnow.cts; in get_icount()
1319 icount->dsr = cnow.dsr; in get_icount()
1320 icount->rng = cnow.rng; in get_icount()
1321 icount->dcd = cnow.dcd; in get_icount()
1322 icount->rx = cnow.rx; in get_icount()
1323 icount->tx = cnow.tx; in get_icount()
1324 icount->frame = cnow.frame; in get_icount()
1325 icount->overrun = cnow.overrun; in get_icount()
1326 icount->parity = cnow.parity; in get_icount()
1327 icount->brk = cnow.brk; in get_icount()
1328 icount->buf_overrun = cnow.buf_overrun; in get_icount()
3003 struct mgsl_icount cprev, cnow; in wait_mgsl_event() local
3064 cnow = info->icount; in wait_mgsl_event()
3078 cnow.exithunt == cprev.exithunt && in wait_mgsl_event()
3079 cnow.rxidle == cprev.rxidle) { in wait_mgsl_event()
3093 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in wait_mgsl_event()
3094 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in wait_mgsl_event()
3098 cprev = cnow; in wait_mgsl_event()
3126 struct mgsl_icount cprev, cnow; in modem_input_wait() local
3145 cnow = info->icount; in modem_input_wait()
3150 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait()
3151 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in modem_input_wait()
3157 if ((arg & TIOCM_RNG && cnow.rng != cprev.rng) || in modem_input_wait()
3158 (arg & TIOCM_DSR && cnow.dsr != cprev.dsr) || in modem_input_wait()
3159 (arg & TIOCM_CD && cnow.dcd != cprev.dcd) || in modem_input_wait()
3160 (arg & TIOCM_CTS && cnow.cts != cprev.cts)) { in modem_input_wait()
3165 cprev = cnow; in modem_input_wait()