Go to the documentation of this file.
53 #ifndef _UAPI_LINUX_TIMEX_H
54 #define _UAPI_LINUX_TIMEX_H
56 #include <linux/time.h>
90 int :32;
int :32;
int :32;
int :32;
91 int :32;
int :32;
int :32;
int :32;
92 int :32;
int :32;
int :32;
98 #define ADJ_OFFSET 0x0001
99 #define ADJ_FREQUENCY 0x0002
100 #define ADJ_MAXERROR 0x0004
101 #define ADJ_ESTERROR 0x0008
102 #define ADJ_STATUS 0x0010
103 #define ADJ_TIMECONST 0x0020
104 #define ADJ_TAI 0x0080
105 #define ADJ_SETOFFSET 0x0100
106 #define ADJ_MICRO 0x1000
107 #define ADJ_NANO 0x2000
108 #define ADJ_TICK 0x4000
111 #define ADJ_OFFSET_SINGLESHOT 0x8001
112 #define ADJ_OFFSET_SS_READ 0xa001
116 #define MOD_OFFSET ADJ_OFFSET
117 #define MOD_FREQUENCY ADJ_FREQUENCY
118 #define MOD_MAXERROR ADJ_MAXERROR
119 #define MOD_ESTERROR ADJ_ESTERROR
120 #define MOD_STATUS ADJ_STATUS
121 #define MOD_TIMECONST ADJ_TIMECONST
122 #define MOD_TAI ADJ_TAI
123 #define MOD_MICRO ADJ_MICRO
124 #define MOD_NANO ADJ_NANO
130 #define STA_PLL 0x0001
131 #define STA_PPSFREQ 0x0002
132 #define STA_PPSTIME 0x0004
133 #define STA_FLL 0x0008
135 #define STA_INS 0x0010
136 #define STA_DEL 0x0020
137 #define STA_UNSYNC 0x0040
138 #define STA_FREQHOLD 0x0080
140 #define STA_PPSSIGNAL 0x0100
141 #define STA_PPSJITTER 0x0200
142 #define STA_PPSWANDER 0x0400
143 #define STA_PPSERROR 0x0800
145 #define STA_CLOCKERR 0x1000
146 #define STA_NANO 0x2000
147 #define STA_MODE 0x4000
148 #define STA_CLK 0x8000
151 #define STA_RONLY (STA_PPSSIGNAL | STA_PPSJITTER | STA_PPSWANDER | \
152 STA_PPSERROR | STA_CLOCKERR | STA_NANO | STA_MODE | STA_CLK)
163 #define TIME_BAD TIME_ERROR