Go to the documentation of this file.
25 #include <linux/types.h>
27 #define PPS_VERSION "5.3.6"
28 #define PPS_MAX_SOURCES 16
38 #define PPS_API_VERS_1 1
39 #define PPS_API_VERS PPS_API_VERS_1
40 #define PPS_MAX_NAME_LEN 32
58 #define PPS_TIME_INVALID (1<<0)
80 #define PPS_CAPTUREASSERT 0x01
81 #define PPS_CAPTURECLEAR 0x02
82 #define PPS_CAPTUREBOTH 0x03
84 #define PPS_OFFSETASSERT 0x10
85 #define PPS_OFFSETCLEAR 0x20
87 #define PPS_CANWAIT 0x100
88 #define PPS_CANPOLL 0x200
91 #define PPS_ECHOASSERT 0x40
92 #define PPS_ECHOCLEAR 0x80
95 #define PPS_TSFMT_TSPEC 0x1000
96 #define PPS_TSFMT_NTPFP 0x2000
103 #define PPS_KC_HARDPPS 0
104 #define PPS_KC_HARDPPS_PLL 1
106 #define PPS_KC_HARDPPS_FLL 2
125 #define PPS_GETPARAMS _IOR('p', 0xa1, struct pps_kparams *)
126 #define PPS_SETPARAMS _IOW('p', 0xa2, struct pps_kparams *)
127 #define PPS_GETCAP _IOR('p', 0xa3, int *)
128 #define PPS_FETCH _IOWR('p', 0xa4, struct pps_fdata *)
129 #define PPS_KC_BIND _IOW('p', 0xa5, struct pps_bind_args *)