Searched refs:freq_norm (Results 1 – 1 of 1) sorted by relevance
871 static long hardpps_update_freq(struct pps_normtime freq_norm) in hardpps_update_freq() argument877 if (freq_norm.sec > (2 << pps_shift)) { in hardpps_update_freq()883 freq_norm.sec); in hardpps_update_freq()891 ftemp = div_s64(((s64)(-freq_norm.nsec)) << NTP_SCALE_SHIFT, in hardpps_update_freq()892 freq_norm.sec); in hardpps_update_freq()971 struct pps_normtime pts_norm, freq_norm; in __hardpps() local990 freq_norm = pps_normalize_ts(timespec64_sub(*raw_ts, pps_fbase)); in __hardpps()994 if ((freq_norm.sec == 0) || in __hardpps()995 (freq_norm.nsec > MAXFREQ * freq_norm.sec) || in __hardpps()996 (freq_norm.nsec < -MAXFREQ * freq_norm.sec)) { in __hardpps()[all …]