Home
last modified time | relevance | path

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

/Linux-v6.1/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()
/Linux-v6.1/drivers/tty/
Damiserial.c1107 struct async_icount cprev, cnow; /* kernel counter temps */ in rs_ioctl() local
1135 cprev = info->icount; in rs_ioctl()
1143 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in rs_ioctl()
1144 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in rs_ioctl()
1148 if ( ((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in rs_ioctl()
1149 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in rs_ioctl()
1150 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in rs_ioctl()
1151 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts)) ) { in rs_ioctl()
1161 cprev = cnow; in rs_ioctl()
Dnozomi.c1694 struct async_icount *cprev) in ntty_cflags_changed() argument
1699 ret = ((flags & TIOCM_RNG) && (cnow.rng != cprev->rng)) in ntty_cflags_changed()
1700 || ((flags & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) in ntty_cflags_changed()
1701 || ((flags & TIOCM_CD) && (cnow.dcd != cprev->dcd)) in ntty_cflags_changed()
1702 || ((flags & TIOCM_CTS) && (cnow.cts != cprev->cts)); in ntty_cflags_changed()
1704 *cprev = cnow; in ntty_cflags_changed()
1737 struct async_icount cprev = port->tty_icount; in ntty_ioctl() local
1740 ntty_cflags_changed(port, arg, &cprev)); in ntty_ioctl()
Dsynclink_gt.c2652 struct mgsl_icount cprev, cnow; in wait_mgsl_event() local
2680 cprev = info->icount; in wait_mgsl_event()
2718 cnow.exithunt == cprev.exithunt && in wait_mgsl_event()
2719 cnow.rxidle == cprev.rxidle) { in wait_mgsl_event()
2733 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in wait_mgsl_event()
2734 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in wait_mgsl_event()
2738 cprev = cnow; in wait_mgsl_event()
3028 struct mgsl_icount cprev, cnow; in modem_input_wait() local
3033 cprev = info->icount; in modem_input_wait()
3052 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait()
[all …]
Dmxser.c1146 struct async_icount *cprev) in mxser_cflags_changed() argument
1156 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in mxser_cflags_changed()
1157 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in mxser_cflags_changed()
1158 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in mxser_cflags_changed()
1159 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in mxser_cflags_changed()
1161 *cprev = cnow; in mxser_cflags_changed()
/Linux-v6.1/drivers/char/pcmcia/
Dsynclink_cs.c1952 struct mgsl_icount cprev, cnow; in wait_events() local
1981 cprev = info->icount; in wait_events()
2017 cnow.exithunt == cprev.exithunt && in wait_events()
2018 cnow.rxidle == cprev.rxidle) { in wait_events()
2032 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in wait_events()
2033 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in wait_events()
2037 cprev = cnow; in wait_events()
2060 struct mgsl_icount cprev, cnow; in modem_input_wait() local
2065 cprev = info->icount; in modem_input_wait()
2084 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait()
[all …]
/Linux-v6.1/drivers/tty/serial/
Dserial_core.c1202 struct uart_icount cprev, cnow; in uart_wait_modem_status() local
1212 memcpy(&cprev, &uport->icount, sizeof(struct uart_icount)); in uart_wait_modem_status()
1224 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in uart_wait_modem_status()
1225 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in uart_wait_modem_status()
1226 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in uart_wait_modem_status()
1227 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts))) { in uart_wait_modem_status()
1240 cprev = cnow; in uart_wait_modem_status()
/Linux-v6.1/drivers/net/usb/
Dhso.c1544 struct uart_icount cprev, cnow; in hso_wait_modem_status() local
1555 memcpy(&cprev, &tiocmget->icount, sizeof(struct uart_icount)); in hso_wait_modem_status()
1563 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in hso_wait_modem_status()
1564 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in hso_wait_modem_status()
1565 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd))) { in hso_wait_modem_status()
1575 cprev = cnow; in hso_wait_modem_status()