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