Lines Matching refs:cnow
1217 struct uart_icount cprev, cnow; in uart_wait_modem_status() local
1234 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_wait_modem_status()
1239 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in uart_wait_modem_status()
1240 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in uart_wait_modem_status()
1241 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in uart_wait_modem_status()
1242 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts))) { in uart_wait_modem_status()
1255 cprev = cnow; in uart_wait_modem_status()
1274 struct uart_icount cnow; in uart_get_icount() local
1281 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_get_icount()
1285 icount->cts = cnow.cts; in uart_get_icount()
1286 icount->dsr = cnow.dsr; in uart_get_icount()
1287 icount->rng = cnow.rng; in uart_get_icount()
1288 icount->dcd = cnow.dcd; in uart_get_icount()
1289 icount->rx = cnow.rx; in uart_get_icount()
1290 icount->tx = cnow.tx; in uart_get_icount()
1291 icount->frame = cnow.frame; in uart_get_icount()
1292 icount->overrun = cnow.overrun; in uart_get_icount()
1293 icount->parity = cnow.parity; in uart_get_icount()
1294 icount->brk = cnow.brk; in uart_get_icount()
1295 icount->buf_overrun = cnow.buf_overrun; in uart_get_icount()