Lines Matching refs:ptp_info
93 static int cavium_ptp_adjfine(struct ptp_clock_info *ptp_info, long scaled_ppm) in cavium_ptp_adjfine() argument
96 container_of(ptp_info, struct cavium_ptp, ptp_info); in cavium_ptp_adjfine()
140 static int cavium_ptp_adjtime(struct ptp_clock_info *ptp_info, s64 delta) in cavium_ptp_adjtime() argument
143 container_of(ptp_info, struct cavium_ptp, ptp_info); in cavium_ptp_adjtime()
161 static int cavium_ptp_gettime(struct ptp_clock_info *ptp_info, in cavium_ptp_gettime() argument
165 container_of(ptp_info, struct cavium_ptp, ptp_info); in cavium_ptp_gettime()
183 static int cavium_ptp_settime(struct ptp_clock_info *ptp_info, in cavium_ptp_settime() argument
187 container_of(ptp_info, struct cavium_ptp, ptp_info); in cavium_ptp_settime()
206 static int cavium_ptp_enable(struct ptp_clock_info *ptp_info, in cavium_ptp_enable() argument
261 clock->ptp_info = (struct ptp_clock_info) { in cavium_ptp_probe()
282 clock->ptp_clock = ptp_clock_register(&clock->ptp_info, dev); in cavium_ptp_probe()