Searched refs:gps_day (Results 1 – 1 of 1) sorted by relevance
1793 int32_t gps_sec, gps_day; /* GPS ToD and day in NTP epoch */ in eval_gps_time() local1802 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()