Searched refs:cnow (Results 1 - 7 of 7) sorted by relevance
/linux-master/drivers/usb/serial/ |
H A D | generic.c | 502 struct async_icount cnow; local 514 cnow = port->icount; /* atomic copy*/ 517 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || 518 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || 519 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || 520 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); 522 *cprev = cnow; 530 struct async_icount cnow; local 535 cnow = port->icount; /* atomic copy */ 539 usb_serial_generic_msr_changed(tty, arg, &cnow)); 551 struct async_icount cnow; local [all...] |
/linux-master/drivers/tty/ |
H A D | amiserial.c | 1080 struct async_icount cnow; local 1084 cnow = info->icount; 1086 icount->cts = cnow.cts; 1087 icount->dsr = cnow.dsr; 1088 icount->rng = cnow.rng; 1089 icount->dcd = cnow.dcd; 1090 icount->rx = cnow.rx; 1091 icount->tx = cnow.tx; 1092 icount->frame = cnow.frame; 1093 icount->overrun = cnow 1105 struct async_icount cprev, cnow; /* kernel counter temps */ local [all...] |
H A D | mxser.c | 1149 struct async_icount cnow; local 1154 cnow = info->icount; /* atomic copy */ 1157 ret = ((arg & TIOCM_RNG) && (cnow.rng != cprev->rng)) || 1158 ((arg & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) || 1159 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || 1160 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); 1162 *cprev = cnow; 1206 struct async_icount cnow; local 1228 cnow = info->icount; /* note the counters on entry */ 1232 mxser_cflags_changed(info, arg, &cnow)); 1251 struct async_icount cnow; local [all...] |
H A D | nozomi.c | 1677 const struct async_icount cnow = port->tty_icount; local 1680 ret = ((flags & TIOCM_RNG) && (cnow.rng != cprev->rng)) 1681 || ((flags & TIOCM_DSR) && (cnow.dsr != cprev->dsr)) 1682 || ((flags & TIOCM_CD) && (cnow.dcd != cprev->dcd)) 1683 || ((flags & TIOCM_CTS) && (cnow.cts != cprev->cts)); 1685 *cprev = cnow; 1694 const struct async_icount cnow = port->tty_icount; local 1696 icount->cts = cnow.cts; 1697 icount->dsr = cnow.dsr; 1698 icount->rng = cnow [all...] |
H A D | synclink_gt.c | 1036 struct mgsl_icount cnow; /* kernel counter temps */ local 1040 cnow = info->icount; 1043 icount->cts = cnow.cts; 1044 icount->dsr = cnow.dsr; 1045 icount->rng = cnow.rng; 1046 icount->dcd = cnow.dcd; 1047 icount->rx = cnow.rx; 1048 icount->tx = cnow.tx; 1049 icount->frame = cnow.frame; 1050 icount->overrun = cnow 2651 struct mgsl_icount cprev, cnow; local 3027 struct mgsl_icount cprev, cnow; local [all...] |
/linux-master/drivers/net/usb/ |
H A D | hso.c | 1537 struct uart_icount cprev, cnow; local 1553 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount)); 1556 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || 1557 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || 1558 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd))) { 1568 cprev = cnow; 1585 struct uart_icount cnow; local 1594 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount)); 1597 icount->cts = cnow.cts; 1598 icount->dsr = cnow [all...] |
/linux-master/drivers/tty/serial/ |
H A D | serial_core.c | 1230 struct uart_icount cprev, cnow; local 1247 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); 1252 if (((arg & TIOCM_RNG) && (cnow.rng != cprev.rng)) || 1253 ((arg & TIOCM_DSR) && (cnow.dsr != cprev.dsr)) || 1254 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || 1255 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts))) { 1268 cprev = cnow; 1287 struct uart_icount cnow; local 1294 memcpy(&cnow, &uport->icount, sizeof(struct uart_icount)); 1298 icount->cts = cnow [all...] |
Completed in 153 milliseconds