Searched defs:cnow (Results 1 - 11 of 11) sorted by relevance

/drivers/usb/serial/
H A Dgeneric.c467 struct async_icount cnow; local
479 cnow = port->icount; /* atomic copy*/
482 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) ||
483 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) ||
484 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) ||
485 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts));
487 *cprev = cnow;
495 struct async_icount cnow; local
500 cnow = port->icount; /* atomic copy */
504 usb_serial_generic_msr_changed(tty, arg, &cnow));
516 struct async_icount cnow; local
[all...]
/drivers/tty/
H A Damiserial.c1223 struct async_icount cnow; local
1227 cnow = info->icount;
1229 icount->cts = cnow.cts;
1230 icount->dsr = cnow.dsr;
1231 icount->rng = cnow.rng;
1232 icount->dcd = cnow.dcd;
1233 icount->rx = cnow.rx;
1234 icount->tx = cnow.tx;
1235 icount->frame = cnow.frame;
1236 icount->overrun = cnow
1248 struct async_icount cprev, cnow; /* kernel counter temps */ local
[all...]
H A Dnozomi.c1756 const struct async_icount cnow = port->tty_icount; local
1759 ret = ((flags & TIOCM_RNG) && (cnow.rng != cprev->rng)) ||
1760 ((flags & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) ||
1761 ((flags & TIOCM_CD) && (cnow.dcd != cprev->dcd)) ||
1762 ((flags & TIOCM_CTS) && (cnow.cts != cprev->cts));
1764 *cprev = cnow;
1773 const struct async_icount cnow = port->tty_icount; local
1775 icount->cts = cnow.cts;
1776 icount->dsr = cnow.dsr;
1777 icount->rng = cnow
[all...]
H A Dcyclades.c2620 struct cyclades_icount cnow; local
2625 cnow = info->icount; /* atomic copy */
2628 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) ||
2629 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) ||
2630 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) ||
2631 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts));
2633 *cprev = cnow;
2648 struct cyclades_icount cnow; /* kernel counter temps */ local
2744 cnow = info->icount;
2747 cy_cflags_changed(info, arg, &cnow));
2770 struct cyclades_icount cnow; /* Used to snapshot */ local
[all...]
H A Dmxser.c1645 struct async_icount cnow; local
1650 cnow = info->icount; /* atomic copy */
1653 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) ||
1654 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) ||
1655 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) ||
1656 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts));
1658 *cprev = cnow;
1668 struct async_icount cnow; local
1740 cnow = info->icount; /* note the counters on entry */
1744 mxser_cflags_changed(info, arg, &cnow));
1829 struct async_icount cnow; local
[all...]
H A Dsynclink_gt.c1117 struct mgsl_icount cnow; /* kernel counter temps */ local
1121 cnow = info->icount;
1124 icount->cts = cnow.cts;
1125 icount->dsr = cnow.dsr;
1126 icount->rng = cnow.rng;
1127 icount->dcd = cnow.dcd;
1128 icount->rx = cnow.rx;
1129 icount->tx = cnow.tx;
1130 icount->frame = cnow.frame;
1131 icount->overrun = cnow
2765 struct mgsl_icount cprev, cnow; local
3141 struct mgsl_icount cprev, cnow; local
[all...]
H A Dsynclinkmp.c1325 struct mgsl_icount cnow; /* kernel counter temps */ local
1329 cnow = info->icount;
1332 icount->cts = cnow.cts;
1333 icount->dsr = cnow.dsr;
1334 icount->rng = cnow.rng;
1335 icount->dcd = cnow.dcd;
1336 icount->rx = cnow.rx;
1337 icount->tx = cnow.tx;
1338 icount->frame = cnow.frame;
1339 icount->overrun = cnow
3035 struct mgsl_icount cprev, cnow; local
3158 struct mgsl_icount cprev, cnow; local
[all...]
H A Dsynclink.c2671 struct mgsl_icount cprev, cnow; local
2730 cnow = info->icount;
2744 cnow.exithunt == cprev.exithunt &&
2745 cnow.rxidle == cprev.rxidle) {
2759 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) +
2760 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) );
2764 cprev = cnow;
2792 struct mgsl_icount cprev, cnow; local
2811 cnow = info->icount;
2816 if (cnow
2930 struct mgsl_icount cnow; /* kernel counter temps */ local
[all...]
/drivers/tty/serial/
H A Dserial_core.c1081 struct uart_icount cprev, cnow; local
1095 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount));
1100 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) ||
1101 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) ||
1102 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) ||
1103 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts))) {
1116 cprev = cnow;
1135 struct uart_icount cnow; local
1139 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount));
1142 icount->cts = cnow
[all...]
/drivers/char/pcmcia/
H A Dsynclink_cs.c1965 struct mgsl_icount cprev, cnow; local
2016 cnow = info->icount;
2030 cnow.exithunt == cprev.exithunt &&
2031 cnow.rxidle == cprev.rxidle) {
2045 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) +
2046 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) );
2050 cprev = cnow;
2073 struct mgsl_icount cprev, cnow; local
2092 cnow = info->icount;
2097 if (cnow
2202 struct mgsl_icount cnow; /* kernel counter temps */ local
[all...]
/drivers/net/usb/
H A Dhso.c1551 struct uart_icount cprev, cnow; local
1567 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount));
1570 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) ||
1571 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) ||
1572 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd))) {
1582 cprev = cnow;
1599 struct uart_icount cnow; local
1608 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount));
1611 icount->cts = cnow.cts;
1612 icount->dsr = cnow
[all...]

Completed in 393 milliseconds