Lines Matching full:dtr
1560 int flag = 0, dtr, rts; in moxa_tiocmget() local
1562 MoxaPortGetLineOut(ch, &dtr, &rts); in moxa_tiocmget()
1563 if (dtr) in moxa_tiocmget()
1567 dtr = MoxaPortLineStatus(ch); in moxa_tiocmget()
1568 if (dtr & 1) in moxa_tiocmget()
1570 if (dtr & 2) in moxa_tiocmget()
1572 if (dtr & 4) in moxa_tiocmget()
1581 int dtr, rts; in moxa_tiocmset() local
1590 MoxaPortGetLineOut(ch, &dtr, &rts); in moxa_tiocmset()
1594 dtr = 1; in moxa_tiocmset()
1598 dtr = 0; in moxa_tiocmset()
1599 MoxaPortLineCtrl(ch, dtr, rts); in moxa_tiocmset()
1878 * Function 13: Get the DTR/RTS state of this port.
1882 * int * dtrState : pointer to INT to receive the current DTR
1893 * Function 14: Setting the DTR/RTS output state of this port.
1897 * int dtrState : DTR output state (0: off, 1: on)
2117 static void MoxaPortLineCtrl(struct moxa_port *port, int dtr, int rts) in MoxaPortLineCtrl() argument
2121 if (dtr) in MoxaPortLineCtrl()