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

/freebsd-11-stable/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.c5845 int sl232; local
5847 if (ioctl(parse->generic->io.fd, TIOCMGET, (caddr_t)&sl232) == -1)
5854 sl232 = (sl232 & ~TIOCM_RTS) | TIOCM_DTR; /* turn on DTR, clear RTS for power supply */
5856 sl232 = (sl232 & ~CIOCM_RTS) | CIOCM_DTR; /* turn on DTR, clear RTS for power supply */
5859 if (ioctl(parse->generic->io.fd, TIOCMSET, (caddr_t)&sl232) == -1)
5892 int sl232; local
5894 if (ioctl(parse->generic->io.fd, TIOCMGET, (caddr_t)&sl232) == -1)
5901 sl232
[all...]
/freebsd-11-stable/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 102 milliseconds