Searched refs:cnow (Results 1 – 4 of 4) sorted by relevance
500 struct async_icount cnow; in usb_serial_generic_msr_changed() 512 cnow = port->icount; /* atomic copy*/ in usb_serial_generic_msr_changed() 515 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || in usb_serial_generic_msr_changed() 516 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || in usb_serial_generic_msr_changed() 517 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in usb_serial_generic_msr_changed() 518 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in usb_serial_generic_msr_changed() 520 *cprev = cnow; in usb_serial_generic_msr_changed() 528 struct async_icount cnow; in usb_serial_generic_tiocmiwait() 533 cnow = port->icount; /* atomic copy */ in usb_serial_generic_tiocmiwait() 537 usb_serial_generic_msr_changed(tty, arg, &cnow)); in usb_serial_generic_tiocmiwait() 501 struct async_icount cnow; usb_serial_generic_msr_changed() local 529 struct async_icount cnow; usb_serial_generic_tiocmiwait() local 550 struct async_icount cnow; usb_serial_generic_get_icount() local [all...]
1677 const struct async_icount cnow = port->tty_icount; in ntty_cflags_changed() local1680 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() local1696 icount->cts = cnow.cts; in ntty_tiocgicount()1697 icount->dsr = cnow.dsr; in ntty_tiocgicount()1698 icount->rng = cnow.rng; in ntty_tiocgicount()[all …]
1206 struct uart_icount cprev, cnow; in uart_wait_modem_status() 1223 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_wait_modem_status() 1227 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || in uart_wait_modem_status() 1228 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || in uart_wait_modem_status() 1229 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in uart_wait_modem_status() 1230 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts))) { in uart_wait_modem_status() 1243 cprev = cnow; in uart_wait_modem_status() 1262 struct uart_icount cnow; in uart_get_icount() 1269 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); in uart_get_icount() 1272 icount->cts = cnow in uart_get_icount() 1210 struct uart_icount cprev, cnow; uart_wait_modem_status() local 1266 struct uart_icount cnow; uart_get_icount() local [all...]