Lines Matching refs:ptp
85 static struct mvpp2_tai *ptp_to_tai(struct ptp_clock_info *ptp) in ptp_to_tai() argument
87 return container_of(ptp, struct mvpp2_tai, caps); in ptp_to_tai()
164 static int mvpp22_tai_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in mvpp22_tai_adjfine() argument
166 struct mvpp2_tai *tai = ptp_to_tai(ptp); in mvpp22_tai_adjfine()
205 static int mvpp22_tai_adjtime(struct ptp_clock_info *ptp, s64 delta) in mvpp22_tai_adjtime() argument
207 struct mvpp2_tai *tai = ptp_to_tai(ptp); in mvpp22_tai_adjtime()
235 static int mvpp22_tai_gettimex64(struct ptp_clock_info *ptp, in mvpp22_tai_gettimex64() argument
239 struct mvpp2_tai *tai = ptp_to_tai(ptp); in mvpp22_tai_gettimex64()
276 static int mvpp22_tai_settime64(struct ptp_clock_info *ptp, in mvpp22_tai_settime64() argument
279 struct mvpp2_tai *tai = ptp_to_tai(ptp); in mvpp22_tai_settime64()
302 static long mvpp22_tai_aux_work(struct ptp_clock_info *ptp) in mvpp22_tai_aux_work() argument
304 struct mvpp2_tai *tai = ptp_to_tai(ptp); in mvpp22_tai_aux_work()
306 mvpp22_tai_gettimex64(ptp, &tai->stamp, NULL); in mvpp22_tai_aux_work()