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

/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Drefclock_neoclock4x.c170 int sl232; local
264 if(ioctl(fd, TIOCMGET, (caddr_t)&sl232) == -1)
271 sl232 = sl232 | TIOCM_DTR | TIOCM_RTS; /* turn on RTS, and DTR for power supply */
273 sl232 = sl232 | CIOCM_DTR | CIOCM_RTS; /* turn on RTS, and DTR for power supply */
275 if(ioctl(fd, TIOCMSET, (caddr_t)&sl232) == -1)
398 int sl232; local
413 if(ioctl(pp->io.fd, TIOCMGET, (caddr_t)&sl232) == -1)
420 sl232
[all...]
H A Drefclock_parse.c5847 int sl232; local
5849 if (ioctl(parse->generic->io.fd, TIOCMGET, (caddr_t)&sl232) == -1)
5856 sl232 = (sl232 & ~TIOCM_RTS) | TIOCM_DTR; /* turn on DTR, clear RTS for power supply */
5858 sl232 = (sl232 & ~CIOCM_RTS) | CIOCM_DTR; /* turn on DTR, clear RTS for power supply */
5861 if (ioctl(parse->generic->io.fd, TIOCMSET, (caddr_t)&sl232) == -1)
5894 int sl232; local
5896 if (ioctl(parse->generic->io.fd, TIOCMGET, (caddr_t)&sl232) == -1)
5903 sl232
[all...]
/netbsd-current/external/bsd/ntp/dist/parseutil/
H A Ddcfd.c1359 int sl232 = TIOCM_DTR; /* turn on DTR for power supply */ local
1361 int sl232 = CIOCM_DTR; /* turn on DTR for power supply */
1364 if (ioctl(fd, TIOCMSET, (caddr_t)&sl232) == -1)

Completed in 192 milliseconds