Lines Matching refs:targ
1120 int *targ = (int *)arg;
1122 *targ = 0;
1124 *targ |= CHR_TIOCM_CTS;
1126 *targ |= CHR_TIOCM_CAR;
1128 *targ |= CHR_TIOCM_DSR;
1130 *targ |= CHR_TIOCM_RI;
1132 *targ |= CHR_TIOCM_DTR;
1134 *targ |= CHR_TIOCM_RTS;
1140 int targ = 0;
1141 ioctl(s->fd_in, TIOCMGET, &targ);
1142 targ &= ~(CHR_TIOCM_CTS | CHR_TIOCM_CAR | CHR_TIOCM_DSR
1145 targ |= TIOCM_CTS;
1147 targ |= TIOCM_CAR;
1149 targ |= TIOCM_DSR;
1151 targ |= TIOCM_RI;
1153 targ |= TIOCM_DTR;
1155 targ |= TIOCM_RTS;
1156 ioctl(s->fd_in, TIOCMSET, &targ);