Lines Matching refs:cnow
2611 struct cyclades_icount cnow; in cy_cflags_changed() local
2616 cnow = info->icount; /* atomic copy */ in cy_cflags_changed()
2619 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in cy_cflags_changed()
2620 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in cy_cflags_changed()
2621 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in cy_cflags_changed()
2622 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in cy_cflags_changed()
2624 *cprev = cnow; in cy_cflags_changed()
2639 struct cyclades_icount cnow; /* kernel counter temps */ in cy_ioctl() local
2735 cnow = info->icount; in cy_ioctl()
2738 cy_cflags_changed(info, arg, &cnow)); in cy_ioctl()
2761 struct cyclades_icount cnow; /* Used to snapshot */ in cy_get_icount() local
2765 cnow = info->icount; in cy_get_icount()
2768 sic->cts = cnow.cts; in cy_get_icount()
2769 sic->dsr = cnow.dsr; in cy_get_icount()
2770 sic->rng = cnow.rng; in cy_get_icount()
2771 sic->dcd = cnow.dcd; in cy_get_icount()
2772 sic->rx = cnow.rx; in cy_get_icount()
2773 sic->tx = cnow.tx; in cy_get_icount()
2774 sic->frame = cnow.frame; in cy_get_icount()
2775 sic->overrun = cnow.overrun; in cy_get_icount()
2776 sic->parity = cnow.parity; in cy_get_icount()
2777 sic->brk = cnow.brk; in cy_get_icount()
2778 sic->buf_overrun = cnow.buf_overrun; in cy_get_icount()