Lines Matching full:dtr
1262 int flag = 0, dtr, rts; in moxa_tiocmget() local
1264 MoxaPortGetLineOut(ch, &dtr, &rts); in moxa_tiocmget()
1265 if (dtr) in moxa_tiocmget()
1269 dtr = MoxaPortLineStatus(ch); in moxa_tiocmget()
1270 if (dtr & 1) in moxa_tiocmget()
1272 if (dtr & 2) in moxa_tiocmget()
1274 if (dtr & 4) in moxa_tiocmget()
1283 int dtr, rts; in moxa_tiocmset() local
1292 MoxaPortGetLineOut(ch, &dtr, &rts); in moxa_tiocmset()
1296 dtr = 1; in moxa_tiocmset()
1300 dtr = 0; in moxa_tiocmset()
1301 MoxaPortLineCtrl(ch, dtr, rts); in moxa_tiocmset()
1579 * Function 13: Get the DTR/RTS state of this port.
1583 * int * dtrState : pointer to INT to receive the current DTR
1594 * Function 14: Setting the DTR/RTS output state of this port.
1598 * int dtrState : DTR output state (0: off, 1: on)
1818 static void MoxaPortLineCtrl(struct moxa_port *port, int dtr, int rts) in MoxaPortLineCtrl() argument
1822 if (dtr) in MoxaPortLineCtrl()