Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/ntpd/
H A Drefclock_neoclock4x.c168 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 &= ~(TIOCM_DTR | TIOCM_RTS); in neoclock4x_shutdown()
421 sl232 &= ~(CIOCM_DTR | CIOCM_RTS); in neoclock4x_shutdown()
423 if(ioctl(pp->io.fd, TIOCMSET, (caddr_t)&sl232) == -1) in neoclock4x_shutdown()
H A Drefclock_parse.c5859 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 Ddcfd.c1361 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()