Home
last modified time | relevance | path

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

/openbmc/linux/kernel/time/
H A Dntp.c931 static long hardpps_update_freq(struct pps_normtime freq_norm) in hardpps_update_freq() argument
937 if (freq_norm.sec > (2 << pps_shift)) { in hardpps_update_freq()
943 freq_norm.sec); in hardpps_update_freq()
951 ftemp = div_s64(((s64)(-freq_norm.nsec)) << NTP_SCALE_SHIFT, in hardpps_update_freq()
952 freq_norm.sec); in hardpps_update_freq()
1031 struct pps_normtime pts_norm, freq_norm; in __hardpps() local
1054 if ((freq_norm.sec == 0) || in __hardpps()
1055 (freq_norm.nsec > MAXFREQ * freq_norm.sec) || in __hardpps()
1056 (freq_norm.nsec < -MAXFREQ * freq_norm.sec)) { in __hardpps()
1067 if (freq_norm.sec >= (1 << pps_shift)) { in __hardpps()
[all …]