Lines Matching refs:cnow
1065 struct uart_icount cprev, cnow; in uart_wait_modem_status() local
1083 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_wait_modem_status()
1088 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in uart_wait_modem_status()
1089 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in uart_wait_modem_status()
1090 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in uart_wait_modem_status()
1091 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts))) { in uart_wait_modem_status()
1104 cprev = cnow; in uart_wait_modem_status()
1123 struct uart_icount cnow; in uart_get_icount() local
1127 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_get_icount()
1130 icount->cts = cnow.cts; in uart_get_icount()
1131 icount->dsr = cnow.dsr; in uart_get_icount()
1132 icount->rng = cnow.rng; in uart_get_icount()
1133 icount->dcd = cnow.dcd; in uart_get_icount()
1134 icount->rx = cnow.rx; in uart_get_icount()
1135 icount->tx = cnow.tx; in uart_get_icount()
1136 icount->frame = cnow.frame; in uart_get_icount()
1137 icount->overrun = cnow.overrun; in uart_get_icount()
1138 icount->parity = cnow.parity; in uart_get_icount()
1139 icount->brk = cnow.brk; in uart_get_icount()
1140 icount->buf_overrun = cnow.buf_overrun; in uart_get_icount()