Searched refs:freq_norm (Results 1 – 1 of 1) sorted by relevance
803 static long hardpps_update_freq(struct pps_normtime freq_norm) in hardpps_update_freq() argument809 if (freq_norm.sec > (2 << pps_shift)) { in hardpps_update_freq()814 freq_norm.sec); in hardpps_update_freq()822 ftemp = div_s64(((s64)(-freq_norm.nsec)) << NTP_SCALE_SHIFT, in hardpps_update_freq()823 freq_norm.sec); in hardpps_update_freq()900 struct pps_normtime pts_norm, freq_norm; in hardpps() local923 freq_norm = pps_normalize_ts(timespec_sub(*raw_ts, pps_fbase)); in hardpps()927 if ((freq_norm.sec == 0) || in hardpps()928 (freq_norm.nsec > MAXFREQ * freq_norm.sec) || in hardpps()929 (freq_norm.nsec < -MAXFREQ * freq_norm.sec)) { in hardpps()[all …]