Lines Matching refs:cnow
2596 struct cyclades_icount cnow; in cy_cflags_changed() local
2601 cnow = info->icount; /* atomic copy */ in cy_cflags_changed()
2604 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in cy_cflags_changed()
2605 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in cy_cflags_changed()
2606 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in cy_cflags_changed()
2607 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in cy_cflags_changed()
2609 *cprev = cnow; in cy_cflags_changed()
2624 struct cyclades_icount cnow; /* kernel counter temps */ in cy_ioctl() local
2714 cnow = info->icount; in cy_ioctl()
2717 cy_cflags_changed(info, arg, &cnow)); in cy_ioctl()
2740 struct cyclades_icount cnow; /* Used to snapshot */ in cy_get_icount() local
2744 cnow = info->icount; in cy_get_icount()
2747 sic->cts = cnow.cts; in cy_get_icount()
2748 sic->dsr = cnow.dsr; in cy_get_icount()
2749 sic->rng = cnow.rng; in cy_get_icount()
2750 sic->dcd = cnow.dcd; in cy_get_icount()
2751 sic->rx = cnow.rx; in cy_get_icount()
2752 sic->tx = cnow.tx; in cy_get_icount()
2753 sic->frame = cnow.frame; in cy_get_icount()
2754 sic->overrun = cnow.overrun; in cy_get_icount()
2755 sic->parity = cnow.parity; in cy_get_icount()
2756 sic->brk = cnow.brk; in cy_get_icount()
2757 sic->buf_overrun = cnow.buf_overrun; in cy_get_icount()