Home
last modified time | relevance | path

Searched refs:cnow (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/serial/
H A Dgeneric.c502 struct async_icount cnow; in usb_serial_generic_msr_changed() local
514 cnow = port->icount; /* atomic copy*/ in usb_serial_generic_msr_changed()
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()
530 struct async_icount cnow; in usb_serial_generic_tiocmiwait() local
535 cnow = port->icount; /* atomic copy */ in usb_serial_generic_tiocmiwait()
539 usb_serial_generic_msr_changed(tty, arg, &cnow)); in usb_serial_generic_tiocmiwait()
551 struct async_icount cnow; usb_serial_generic_get_icount() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/serial/
H A Dgeneric.c502 struct async_icount cnow; in usb_serial_generic_msr_changed() local
514 cnow = port->icount; /* atomic copy*/ in usb_serial_generic_msr_changed()
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()
530 struct async_icount cnow; in usb_serial_generic_tiocmiwait() local
535 cnow = port->icount; /* atomic copy */ in usb_serial_generic_tiocmiwait()
539 usb_serial_generic_msr_changed(tty, arg, &cnow)); in usb_serial_generic_tiocmiwait()
551 struct async_icount cnow; usb_serial_generic_get_icount() local
[all...]
/kernel/linux/linux-5.10/drivers/tty/
H A Damiserial.c1115 struct async_icount cnow; in rs_get_icount() local
1119 cnow = info->icount; in rs_get_icount()
1121 icount->cts = cnow.cts; in rs_get_icount()
1122 icount->dsr = cnow.dsr; in rs_get_icount()
1123 icount->rng = cnow.rng; in rs_get_icount()
1124 icount->dcd = cnow.dcd; in rs_get_icount()
1125 icount->rx = cnow.rx; in rs_get_icount()
1126 icount->tx = cnow.tx; in rs_get_icount()
1127 icount->frame = cnow.frame; in rs_get_icount()
1128 icount->overrun = cnow in rs_get_icount()
1140 struct async_icount cprev, cnow; /* kernel counter temps */ rs_ioctl() local
[all...]
H A Dnozomi.c1716 const struct async_icount cnow = port->tty_icount; in ntty_cflags_changed() local
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()
1733 const struct async_icount cnow = port->tty_icount; in ntty_tiocgicount() local
1735 icount->cts = cnow.cts; in ntty_tiocgicount()
1736 icount->dsr = cnow.dsr; in ntty_tiocgicount()
1737 icount->rng = cnow in ntty_tiocgicount()
[all...]
H A Dmxser.c1660 struct async_icount cnow; in mxser_cflags_changed() local
1665 cnow = info->icount; /* atomic copy */ in mxser_cflags_changed()
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()
1682 struct async_icount cnow; in mxser_ioctl() local
1742 cnow = info->icount; /* note the counters on entry */ in mxser_ioctl()
1746 mxser_cflags_changed(info, arg, &cnow)); in mxser_ioctl()
1831 struct async_icount cnow; mxser_get_icount() local
[all...]
H A Dcyclades.c2596 struct cyclades_icount cnow; in cy_cflags_changed() local
2601 cnow = info->icount; /* atomic copy */ in cy_cflags_changed()
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()
2624 struct cyclades_icount cnow; /* kernel counter temps */ in cy_ioctl() local
2714 cnow = info->icount; in cy_ioctl()
2717 cy_cflags_changed(info, arg, &cnow)); in cy_ioctl()
2740 struct cyclades_icount cnow; /* Used to snapshot */ cy_get_icount() local
[all...]
H A Dsynclink.c2659 struct mgsl_icount cprev, cnow; in mgsl_wait_event() local
2718 cnow = 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
2799 cnow = info->icount; in modem_input_wait()
2804 if (cnow in modem_input_wait()
2918 struct mgsl_icount cnow; /* kernel counter temps */ msgl_get_icount() local
[all...]
H A Dsynclinkmp.c1310 struct mgsl_icount cnow; /* kernel counter temps */ in get_icount() local
1314 cnow = info->icount; in get_icount()
1317 icount->cts = cnow.cts; in get_icount()
1318 icount->dsr = cnow.dsr; in get_icount()
1319 icount->rng = cnow.rng; in get_icount()
1320 icount->dcd = cnow.dcd; in get_icount()
1321 icount->rx = cnow.rx; in get_icount()
1322 icount->tx = cnow.tx; in get_icount()
1323 icount->frame = cnow.frame; in get_icount()
1324 icount->overrun = cnow in get_icount()
2999 struct mgsl_icount cprev, cnow; wait_mgsl_event() local
3122 struct mgsl_icount cprev, cnow; modem_input_wait() local
[all...]
H A Dsynclink_gt.c1046 struct mgsl_icount cnow; /* kernel counter temps */ in get_icount() local
1050 cnow = info->icount; in get_icount()
1053 icount->cts = cnow.cts; in get_icount()
1054 icount->dsr = cnow.dsr; in get_icount()
1055 icount->rng = cnow.rng; in get_icount()
1056 icount->dcd = cnow.dcd; in get_icount()
1057 icount->rx = cnow.rx; in get_icount()
1058 icount->tx = cnow.tx; in get_icount()
1059 icount->frame = cnow.frame; in get_icount()
1060 icount->overrun = cnow in get_icount()
2668 struct mgsl_icount cprev, cnow; wait_mgsl_event() local
3044 struct mgsl_icount cprev, cnow; modem_input_wait() local
[all...]
/kernel/linux/linux-6.6/drivers/tty/
H A Damiserial.c1082 struct async_icount cnow; in rs_get_icount() local
1086 cnow = info->icount; in rs_get_icount()
1088 icount->cts = cnow.cts; in rs_get_icount()
1089 icount->dsr = cnow.dsr; in rs_get_icount()
1090 icount->rng = cnow.rng; in rs_get_icount()
1091 icount->dcd = cnow.dcd; in rs_get_icount()
1092 icount->rx = cnow.rx; in rs_get_icount()
1093 icount->tx = cnow.tx; in rs_get_icount()
1094 icount->frame = cnow.frame; in rs_get_icount()
1095 icount->overrun = cnow in rs_get_icount()
1107 struct async_icount cprev, cnow; /* kernel counter temps */ rs_ioctl() local
[all...]
H A Dmxser.c1149 struct async_icount cnow; in mxser_cflags_changed() local
1154 cnow = info->icount; /* atomic copy */ in mxser_cflags_changed()
1157 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in mxser_cflags_changed()
1158 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in mxser_cflags_changed()
1159 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in mxser_cflags_changed()
1160 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in mxser_cflags_changed()
1162 *cprev = cnow; in mxser_cflags_changed()
1206 struct async_icount cnow; in mxser_ioctl() local
1228 cnow = info->icount; /* note the counters on entry */ in mxser_ioctl()
1232 mxser_cflags_changed(info, arg, &cnow)); in mxser_ioctl()
1251 struct async_icount cnow; mxser_get_icount() local
[all...]
H A Dnozomi.c1696 const struct async_icount cnow = port->tty_icount; in ntty_cflags_changed() local
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()
1713 const struct async_icount cnow = port->tty_icount; in ntty_tiocgicount() local
1715 icount->cts = cnow.cts; in ntty_tiocgicount()
1716 icount->dsr = cnow.dsr; in ntty_tiocgicount()
1717 icount->rng = cnow in ntty_tiocgicount()
[all...]
H A Dsynclink_gt.c1036 struct mgsl_icount cnow; /* kernel counter temps */ in get_icount() local
1040 cnow = info->icount; in get_icount()
1043 icount->cts = cnow.cts; in get_icount()
1044 icount->dsr = cnow.dsr; in get_icount()
1045 icount->rng = cnow.rng; in get_icount()
1046 icount->dcd = cnow.dcd; in get_icount()
1047 icount->rx = cnow.rx; in get_icount()
1048 icount->tx = cnow.tx; in get_icount()
1049 icount->frame = cnow.frame; in get_icount()
1050 icount->overrun = cnow in get_icount()
2651 struct mgsl_icount cprev, cnow; wait_mgsl_event() local
3027 struct mgsl_icount cprev, cnow; modem_input_wait() local
[all...]
/kernel/linux/linux-5.10/drivers/char/pcmcia/
H A Dsynclink_cs.c1958 struct mgsl_icount cprev, cnow; in wait_events() local
2009 cnow = 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
2085 cnow = info->icount; in modem_input_wait()
2090 if (cnow in modem_input_wait()
2195 struct mgsl_icount cnow; /* kernel counter temps */ mgslpc_get_icount() local
[all...]
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Dserial_core.c1225 struct uart_icount cprev, cnow; in uart_wait_modem_status() local
1242 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_wait_modem_status()
1247 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in uart_wait_modem_status()
1248 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in uart_wait_modem_status()
1249 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in uart_wait_modem_status()
1250 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts))) { in uart_wait_modem_status()
1263 cprev = cnow; in uart_wait_modem_status()
1282 struct uart_icount cnow; in uart_get_icount() local
1289 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_get_icount()
1293 icount->cts = cnow in uart_get_icount()
[all...]
/kernel/linux/linux-5.10/drivers/net/usb/
H A Dhso.c1545 struct uart_icount cprev, cnow; in hso_wait_modem_status() local
1561 memcpy(&cnow, &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()
1593 struct uart_icount cnow; in hso_get_count() local
1602 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount)); in hso_get_count()
1605 icount->cts = cnow.cts; in hso_get_count()
1606 icount->dsr = cnow in hso_get_count()
[all...]
/kernel/linux/linux-6.6/drivers/net/usb/
H A Dhso.c1538 struct uart_icount cprev, cnow; in hso_wait_modem_status() local
1554 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount)); in hso_wait_modem_status()
1557 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in hso_wait_modem_status()
1558 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in hso_wait_modem_status()
1559 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd))) { in hso_wait_modem_status()
1569 cprev = cnow; in hso_wait_modem_status()
1586 struct uart_icount cnow; in hso_get_count() local
1595 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount)); in hso_get_count()
1598 icount->cts = cnow.cts; in hso_get_count()
1599 icount->dsr = cnow in hso_get_count()
[all...]
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Dserial_core.c1217 struct uart_icount cprev, cnow; in uart_wait_modem_status() local
1234 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_wait_modem_status()
1239 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in uart_wait_modem_status()
1240 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in uart_wait_modem_status()
1241 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in uart_wait_modem_status()
1242 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts))) { in uart_wait_modem_status()
1255 cprev = cnow; in uart_wait_modem_status()
1274 struct uart_icount cnow; in uart_get_icount() local
1281 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_get_icount()
1285 icount->cts = cnow in uart_get_icount()
[all...]

Completed in 47 milliseconds