Lines Matching refs:cnow
1337 struct async_icount cnow;
1338 /* struct async_icount_24 cnow;*/ /* kernel counter temps */
1409 cnow = info->state->icount; /* atomic copy */
1411 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr &&
1412 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts)
1414 if ( ((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) ||
1415 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) ||
1416 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) ||
1417 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts)) ) {
1420 cprev = cnow;
1435 cnow = info->state->icount;
1438 /* error = put_user(cnow.cts, &p_cuser->cts); */
1440 /* error = put_user(cnow.dsr, &p_cuser->dsr); */
1442 /* error = put_user(cnow.rng, &p_cuser->rng); */
1444 /* error = put_user(cnow.dcd, &p_cuser->dcd); */
1447 put_user(cnow.cts, &p_cuser->cts);
1448 put_user(cnow.dsr, &p_cuser->dsr);
1449 put_user(cnow.rng, &p_cuser->rng);
1450 put_user(cnow.dcd, &p_cuser->dcd);