Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/include/
H A Dntp_calendar.h100 #define GPSWEEKS 1024 /* GPS week cycle */ macro
H A Dparse.h111 #define GPSWEEKS 1024 /* number of weeks until the GPS epch rolls over */ macro
/freebsd/contrib/ntp/libntp/
H A Dntp_calendar.c2124 #if GPSWEEKS != 1024 in basedate_expand_gpsweek()
2125 # error GPSWEEKS defined wrong -- should be 1024! in basedate_expand_gpsweek()
2129 diff = ((uint32_t)weekno - s_gpsweek) & (GPSWEEKS - 1); in basedate_expand_gpsweek()
H A Dntp_calgps.c366 week = base + ((week - base) & (GPSWEEKS - 1)); in _gpscal_fix_gps_era()