Lines Matching refs:time_status

54 static int			time_status = STA_UNSYNC;  variable
118 if (time_status & STA_PPSTIME && time_status & STA_PPSSIGNAL) in ntp_offset_chunk()
154 time_status &= ~(STA_PPSSIGNAL | STA_PPSJITTER | in pps_dec_valid()
189 if (!(time_status & STA_NANO)) in pps_fill_timex()
238 return !(time_status & STA_UNSYNC); in ntp_synced()
274 time_status &= ~STA_MODE; in ntp_update_offset_fll()
279 if (!(time_status & STA_FLL) && (secs <= MAXSEC)) in ntp_update_offset_fll()
282 time_status |= STA_MODE; in ntp_update_offset_fll()
293 if (!(time_status & STA_PLL)) in ntp_update_offset()
296 if (!(time_status & STA_NANO)) in ntp_update_offset()
311 if (unlikely(time_status & STA_FREQHOLD)) in ntp_update_offset()
343 time_status |= STA_UNSYNC; in ntp_clear()
385 if (time_status & STA_INS) in second_overflow()
387 else if (time_status & STA_DEL) in second_overflow()
391 if (!(time_status & STA_INS)) in second_overflow()
401 if (!(time_status & STA_DEL)) in second_overflow()
415 if (!(time_status & (STA_INS | STA_DEL))) in second_overflow()
425 time_status |= STA_UNSYNC; in second_overflow()
547 if ((time_status & STA_PLL) && !(txc->status & STA_PLL)) { in process_adj_status()
549 time_status = STA_UNSYNC; in process_adj_status()
558 if (!(time_status & STA_PLL) && (txc->status & STA_PLL)) in process_adj_status()
562 time_status &= STA_RONLY; in process_adj_status()
563 time_status |= txc->status & ~STA_RONLY; in process_adj_status()
575 time_status |= STA_NANO; in process_adjtimex_modes()
578 time_status &= ~STA_NANO; in process_adjtimex_modes()
596 if (!(time_status & STA_NANO)) in process_adjtimex_modes()
686 if (!(time_status & STA_NANO)) in __do_adjtimex()
692 if (is_error_status(time_status)) in __do_adjtimex()
699 txc->status = time_status; in __do_adjtimex()
711 if (!(time_status & STA_NANO)) in __do_adjtimex()
808 time_status |= STA_PPSERROR; in hardpps_update_freq()
828 time_status |= STA_PPSWANDER; in hardpps_update_freq()
847 if ((time_status & STA_PPSFREQ) != 0 && in hardpps_update_freq()
848 (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()
906 time_status &= ~(STA_PPSJITTER | STA_PPSWANDER | STA_PPSERROR); in __hardpps()
909 time_status |= STA_PPSSIGNAL; in __hardpps()
927 time_status |= STA_PPSJITTER; in __hardpps()