Lines Matching refs:cnow
2620 struct cyclades_icount cnow; in cy_cflags_changed() local
2625 cnow = info->icount; /* atomic copy */ in cy_cflags_changed()
2628 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in cy_cflags_changed()
2629 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in cy_cflags_changed()
2630 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in cy_cflags_changed()
2631 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in cy_cflags_changed()
2633 *cprev = cnow; in cy_cflags_changed()
2648 struct cyclades_icount cnow; /* kernel counter temps */ in cy_ioctl() local
2744 cnow = info->icount; in cy_ioctl()
2747 cy_cflags_changed(info, arg, &cnow)); in cy_ioctl()
2770 struct cyclades_icount cnow; /* Used to snapshot */ in cy_get_icount() local
2774 cnow = info->icount; in cy_get_icount()
2777 sic->cts = cnow.cts; in cy_get_icount()
2778 sic->dsr = cnow.dsr; in cy_get_icount()
2779 sic->rng = cnow.rng; in cy_get_icount()
2780 sic->dcd = cnow.dcd; in cy_get_icount()
2781 sic->rx = cnow.rx; in cy_get_icount()
2782 sic->tx = cnow.tx; in cy_get_icount()
2783 sic->frame = cnow.frame; in cy_get_icount()
2784 sic->overrun = cnow.overrun; in cy_get_icount()
2785 sic->parity = cnow.parity; in cy_get_icount()
2786 sic->brk = cnow.brk; in cy_get_icount()
2787 sic->buf_overrun = cnow.buf_overrun; in cy_get_icount()