Lines Matching refs:ptp_clock_info
57 * struct ptp_clock_info - describes a PTP hardware clock
160 * Drivers should embed their ptp_clock_info within a private
166 struct ptp_clock_info {
176 int (*adjfine)(struct ptp_clock_info *ptp, long scaled_ppm);
177 int (*adjphase)(struct ptp_clock_info *ptp, s32 phase);
178 s32 (*getmaxphase)(struct ptp_clock_info *ptp);
179 int (*adjtime)(struct ptp_clock_info *ptp, s64 delta);
180 int (*gettime64)(struct ptp_clock_info *ptp, struct timespec64 *ts);
181 int (*gettimex64)(struct ptp_clock_info *ptp, struct timespec64 *ts,
183 int (*getcrosststamp)(struct ptp_clock_info *ptp,
185 int (*settime64)(struct ptp_clock_info *p, const struct timespec64 *ts);
186 int (*getcycles64)(struct ptp_clock_info *ptp, struct timespec64 *ts);
187 int (*getcyclesx64)(struct ptp_clock_info *ptp, struct timespec64 *ts,
189 int (*getcrosscycles)(struct ptp_clock_info *ptp,
191 int (*enable)(struct ptp_clock_info *ptp,
193 int (*verify)(struct ptp_clock_info *ptp, unsigned int pin,
195 long (*do_aux_work)(struct ptp_clock_info *ptp);
314 extern struct ptp_clock *ptp_clock_register(struct ptp_clock_info *info,
349 * ptp_clock_info::enable() callback, and so drivers may call this
368 * ptp_clock_info::enable() method.
398 static inline struct ptp_clock *ptp_clock_register(struct ptp_clock_info *info,