Lines Matching +full:clock +full:- +full:duration +full:- +full:ns

28  *	Added defines for hybrid phase/frequency-lock loop.
32 * defines for PPS phase-lock loop.
35 * Revised status codes and structures for external clock and PPS
46 * 1995-08-13 Torsten Duwe
47 * kernel PLL updated to 1994-12-13 specs (rfc-1589)
48 * 1997-08-30 Ulrich Windl
50 * 2004-08-12 Christoph Lameter
62 * syscall interface - used (mainly by NTP daemon)
63 * to discipline kernel clock oscillator
71 int status; /* clock command/status */
73 __kernel_long_t precision;/* clock precision (usec) (read only) */
74 __kernel_long_t tolerance;/* clock frequency tolerance (ppm)
78 __kernel_long_t tick; /* (modified) usecs between clock ticks */
82 int shift; /* interval duration (s) (shift) (ro) */
109 int status; /* clock command/status */
112 long long precision;/* clock precision (usec) (read only) */
113 long long tolerance;/* clock frequency tolerance (ppm)
117 long long tick; /* (modified) usecs between clock ticks */
121 int shift; /* interval duration (s) (shift) (ro) */
143 #define ADJ_STATUS 0x0010 /* clock status */
152 #define ADJ_OFFSET_SINGLESHOT 0x8001 /* old-fashioned adjtime */
153 #define ADJ_OFFSET_SS_READ 0xa001 /* read-only adjtime */
174 #define STA_FLL 0x0008 /* select frequency-lock mode (rw) */
178 #define STA_UNSYNC 0x0040 /* clock unsynchronized (rw) */
186 #define STA_CLOCKERR 0x1000 /* clock hardware fault (ro) */
187 #define STA_NANO 0x2000 /* resolution (0 = us, 1 = ns) (ro) */
189 #define STA_CLK 0x8000 /* clock source (0 = A, 1 = B) (ro) */
191 /* read-only bits */
196 * Clock states (time_state)
198 #define TIME_OK 0 /* clock synchronized, no leap second */
203 #define TIME_ERROR 5 /* clock not synchronized */