Searched refs:sl232 (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_neoclock4x.c168 int sl232; local
262 if(ioctl(fd, TIOCMGET, (caddr_t)&sl232) == -1)
269 sl232 = sl232 | TIOCM_DTR | TIOCM_RTS; /* turn on RTS, and DTR for power supply */
271 sl232 = sl232 | CIOCM_DTR | CIOCM_RTS; /* turn on RTS, and DTR for power supply */
273 if(ioctl(fd, TIOCMSET, (caddr_t)&sl232) == -1)
396 int sl232; local
411 if(ioctl(pp->io.fd, TIOCMGET, (caddr_t)&sl232) == -1)
418 sl232
[all...]
H A Drefclock_parse.c5832 int sl232; local
5834 if (ioctl(parse->generic->io.fd, TIOCMGET, (caddr_t)&sl232) == -1)
5841 sl232 = (sl232 & ~TIOCM_RTS) | TIOCM_DTR; /* turn on DTR, clear RTS for power supply */
5843 sl232 = (sl232 & ~CIOCM_RTS) | CIOCM_DTR; /* turn on DTR, clear RTS for power supply */
5846 if (ioctl(parse->generic->io.fd, TIOCMSET, (caddr_t)&sl232) == -1)
5879 int sl232; local
5881 if (ioctl(parse->generic->io.fd, TIOCMGET, (caddr_t)&sl232) == -1)
5888 sl232
[all...]
/freebsd-9.3-release/contrib/ntp/parseutil/
H A Ddcfd.c1357 int sl232 = TIOCM_DTR; /* turn on DTR for power supply */ local
1359 int sl232 = CIOCM_DTR; /* turn on DTR for power supply */
1362 if (ioctl(fd, TIOCMSET, (caddr_t)&sl232) == -1)

Completed in 122 milliseconds