Lines Matching refs:time_status

59 static int			time_status = STA_UNSYNC;  variable
126 if (time_status & STA_PPSTIME && time_status & STA_PPSSIGNAL) in ntp_offset_chunk()
162 time_status &= ~(STA_PPSSIGNAL | STA_PPSJITTER | in pps_dec_valid()
197 if (!(time_status & STA_NANO)) in pps_fill_timex()
246 return !(time_status & STA_UNSYNC); in ntp_synced()
282 time_status &= ~STA_MODE; in ntp_update_offset_fll()
287 if (!(time_status & STA_FLL) && (secs <= MAXSEC)) in ntp_update_offset_fll()
290 time_status |= STA_MODE; in ntp_update_offset_fll()
301 if (!(time_status & STA_PLL)) in ntp_update_offset()
304 if (!(time_status & STA_NANO)) { in ntp_update_offset()
321 if (unlikely(time_status & STA_FREQHOLD)) in ntp_update_offset()
353 time_status |= STA_UNSYNC; in ntp_clear()
383 if ((time_state == TIME_INS) && (time_status & STA_INS)) in ntp_get_next_leap()
412 if (time_status & STA_INS) { in second_overflow()
416 } else if (time_status & STA_DEL) { in second_overflow()
423 if (!(time_status & STA_INS)) { in second_overflow()
434 if (!(time_status & STA_DEL)) { in second_overflow()
450 if (!(time_status & (STA_INS | STA_DEL))) in second_overflow()
460 time_status |= STA_UNSYNC; in second_overflow()
647 if ((time_status & STA_PLL) && !(txc->status & STA_PLL)) { in process_adj_status()
649 time_status = STA_UNSYNC; in process_adj_status()
659 if (!(time_status & STA_PLL) && (txc->status & STA_PLL)) in process_adj_status()
663 time_status &= STA_RONLY; in process_adj_status()
664 time_status |= txc->status & ~STA_RONLY; in process_adj_status()
674 time_status |= STA_NANO; in process_adjtimex_modes()
677 time_status &= ~STA_NANO; in process_adjtimex_modes()
695 if (!(time_status & STA_NANO)) in process_adjtimex_modes()
740 if (!(time_status & STA_NANO)) in __do_adjtimex()
746 if (is_error_status(time_status)) in __do_adjtimex()
753 txc->status = time_status; in __do_adjtimex()
765 if (!(time_status & STA_NANO)) in __do_adjtimex()
770 if ((time_state == TIME_INS) && (time_status & STA_INS)) { in __do_adjtimex()
775 if ((time_state == TIME_DEL) && (time_status & STA_DEL)) { in __do_adjtimex()
880 time_status |= STA_PPSERROR; in hardpps_update_freq()
900 time_status |= STA_PPSWANDER; in hardpps_update_freq()
919 if ((time_status & STA_PPSFREQ) != 0 && in hardpps_update_freq()
920 (time_status & STA_FREQHOLD) == 0) { in hardpps_update_freq()
946 time_status |= STA_PPSJITTER; in hardpps_update_phase()
948 } else if (time_status & STA_PPSTIME) { in hardpps_update_phase()
978 time_status &= ~(STA_PPSJITTER | STA_PPSWANDER | STA_PPSERROR); in __hardpps()
981 time_status |= STA_PPSSIGNAL; in __hardpps()
999 time_status |= STA_PPSJITTER; in __hardpps()