xref: /openbmc/linux/kernel/time/ntp_internal.h (revision aa6f9c59)
1aa6f9c59SJohn Stultz #ifndef _LINUX_NTP_INTERNAL_H
2aa6f9c59SJohn Stultz #define _LINUX_NTP_INTERNAL_H
3aa6f9c59SJohn Stultz 
4aa6f9c59SJohn Stultz extern void ntp_init(void);
5aa6f9c59SJohn Stultz extern void ntp_clear(void);
6aa6f9c59SJohn Stultz /* Returns how long ticks are at present, in ns / 2^NTP_SCALE_SHIFT. */
7aa6f9c59SJohn Stultz extern u64 ntp_tick_length(void);
8aa6f9c59SJohn Stultz extern int second_overflow(unsigned long secs);
9aa6f9c59SJohn Stultz extern int __do_adjtimex(struct timex *);
10aa6f9c59SJohn Stultz extern void __hardpps(const struct timespec *, const struct timespec *);
11aa6f9c59SJohn Stultz #endif /* _LINUX_NTP_INTERNAL_H */
12