Lines Matching refs:ptp
11 int ocelot_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts) in ocelot_ptp_gettime64() argument
13 struct ocelot *ocelot = container_of(ptp, struct ocelot, ptp_info); in ocelot_ptp_gettime64()
45 int ocelot_ptp_settime64(struct ptp_clock_info *ptp, in ocelot_ptp_settime64() argument
48 struct ocelot *ocelot = container_of(ptp, struct ocelot, ptp_info); in ocelot_ptp_settime64()
77 int ocelot_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ocelot_ptp_adjtime() argument
80 struct ocelot *ocelot = container_of(ptp, struct ocelot, in ocelot_ptp_adjtime()
111 ocelot_ptp_gettime64(ptp, &ts); in ocelot_ptp_adjtime()
116 ocelot_ptp_settime64(ptp, &ts); in ocelot_ptp_adjtime()
122 int ocelot_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ocelot_ptp_adjfine() argument
124 struct ocelot *ocelot = container_of(ptp, struct ocelot, ptp_info); in ocelot_ptp_adjfine()
168 int ocelot_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, in ocelot_ptp_verify() argument
183 int ocelot_ptp_enable(struct ptp_clock_info *ptp, in ocelot_ptp_enable() argument
186 struct ocelot *ocelot = container_of(ptp, struct ocelot, ptp_info); in ocelot_ptp_enable()