Home
last modified time | relevance | path

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

/linux-2.6.39/kernel/time/
Dntp.c52 int time_status = STA_UNSYNC; variable
119 if (time_status & STA_PPSTIME && time_status & STA_PPSSIGNAL) in ntp_offset_chunk()
159 time_status &= ~(STA_PPSSIGNAL | STA_PPSJITTER | in pps_dec_valid()
172 return (time_status & (STA_UNSYNC|STA_CLOCKERR)) in is_error_status()
176 || ((time_status & (STA_PPSFREQ|STA_PPSTIME)) in is_error_status()
177 && !(time_status & STA_PPSSIGNAL)) in is_error_status()
180 || ((time_status & (STA_PPSTIME|STA_PPSJITTER)) in is_error_status()
185 || ((time_status & STA_PPSFREQ) in is_error_status()
186 && (time_status & (STA_PPSWANDER|STA_PPSERROR))); in is_error_status()
194 if (!(time_status & STA_NANO)) in pps_fill_timex()
[all …]
/linux-2.6.39/include/linux/
Dtimex.h240 extern int time_status; /* clock synchronization status bits */
251 return !(time_status & STA_UNSYNC); in ntp_synced()