Home
last modified time | relevance | path

Searched refs:cprev (Results 1 – 11 of 11) sorted by relevance

/drivers/usb/serial/
Dgeneric.c499 unsigned long arg, struct async_icount *cprev) in usb_serial_generic_msr_changed() argument
517 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in usb_serial_generic_msr_changed()
518 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in usb_serial_generic_msr_changed()
519 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in usb_serial_generic_msr_changed()
520 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in usb_serial_generic_msr_changed()
522 *cprev = cnow; in usb_serial_generic_msr_changed()
/drivers/tty/
Damiserial.c1140 struct async_icount cprev, cnow; /* kernel counter temps */ in rs_ioctl() local
1168 cprev = info->icount; in rs_ioctl()
1176 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in rs_ioctl()
1177 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in rs_ioctl()
1181 if ( ((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in rs_ioctl()
1182 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in rs_ioctl()
1183 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in rs_ioctl()
1184 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts)) ) { in rs_ioctl()
1194 cprev = cnow; in rs_ioctl()
Dnozomi.c1714 struct async_icount *cprev) in ntty_cflags_changed() argument
1719 ret = ((flags & TIOCM_RNG) && (cnow.rng != cprev->rng)) in ntty_cflags_changed()
1720 || ((flags & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) in ntty_cflags_changed()
1721 || ((flags & TIOCM_CD) && (cnow.dcd != cprev->dcd)) in ntty_cflags_changed()
1722 || ((flags & TIOCM_CTS) && (cnow.cts != cprev->cts)); in ntty_cflags_changed()
1724 *cprev = cnow; in ntty_cflags_changed()
1759 struct async_icount cprev = port->tty_icount; in ntty_ioctl() local
1762 ntty_cflags_changed(port, arg, &cprev)); in ntty_ioctl()
Dsynclink_gt.c2668 struct mgsl_icount cprev, cnow; in wait_mgsl_event() local
2696 cprev = info->icount; in wait_mgsl_event()
2734 cnow.exithunt == cprev.exithunt && in wait_mgsl_event()
2735 cnow.rxidle == cprev.rxidle) { in wait_mgsl_event()
2749 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in wait_mgsl_event()
2750 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in wait_mgsl_event()
2754 cprev = cnow; in wait_mgsl_event()
3044 struct mgsl_icount cprev, cnow; in modem_input_wait() local
3049 cprev = info->icount; in modem_input_wait()
3068 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait()
[all …]
Dsynclinkmp.c2999 struct mgsl_icount cprev, cnow; in wait_mgsl_event() local
3031 cprev = info->icount; in wait_mgsl_event()
3074 cnow.exithunt == cprev.exithunt && in wait_mgsl_event()
3075 cnow.rxidle == cprev.rxidle) { in wait_mgsl_event()
3089 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in wait_mgsl_event()
3090 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in wait_mgsl_event()
3094 cprev = cnow; in wait_mgsl_event()
3122 struct mgsl_icount cprev, cnow; in modem_input_wait() local
3127 cprev = info->icount; in modem_input_wait()
3146 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait()
[all …]
Dsynclink.c2659 struct mgsl_icount cprev, cnow; in mgsl_wait_event() local
2690 cprev = info->icount; in mgsl_wait_event()
2732 cnow.exithunt == cprev.exithunt && in mgsl_wait_event()
2733 cnow.rxidle == cprev.rxidle) { in mgsl_wait_event()
2747 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in mgsl_wait_event()
2748 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in mgsl_wait_event()
2752 cprev = cnow; in mgsl_wait_event()
2780 struct mgsl_icount cprev, cnow; in modem_input_wait() local
2785 cprev = info->icount; in modem_input_wait()
2804 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait()
[all …]
Dmxser.c1658 struct async_icount *cprev) in mxser_cflags_changed() argument
1668 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in mxser_cflags_changed()
1669 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in mxser_cflags_changed()
1670 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in mxser_cflags_changed()
1671 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in mxser_cflags_changed()
1673 *cprev = cnow; in mxser_cflags_changed()
Dcyclades.c2594 struct cyclades_icount *cprev) in cy_cflags_changed() argument
2604 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in cy_cflags_changed()
2605 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in cy_cflags_changed()
2606 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in cy_cflags_changed()
2607 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in cy_cflags_changed()
2609 *cprev = cnow; in cy_cflags_changed()
/drivers/char/pcmcia/
Dsynclink_cs.c1958 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/
Dserial_core.c1210 struct uart_icount cprev, cnow; in uart_wait_modem_status() local
1220 memcpy(&cprev, &uport->icount, sizeof(struct uart_icount)); in uart_wait_modem_status()
1232 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in uart_wait_modem_status()
1233 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in uart_wait_modem_status()
1234 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in uart_wait_modem_status()
1235 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts))) { in uart_wait_modem_status()
1248 cprev = cnow; in uart_wait_modem_status()
/drivers/net/usb/
Dhso.c1545 struct uart_icount cprev, cnow; in hso_wait_modem_status() local
1556 memcpy(&cprev, &tiocmget->icount, sizeof(struct uart_icount)); in hso_wait_modem_status()
1564 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in hso_wait_modem_status()
1565 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in hso_wait_modem_status()
1566 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd))) { in hso_wait_modem_status()
1576 cprev = cnow; in hso_wait_modem_status()