Searched refs:cnow (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/usb/serial/ |
| H A D | generic.c | 513 struct async_icount cnow; in usb_serial_generic_msr_changed() 525 cnow = port->icount; /* atomic copy*/ in usb_serial_generic_msr_changed() 528 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in usb_serial_generic_msr_changed() 529 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in usb_serial_generic_msr_changed() 530 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in usb_serial_generic_msr_changed() 531 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in usb_serial_generic_msr_changed() 533 *cprev = cnow; in usb_serial_generic_tiocmiwait() 541 struct async_icount cnow; in usb_serial_generic_tiocmiwait() 546 cnow = port->icount; /* atomic copy */ in usb_serial_generic_tiocmiwait() 550 usb_serial_generic_msr_changed(tty, arg, &cnow)); in usb_serial_generic_tiocmiwait() 508 struct async_icount cnow; usb_serial_generic_msr_changed() local 536 struct async_icount cnow; usb_serial_generic_tiocmiwait() local 557 struct async_icount cnow; usb_serial_generic_get_icount() local [all...] |
| /linux/drivers/tty/ |
| H A D | amiserial.c | 1080 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.overrun; in rs_get_icount() [all …]
|
| H A D | nozomi.c | 1677 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.rng; in ntty_tiocgicount() [all …]
|
| /linux/drivers/net/usb/ |
| H A D | hso.c | 1535 struct uart_icount cprev, cnow; in hso_wait_modem_status() local 1552 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount)); in hso_wait_modem_status() 1554 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in hso_wait_modem_status() 1555 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in hso_wait_modem_status() 1556 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd))) { in hso_wait_modem_status() 1566 cprev = cnow; in hso_wait_modem_status() 1583 struct uart_icount cnow; in hso_get_count() local 1592 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount)); in hso_get_count() 1595 icount->cts = cnow.cts; in hso_get_count() 1596 icount->dsr = cnow.dsr; in hso_get_count() [all …]
|
| /linux/drivers/tty/serial/ |
| H A D | serial_core.c | 1217 struct uart_icount cprev, cnow; in uart_wait_modem_status() 1246 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_wait_modem_status() 1249 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in uart_wait_modem_status() 1250 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in uart_wait_modem_status() 1251 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in uart_wait_modem_status() 1252 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts))) { in uart_wait_modem_status() 1270 cprev = cnow; 1290 struct uart_icount cnow; in uart_get_icount() 1297 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_get_icount() 1300 icount->cts = cnow in uart_get_icount() 1207 struct uart_icount cprev, cnow; uart_wait_modem_status() local 1280 struct uart_icount cnow; uart_get_icount() local [all...] |