Lines Matching defs:cnow
1338 struct async_icount cnow;
1339 /* struct async_icount_24 cnow;*/ /* kernel counter temps */
1422 cnow = info->state->icount; /* atomic copy */
1424 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr &&
1425 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts)
1427 if ( ((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) ||
1428 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) ||
1429 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) ||
1430 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts)) ) {
1433 cprev = cnow;
1448 cnow = info->state->icount;
1451 /* error = put_user(cnow.cts, &p_cuser->cts); */
1453 /* error = put_user(cnow.dsr, &p_cuser->dsr); */
1455 /* error = put_user(cnow.rng, &p_cuser->rng); */
1457 /* error = put_user(cnow.dcd, &p_cuser->dcd); */
1460 put_user(cnow.cts, &p_cuser->cts);
1461 put_user(cnow.dsr, &p_cuser->dsr);
1462 put_user(cnow.rng, &p_cuser->rng);
1463 put_user(cnow.dcd, &p_cuser->dcd);