Searched refs:cprev (Results 1 – 11 of 11) sorted by relevance
/drivers/usb/serial/ |
D | generic.c | 467 unsigned long arg, struct async_icount *cprev) in usb_serial_generic_msr_changed() argument 485 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in usb_serial_generic_msr_changed() 486 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in usb_serial_generic_msr_changed() 487 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in usb_serial_generic_msr_changed() 488 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in usb_serial_generic_msr_changed() 490 *cprev = cnow; in usb_serial_generic_msr_changed()
|
/drivers/tty/ |
D | amiserial.c | 1236 struct async_icount cprev, cnow; /* kernel counter temps */ in rs_ioctl() local 1278 cprev = info->icount; in rs_ioctl() 1286 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in rs_ioctl() 1287 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in rs_ioctl() 1291 if ( ((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in rs_ioctl() 1292 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in rs_ioctl() 1293 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in rs_ioctl() 1294 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts)) ) { in rs_ioctl() 1304 cprev = cnow; in rs_ioctl()
|
D | nozomi.c | 1754 struct async_icount *cprev) in ntty_cflags_changed() argument 1759 ret = ((flags & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in ntty_cflags_changed() 1760 ((flags & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in ntty_cflags_changed() 1761 ((flags & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in ntty_cflags_changed() 1762 ((flags & TIOCM_CTS) && (cnow.cts != cprev->cts)); in ntty_cflags_changed() 1764 *cprev = cnow; in ntty_cflags_changed() 1799 struct async_icount cprev = port->tty_icount; in ntty_ioctl() local 1802 ntty_cflags_changed(port, arg, &cprev)); in ntty_ioctl()
|
D | synclinkmp.c | 3017 struct mgsl_icount cprev, cnow; in wait_mgsl_event() local 3049 cprev = info->icount; in wait_mgsl_event() 3092 cnow.exithunt == cprev.exithunt && in wait_mgsl_event() 3093 cnow.rxidle == cprev.rxidle) { in wait_mgsl_event() 3107 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in wait_mgsl_event() 3108 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in wait_mgsl_event() 3112 cprev = cnow; in wait_mgsl_event() 3140 struct mgsl_icount cprev, cnow; in modem_input_wait() local 3145 cprev = info->icount; in modem_input_wait() 3164 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait() [all …]
|
D | synclink_gt.c | 2748 struct mgsl_icount cprev, cnow; in wait_mgsl_event() local 2776 cprev = info->icount; in wait_mgsl_event() 2814 cnow.exithunt == cprev.exithunt && in wait_mgsl_event() 2815 cnow.rxidle == cprev.rxidle) { in wait_mgsl_event() 2829 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in wait_mgsl_event() 2830 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in wait_mgsl_event() 2834 cprev = cnow; in wait_mgsl_event() 3124 struct mgsl_icount cprev, cnow; in modem_input_wait() local 3129 cprev = info->icount; in modem_input_wait() 3148 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait() [all …]
|
D | synclink.c | 2661 struct mgsl_icount cprev, cnow; in mgsl_wait_event() local 2692 cprev = info->icount; in mgsl_wait_event() 2734 cnow.exithunt == cprev.exithunt && in mgsl_wait_event() 2735 cnow.rxidle == cprev.rxidle) { in mgsl_wait_event() 2749 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in mgsl_wait_event() 2750 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in mgsl_wait_event() 2754 cprev = cnow; in mgsl_wait_event() 2782 struct mgsl_icount cprev, cnow; in modem_input_wait() local 2787 cprev = info->icount; in modem_input_wait() 2806 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait() [all …]
|
D | mxser.c | 1638 struct async_icount *cprev) in mxser_cflags_changed() argument 1648 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in mxser_cflags_changed() 1649 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in mxser_cflags_changed() 1650 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in mxser_cflags_changed() 1651 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in mxser_cflags_changed() 1653 *cprev = cnow; in mxser_cflags_changed()
|
D | cyclades.c | 2598 struct cyclades_icount *cprev) in cy_cflags_changed() argument 2608 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in cy_cflags_changed() 2609 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in cy_cflags_changed() 2610 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in cy_cflags_changed() 2611 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in cy_cflags_changed() 2613 *cprev = cnow; in cy_cflags_changed()
|
/drivers/char/pcmcia/ |
D | synclink_cs.c | 1958 struct mgsl_icount cprev, cnow; in wait_events() local 1987 cprev = info->icount; in wait_events() 2023 cnow.exithunt == cprev.exithunt && in wait_events() 2024 cnow.rxidle == cprev.rxidle) { in wait_events() 2038 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in wait_events() 2039 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in wait_events() 2043 cprev = cnow; in wait_events() 2066 struct mgsl_icount cprev, cnow; in modem_input_wait() local 2071 cprev = info->icount; in modem_input_wait() 2090 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait() [all …]
|
/drivers/tty/serial/ |
D | serial_core.c | 1174 struct uart_icount cprev, cnow; in uart_wait_modem_status() local 1184 memcpy(&cprev, &uport->icount, sizeof(struct uart_icount)); in uart_wait_modem_status() 1196 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in uart_wait_modem_status() 1197 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in uart_wait_modem_status() 1198 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in uart_wait_modem_status() 1199 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts))) { in uart_wait_modem_status() 1212 cprev = cnow; in uart_wait_modem_status()
|
/drivers/net/usb/ |
D | hso.c | 1559 struct uart_icount cprev, cnow; in hso_wait_modem_status() local 1570 memcpy(&cprev, &tiocmget->icount, sizeof(struct uart_icount)); in hso_wait_modem_status() 1578 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in hso_wait_modem_status() 1579 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in hso_wait_modem_status() 1580 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd))) { in hso_wait_modem_status() 1590 cprev = cnow; in hso_wait_modem_status()
|