Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/ntp/ntpd/
Drefclock_nmea.c1793 int32_t gps_sec, gps_day; /* GPS ToD and day in NTP epoch */ in eval_gps_time() local
1802 gps_day = ntpcal_date_to_rd(gpst) - DAY_NTP_STARTS; in eval_gps_time()
1811 retv.l_ui = ntpcal_dayjoin(gps_day, gps_sec).D_s.lo; in eval_gps_time()
1831 gps_day += 1; in eval_gps_time()
1835 gps_day -= 1; in eval_gps_time()
1857 adj_day = ntpcal_periodic_extend(rcv_day, gps_day, 1024*7); in eval_gps_time()
1860 weeks = (adj_day - gps_day) / 7; in eval_gps_time()