Lines Matching refs:cnow
1270 struct async_icount cprev, cnow; /* kernel counter temps */
1319 cnow = info->state->icount; /* atomic copy */
1321 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr &&
1322 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts)
1324 if ( ((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) ||
1325 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) ||
1326 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) ||
1327 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts)) ) {
1330 cprev = cnow;
1342 cnow = info->state->icount;
1344 icount.cts = cnow.cts;
1345 icount.dsr = cnow.dsr;
1346 icount.rng = cnow.rng;
1347 icount.dcd = cnow.dcd;
1348 icount.rx = cnow.rx;
1349 icount.tx = cnow.tx;
1350 icount.frame = cnow.frame;
1351 icount.overrun = cnow.overrun;
1352 icount.parity = cnow.parity;
1353 icount.brk = cnow.brk;
1354 icount.buf_overrun = cnow.buf_overrun;