Lines Matching refs:ptp_clock
13 #include <linux/ptp_clock.h>
198 struct ptp_clock;
314 extern struct ptp_clock *ptp_clock_register(struct ptp_clock_info *info,
323 extern int ptp_clock_unregister(struct ptp_clock *ptp);
332 extern void ptp_clock_event(struct ptp_clock *ptp,
341 extern int ptp_clock_index(struct ptp_clock *ptp);
346 * The caller must hold ptp_clock::pincfg_mux. Drivers do not have
347 * access to that mutex as ptp_clock is an opaque type. However, the
359 int ptp_find_pin(struct ptp_clock *ptp,
365 * This function acquires the ptp_clock::pincfg_mux mutex before
377 int ptp_find_pin_unlocked(struct ptp_clock *ptp,
388 int ptp_schedule_worker(struct ptp_clock *ptp, unsigned long delay);
395 void ptp_cancel_worker_sync(struct ptp_clock *ptp);
398 static inline struct ptp_clock *ptp_clock_register(struct ptp_clock_info *info,
401 static inline int ptp_clock_unregister(struct ptp_clock *ptp)
403 static inline void ptp_clock_event(struct ptp_clock *ptp,
406 static inline int ptp_clock_index(struct ptp_clock *ptp)
408 static inline int ptp_find_pin(struct ptp_clock *ptp,
411 static inline int ptp_find_pin_unlocked(struct ptp_clock *ptp,
415 static inline int ptp_schedule_worker(struct ptp_clock *ptp,
418 static inline void ptp_cancel_worker_sync(struct ptp_clock *ptp)