Lines Matching +full:phase +full:- +full:shift
21 * Added defines for hybrid phase/frequency-lock loop.
25 * defines for PPS phase-lock loop.
45 * ntp_gettime - NTP user application interface
56 * ntp_adjtime - NTP daemon application interface
76 * phase-lock loop (PLL) model used in the kernel implementation. These
97 #define SHIFT_KG 6 /* phase factor (shift) */
98 #define SHIFT_KF 16 /* PLL frequency factor (shift) */
99 #define SHIFT_KH 2 /* FLL frequency factor (shift) */
100 #define MAXTC 6 /* maximum time constant (shift) */
105 * possible without overflow of a 32-bit word.
107 * SHIFT_SCALE defines the scaling (shift) of the time_phase variable,
108 * which serves as a an extension to the low-order bits of the system
111 * SHIFT_UPDATE defines the scaling (shift) of the time_offset variable,
115 * SHIFT_USEC defines the scaling (shift) of the time_freq and
121 #define SHIFT_SCALE 22 /* phase scale (shift) */
122 #define SHIFT_UPDATE (SHIFT_KG + MAXTC) /* time offset scale (shift) */
123 #define SHIFT_USEC 16 /* frequency offset scale (shift) */
124 #define FINEUSEC (1L << SHIFT_SCALE) /* 1 us in phase units */
157 #define MAXPHASE 512000L /* max phase error (us) */
169 * The following defines are used only if a pulse-per-second (PPS)
172 * asynch driver. They establish the design parameters of the frequency-
188 #define PPS_AVG 2 /* pps averaging constant (shift) */
189 #define PPS_SHIFT 2 /* min interval duration (s) (shift) */
190 #define PPS_SHIFTMAX 8 /* max interval duration (s) (shift) */
216 #define STA_FLL 0x0008 /* select frequency-lock mode (rw) */
231 STA_PPSERROR | STA_CLOCKERR) /* read-only bits */
244 * NTP user interface (ntp_gettime()) - used to read kernel clock values
256 * NTP daemon interface - (ntp_adjtime()) used to discipline CPU clock
271 * The following read-only structure members are implemented
277 int shift; /* interval duration (s) (shift) (ro) */ member