Home
last modified time | relevance | path

Searched refs:cnow (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/usb/serial/
H A Dgeneric.c501 struct async_icount cnow; in usb_serial_generic_msr_changed() local
513 cnow = port->icount; /* atomic copy*/ in usb_serial_generic_msr_changed()
516 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in usb_serial_generic_msr_changed()
517 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in usb_serial_generic_msr_changed()
518 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in usb_serial_generic_msr_changed()
519 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in usb_serial_generic_msr_changed()
521 *cprev = cnow; in usb_serial_generic_msr_changed()
529 struct async_icount cnow; in usb_serial_generic_tiocmiwait() local
534 cnow = port->icount; /* atomic copy */ in usb_serial_generic_tiocmiwait()
538 usb_serial_generic_msr_changed(tty, arg, &cnow)); in usb_serial_generic_tiocmiwait()
550 struct async_icount cnow; usb_serial_generic_get_icount() local
[all...]
/linux/drivers/tty/
H A Damiserial.c1080 struct async_icount cnow; in rs_get_icount() local
1084 cnow = info->icount; in rs_get_icount()
1086 icount->cts = cnow.cts; in rs_get_icount()
1087 icount->dsr = cnow.dsr; in rs_get_icount()
1088 icount->rng = cnow.rng; in rs_get_icount()
1089 icount->dcd = cnow.dcd; in rs_get_icount()
1090 icount->rx = cnow.rx; in rs_get_icount()
1091 icount->tx = cnow.tx; in rs_get_icount()
1092 icount->frame = cnow.frame; in rs_get_icount()
1093 icount->overrun = cnow in rs_get_icount()
1105 struct async_icount cprev, cnow; /* kernel counter temps */ rs_ioctl() local
[all...]
H A Dmxser.c1146 struct async_icount cnow; in mxser_cflags_changed() local
1151 cnow = info->icount; /* atomic copy */ in mxser_cflags_changed()
1154 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in mxser_cflags_changed()
1155 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in mxser_cflags_changed()
1156 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in mxser_cflags_changed()
1157 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in mxser_cflags_changed()
1159 *cprev = cnow; in mxser_cflags_changed()
1203 struct async_icount cnow; in mxser_ioctl() local
1225 cnow = info->icount; /* note the counters on entry */ in mxser_ioctl()
1229 mxser_cflags_changed(info, arg, &cnow)); in mxser_ioctl()
1248 struct async_icount cnow; mxser_get_icount() local
[all...]
H A Dnozomi.c1677 const struct async_icount cnow = port->tty_icount; in ntty_cflags_changed() local
1680 ret = ((flags & TIOCM_RNG) && (cnow.rng != cprev->rng)) in ntty_cflags_changed()
1681 || ((flags & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) in ntty_cflags_changed()
1682 || ((flags & TIOCM_CD) && (cnow.dcd != cprev->dcd)) in ntty_cflags_changed()
1683 || ((flags & TIOCM_CTS) && (cnow.cts != cprev->cts)); in ntty_cflags_changed()
1685 *cprev = cnow; in ntty_cflags_changed()
1694 const struct async_icount cnow = port->tty_icount; in ntty_tiocgicount() local
1696 icount->cts = cnow.cts; in ntty_tiocgicount()
1697 icount->dsr = cnow.dsr; in ntty_tiocgicount()
1698 icount->rng = cnow in ntty_tiocgicount()
[all...]
H A Dsynclink_gt.c1037 struct mgsl_icount cnow; /* kernel counter temps */ in get_icount() local
1041 cnow = info->icount; in get_icount()
1044 icount->cts = cnow.cts; in get_icount()
1045 icount->dsr = cnow.dsr; in get_icount()
1046 icount->rng = cnow.rng; in get_icount()
1047 icount->dcd = cnow.dcd; in get_icount()
1048 icount->rx = cnow.rx; in get_icount()
1049 icount->tx = cnow.tx; in get_icount()
1050 icount->frame = cnow.frame; in get_icount()
1051 icount->overrun = cnow in get_icount()
2652 struct mgsl_icount cprev, cnow; wait_mgsl_event() local
3028 struct mgsl_icount cprev, cnow; modem_input_wait() local
[all...]
/linux/drivers/tty/serial/
H A Dserial_core.c1220 struct uart_icount cprev, cnow; in uart_wait_modem_status() local
1237 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_wait_modem_status()
1242 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in uart_wait_modem_status()
1243 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in uart_wait_modem_status()
1244 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in uart_wait_modem_status()
1245 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts))) { in uart_wait_modem_status()
1258 cprev = cnow; in uart_wait_modem_status()
1277 struct uart_icount cnow; in uart_get_icount() local
1284 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_get_icount()
1287 icount->cts = cnow in uart_get_icount()
[all...]
/linux/drivers/usb/gadget/function/
H A Du_serial.c898 struct async_icount cnow; in gs_get_icount() local
902 cnow = port->icount; in gs_get_icount()
905 icount->rx = cnow.rx; in gs_get_icount()
906 icount->tx = cnow.tx; in gs_get_icount()