Lines Matching full:ptp

3  * PTP 1588 clock support
39 * struct ptp_clock_info - describes a PTP hardware clock
99 * @verify: Confirm that a pin can perform a given function. The PTP
132 int (*adjfine)(struct ptp_clock_info *ptp, long scaled_ppm);
133 int (*adjfreq)(struct ptp_clock_info *ptp, s32 delta);
134 int (*adjphase)(struct ptp_clock_info *ptp, s32 phase);
135 int (*adjtime)(struct ptp_clock_info *ptp, s64 delta);
136 int (*gettime64)(struct ptp_clock_info *ptp, struct timespec64 *ts);
137 int (*gettimex64)(struct ptp_clock_info *ptp, struct timespec64 *ts,
139 int (*getcrosststamp)(struct ptp_clock_info *ptp,
142 int (*enable)(struct ptp_clock_info *ptp,
144 int (*verify)(struct ptp_clock_info *ptp, unsigned int pin,
146 long (*do_aux_work)(struct ptp_clock_info *ptp);
159 * struct ptp_clock_event - decribes a PTP hardware clock event
179 * ptp_clock_register() - register a PTP hardware clock driver
194 * ptp_clock_unregister() - unregister a PTP hardware clock driver
196 * @ptp: The clock to remove from service.
199 extern int ptp_clock_unregister(struct ptp_clock *ptp);
202 * ptp_clock_event() - notify the PTP layer about an event
204 * @ptp: The clock obtained from ptp_clock_register().
208 extern void ptp_clock_event(struct ptp_clock *ptp,
212 * ptp_clock_index() - obtain the device index of a PTP clock
214 * @ptp: The clock obtained from ptp_clock_register().
217 extern int ptp_clock_index(struct ptp_clock *ptp);
236 * @ptp: The clock obtained from ptp_clock_register().
243 int ptp_find_pin(struct ptp_clock *ptp,
256 int ptp_find_pin_unlocked(struct ptp_clock *ptp,
260 * ptp_schedule_worker() - schedule ptp auxiliary work
262 * @ptp: The clock obtained from ptp_clock_register().
267 int ptp_schedule_worker(struct ptp_clock *ptp, unsigned long delay);
270 * ptp_cancel_worker_sync() - cancel ptp auxiliary clock
272 * @ptp: The clock obtained from ptp_clock_register().
274 void ptp_cancel_worker_sync(struct ptp_clock *ptp);
280 static inline int ptp_clock_unregister(struct ptp_clock *ptp) in ptp_clock_unregister() argument
282 static inline void ptp_clock_event(struct ptp_clock *ptp, in ptp_clock_event() argument
285 static inline int ptp_clock_index(struct ptp_clock *ptp) in ptp_clock_index() argument
287 static inline int ptp_find_pin(struct ptp_clock *ptp, in ptp_find_pin() argument
290 static inline int ptp_schedule_worker(struct ptp_clock *ptp, in ptp_schedule_worker() argument
293 static inline void ptp_cancel_worker_sync(struct ptp_clock *ptp) in ptp_cancel_worker_sync() argument