Lines Matching refs:cnow
1200 struct uart_icount cprev, cnow; in uart_wait_modem_status() local
1217 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_wait_modem_status()
1222 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in uart_wait_modem_status()
1223 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in uart_wait_modem_status()
1224 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in uart_wait_modem_status()
1225 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts))) { in uart_wait_modem_status()
1238 cprev = cnow; in uart_wait_modem_status()
1257 struct uart_icount cnow; in uart_get_icount() local
1264 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_get_icount()
1268 icount->cts = cnow.cts; in uart_get_icount()
1269 icount->dsr = cnow.dsr; in uart_get_icount()
1270 icount->rng = cnow.rng; in uart_get_icount()
1271 icount->dcd = cnow.dcd; in uart_get_icount()
1272 icount->rx = cnow.rx; in uart_get_icount()
1273 icount->tx = cnow.tx; in uart_get_icount()
1274 icount->frame = cnow.frame; in uart_get_icount()
1275 icount->overrun = cnow.overrun; in uart_get_icount()
1276 icount->parity = cnow.parity; in uart_get_icount()
1277 icount->brk = cnow.brk; in uart_get_icount()
1278 icount->buf_overrun = cnow.buf_overrun; in uart_get_icount()