Lines Matching refs:time_status

52 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()
268 time_status &= ~STA_MODE; in ntp_update_offset_fll()
273 if (!(time_status & STA_FLL) && (secs <= MAXSEC)) in ntp_update_offset_fll()
276 time_status |= STA_MODE; in ntp_update_offset_fll()
287 if (!(time_status & STA_PLL)) in ntp_update_offset()
290 if (!(time_status & STA_NANO)) in ntp_update_offset()
305 if (unlikely(time_status & STA_FREQHOLD)) in ntp_update_offset()
339 time_status |= STA_UNSYNC; in ntp_clear()
386 if (!(time_status & (STA_INS | STA_DEL))) in ntp_leap_second()
412 time_status |= STA_UNSYNC; in second_overflow()
511 if (time_status & STA_INS) { in ntp_start_leap_timer()
519 if (time_status & STA_DEL) { in ntp_start_leap_timer()
531 if ((time_status & STA_PLL) && !(txc->status & STA_PLL)) { in process_adj_status()
533 time_status = STA_UNSYNC; in process_adj_status()
542 if (!(time_status & STA_PLL) && (txc->status & STA_PLL)) in process_adj_status()
546 time_status &= STA_RONLY; in process_adj_status()
547 time_status |= txc->status & ~STA_RONLY; in process_adj_status()
558 if (!(time_status & (STA_INS | STA_DEL))) in process_adj_status()
576 time_status |= STA_NANO; in process_adjtimex_modes()
579 time_status &= ~STA_NANO; in process_adjtimex_modes()
597 if (!(time_status & STA_NANO)) in process_adjtimex_modes()
685 if (!(time_status & STA_NANO)) in do_adjtimex()
691 if (is_error_status(time_status)) in do_adjtimex()
698 txc->status = time_status; in do_adjtimex()
712 if (!(time_status & STA_NANO)) in do_adjtimex()
811 time_status |= STA_PPSERROR; in hardpps_update_freq()
829 time_status |= STA_PPSWANDER; in hardpps_update_freq()
848 if ((time_status & STA_PPSFREQ) != 0 && in hardpps_update_freq()
849 (time_status & STA_FREQHOLD) == 0) { in hardpps_update_freq()
874 time_status |= STA_PPSJITTER; in hardpps_update_phase()
876 } else if (time_status & STA_PPSTIME) { in hardpps_update_phase()
909 time_status &= ~(STA_PPSJITTER | STA_PPSWANDER | STA_PPSERROR); in hardpps()
912 time_status |= STA_PPSSIGNAL; in hardpps()
931 time_status |= STA_PPSJITTER; in hardpps()