Home
last modified time | relevance | path

Searched refs:ppsfd (Results 1 – 2 of 2) sorted by relevance

/freebsd-9-stable/contrib/ntp/ntpd/
Drefclock_parse.c423 int ppsfd; /* fd to ise for PPS io */ member
1818 if (ioctl(parse->ppsfd, I_PUSH, (caddr_t)m1) == -1 && in ppsclock_init()
1819 ioctl(parse->ppsfd, I_PUSH, (caddr_t)m2) == -1) in ppsclock_init()
1830 (void)ioctl(parse->ppsfd, I_POP, (caddr_t)0); in ppsclock_init()
2305 if (ioctl(parse->ppsfd, TIOCDCDTIMESTAMP, &dcd_time) != -1) in local_input()
2319 parse->ppsfd, in local_input()
2337 if (ioctl(parse->ppsfd, CIOGETEV, (caddr_t)&ev) == 0) in local_input()
2340 if (ioctl(parse->ppsfd, TIOCGPPSEV, (caddr_t)&ev) == 0) in local_input()
2815 if (parse->generic->io.fd != parse->ppsfd && parse->ppsfd != -1) in parse_shutdown()
2816 (void)closeserial(parse->ppsfd); /* close separate PPS source */ in parse_shutdown()
[all …]
Drefclock_oncore.c273 int ppsfd; /* PPS file descriptor */ member
720 instance->ppsfd = fd2; in oncore_start()
793 if ((instance->ppsfd != -1) && (instance->ppsfd != instance->ttyfd)) in oncore_shutdown()
794 close(instance->ppsfd); in oncore_shutdown()