Lines Matching defs:cnow
502 struct async_icount cnow;
514 cnow = port->icount; /* atomic copy*/
517 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) ||
518 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) ||
519 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) ||
520 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts));
522 *cprev = cnow;
530 struct async_icount cnow;
535 cnow = port->icount; /* atomic copy */
539 usb_serial_generic_msr_changed(tty, arg, &cnow));
551 struct async_icount cnow;
555 cnow = port->icount; /* atomic copy */
558 icount->cts = cnow.cts;
559 icount->dsr = cnow.dsr;
560 icount->rng = cnow.rng;
561 icount->dcd = cnow.dcd;
562 icount->tx = cnow.tx;
563 icount->rx = cnow.rx;
564 icount->frame = cnow.frame;
565 icount->parity = cnow.parity;
566 icount->overrun = cnow.overrun;
567 icount->brk = cnow.brk;
568 icount->buf_overrun = cnow.buf_overrun;