Go to the documentation of this file.
25 #include <linux/types.h>
28 #define PTP_ENABLE_FEATURE (1<<0)
29 #define PTP_RISING_EDGE (1<<1)
30 #define PTP_FALLING_EDGE (1<<2)
70 #define PTP_CLK_MAGIC '='
72 #define PTP_CLOCK_GETCAPS _IOR(PTP_CLK_MAGIC, 1, struct ptp_clock_caps)
73 #define PTP_EXTTS_REQUEST _IOW(PTP_CLK_MAGIC, 2, struct ptp_extts_request)
74 #define PTP_PEROUT_REQUEST _IOW(PTP_CLK_MAGIC, 3, struct ptp_perout_request)
75 #define PTP_ENABLE_PPS _IOW(PTP_CLK_MAGIC, 4, int)