Lines Matching refs:cnow
1082 struct async_icount cnow; in rs_get_icount() local
1086 cnow = info->icount; in rs_get_icount()
1088 icount->cts = cnow.cts; in rs_get_icount()
1089 icount->dsr = cnow.dsr; in rs_get_icount()
1090 icount->rng = cnow.rng; in rs_get_icount()
1091 icount->dcd = cnow.dcd; in rs_get_icount()
1092 icount->rx = cnow.rx; in rs_get_icount()
1093 icount->tx = cnow.tx; in rs_get_icount()
1094 icount->frame = cnow.frame; in rs_get_icount()
1095 icount->overrun = cnow.overrun; in rs_get_icount()
1096 icount->parity = cnow.parity; in rs_get_icount()
1097 icount->brk = cnow.brk; in rs_get_icount()
1098 icount->buf_overrun = cnow.buf_overrun; in rs_get_icount()
1107 struct async_icount cprev, cnow; /* kernel counter temps */ in rs_ioctl() local
1141 cnow = info->icount; /* atomic copy */ in rs_ioctl()
1143 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in rs_ioctl()
1144 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in rs_ioctl()
1148 if ( ((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in rs_ioctl()
1149 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in rs_ioctl()
1150 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in rs_ioctl()
1151 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts)) ) { in rs_ioctl()
1161 cprev = cnow; in rs_ioctl()