Searched refs:sl232 (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_neoclock4x.c | 168 int sl232; in neoclock4x_start() local 262 if(ioctl(fd, TIOCMGET, (caddr_t)&sl232) == -1) in neoclock4x_start() 269 sl232 = sl232 | TIOCM_DTR | TIOCM_RTS; /* turn on RTS, and DTR for power supply */ in neoclock4x_start() 271 sl232 = sl232 | CIOCM_DTR | CIOCM_RTS; /* turn on RTS, and DTR for power supply */ in neoclock4x_start() 273 if(ioctl(fd, TIOCMSET, (caddr_t)&sl232) == -1) in neoclock4x_start() 396 int sl232; in neoclock4x_shutdown() local 411 if(ioctl(pp->io.fd, TIOCMGET, (caddr_t)&sl232) == -1) in neoclock4x_shutdown() 418 sl232 in neoclock4x_shutdown() [all...] |
H A D | refclock_parse.c | 5859 int sl232; in rawdcf_init_1() local 5861 if (ioctl(parse->generic->io.fd, TIOCMGET, (caddr_t)&sl232) == -1) in rawdcf_init_1() 5868 sl232 = (sl232 & ~TIOCM_RTS) | TIOCM_DTR; /* turn on DTR, clear RTS for power supply */ in rawdcf_init_1() 5870 sl232 = (sl232 & ~CIOCM_RTS) | CIOCM_DTR; /* turn on DTR, clear RTS for power supply */ in rawdcf_init_1() 5873 if (ioctl(parse->generic->io.fd, TIOCMSET, (caddr_t)&sl232) == -1) in rawdcf_init_1() 5906 int sl232; in rawdcf_init_2() local 5908 if (ioctl(parse->generic->io.fd, TIOCMGET, (caddr_t)&sl232) == -1) in rawdcf_init_2() 5915 sl232 = (sl232 & ~TIOCM_DTR) | TIOCM_RTS; /* turn on RTS, clear DTR for power supply */ in rawdcf_init_2() 5917 sl232 = (sl232 & ~CIOCM_DTR) | CIOCM_RTS; /* turn on RTS, clear DTR for power supply */ in rawdcf_init_2() 5920 if (ioctl(parse->generic->io.fd, TIOCMSET, (caddr_t)&sl232) == -1) in rawdcf_init_2()
|
/freebsd/contrib/ntp/parseutil/ |
H A D | dcfd.c | 1361 int sl232 = TIOCM_DTR; /* turn on DTR for power supply */ in rawdcf_init() local 1363 int sl232 = CIOCM_DTR; /* turn on DTR for power supply */ in rawdcf_init() 1366 if (ioctl(fd, TIOCMSET, (caddr_t)&sl232) == -1) in rawdcf_init()
|