Searched refs:cprev (Results 1 – 11 of 11) sorted by relevance
/drivers/usb/serial/ |
D | generic.c | 499 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/ |
D | amiserial.c | 1209 struct async_icount cprev, cnow; /* kernel counter temps */ in rs_ioctl() local 1240 cprev = info->icount; in rs_ioctl() 1248 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in rs_ioctl() 1249 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in rs_ioctl() 1253 if ( ((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in rs_ioctl() 1254 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in rs_ioctl() 1255 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in rs_ioctl() 1256 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts)) ) { in rs_ioctl() 1266 cprev = cnow; in rs_ioctl()
|
D | nozomi.c | 1712 struct async_icount *cprev) in ntty_cflags_changed() argument 1717 ret = ((flags & TIOCM_RNG) && (cnow.rng != cprev->rng)) in ntty_cflags_changed() 1718 || ((flags & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) in ntty_cflags_changed() 1719 || ((flags & TIOCM_CD) && (cnow.dcd != cprev->dcd)) in ntty_cflags_changed() 1720 || ((flags & TIOCM_CTS) && (cnow.cts != cprev->cts)); in ntty_cflags_changed() 1722 *cprev = cnow; in ntty_cflags_changed() 1757 struct async_icount cprev = port->tty_icount; in ntty_ioctl() local 1760 ntty_cflags_changed(port, arg, &cprev)); in ntty_ioctl()
|
D | synclink_gt.c | 2724 struct mgsl_icount cprev, cnow; in wait_mgsl_event() local 2752 cprev = info->icount; in wait_mgsl_event() 2790 cnow.exithunt == cprev.exithunt && in wait_mgsl_event() 2791 cnow.rxidle == cprev.rxidle) { in wait_mgsl_event() 2805 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in wait_mgsl_event() 2806 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in wait_mgsl_event() 2810 cprev = cnow; in wait_mgsl_event() 3100 struct mgsl_icount cprev, cnow; in modem_input_wait() local 3105 cprev = info->icount; in modem_input_wait() 3124 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait() [all …]
|
D | synclinkmp.c | 3002 struct mgsl_icount cprev, cnow; in wait_mgsl_event() local 3034 cprev = info->icount; in wait_mgsl_event() 3077 cnow.exithunt == cprev.exithunt && in wait_mgsl_event() 3078 cnow.rxidle == cprev.rxidle) { in wait_mgsl_event() 3092 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in wait_mgsl_event() 3093 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in wait_mgsl_event() 3097 cprev = cnow; in wait_mgsl_event() 3125 struct mgsl_icount cprev, cnow; in modem_input_wait() local 3130 cprev = info->icount; in modem_input_wait() 3149 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait() [all …]
|
D | synclink.c | 2660 struct mgsl_icount cprev, cnow; in mgsl_wait_event() local 2691 cprev = info->icount; in mgsl_wait_event() 2733 cnow.exithunt == cprev.exithunt && in mgsl_wait_event() 2734 cnow.rxidle == cprev.rxidle) { in mgsl_wait_event() 2748 (cnow.exithunt != cprev.exithunt ? MgslEvent_ExitHuntMode:0) + in mgsl_wait_event() 2749 (cnow.rxidle != cprev.rxidle ? MgslEvent_IdleReceived:0) ); in mgsl_wait_event() 2753 cprev = cnow; in mgsl_wait_event() 2781 struct mgsl_icount cprev, cnow; in modem_input_wait() local 2786 cprev = info->icount; in modem_input_wait() 2805 if (cnow.rng == cprev.rng && cnow.dsr == cprev.dsr && in modem_input_wait() [all …]
|
D | mxser.c | 1654 struct async_icount *cprev) in mxser_cflags_changed() argument 1664 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in mxser_cflags_changed() 1665 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in mxser_cflags_changed() 1666 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in mxser_cflags_changed() 1667 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in mxser_cflags_changed() 1669 *cprev = cnow; in mxser_cflags_changed()
|
D | cyclades.c | 2594 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/ |
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 | 1200 struct uart_icount cprev, cnow; in uart_wait_modem_status() local 1210 memcpy(&cprev, &uport->icount, sizeof(struct uart_icount)); in uart_wait_modem_status() 1222 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in uart_wait_modem_status() 1223 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in uart_wait_modem_status() 1224 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in uart_wait_modem_status() 1225 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts))) { in uart_wait_modem_status() 1238 cprev = cnow; in uart_wait_modem_status()
|
/drivers/net/usb/ |
D | hso.c | 1545 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()
|