Lines Matching refs:cnow
2595 struct cyclades_icount cnow; in cy_cflags_changed() local
2600 cnow = info->icount; /* atomic copy */ in cy_cflags_changed()
2603 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in cy_cflags_changed()
2604 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in cy_cflags_changed()
2605 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in cy_cflags_changed()
2606 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in cy_cflags_changed()
2608 *cprev = cnow; in cy_cflags_changed()
2623 struct cyclades_icount cnow; /* kernel counter temps */ in cy_ioctl() local
2719 cnow = info->icount; in cy_ioctl()
2722 cy_cflags_changed(info, arg, &cnow)); in cy_ioctl()
2745 struct cyclades_icount cnow; /* Used to snapshot */ in cy_get_icount() local
2749 cnow = info->icount; in cy_get_icount()
2752 sic->cts = cnow.cts; in cy_get_icount()
2753 sic->dsr = cnow.dsr; in cy_get_icount()
2754 sic->rng = cnow.rng; in cy_get_icount()
2755 sic->dcd = cnow.dcd; in cy_get_icount()
2756 sic->rx = cnow.rx; in cy_get_icount()
2757 sic->tx = cnow.tx; in cy_get_icount()
2758 sic->frame = cnow.frame; in cy_get_icount()
2759 sic->overrun = cnow.overrun; in cy_get_icount()
2760 sic->parity = cnow.parity; in cy_get_icount()
2761 sic->brk = cnow.brk; in cy_get_icount()
2762 sic->buf_overrun = cnow.buf_overrun; in cy_get_icount()