Lines Matching refs:ptp_info
40 static int otx2_ptp_adjfine(struct ptp_clock_info *ptp_info, long scaled_ppm) in otx2_ptp_adjfine() argument
42 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_adjfine()
43 ptp_info); in otx2_ptp_adjfine()
136 static int otx2_ptp_adjtime(struct ptp_clock_info *ptp_info, s64 delta) in otx2_ptp_adjtime() argument
138 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_adjtime()
139 ptp_info); in otx2_ptp_adjtime()
149 static int otx2_ptp_gettime(struct ptp_clock_info *ptp_info, in otx2_ptp_gettime() argument
152 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_gettime()
153 ptp_info); in otx2_ptp_gettime()
162 static int otx2_ptp_settime(struct ptp_clock_info *ptp_info, in otx2_ptp_settime() argument
165 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_settime()
166 ptp_info); in otx2_ptp_settime()
238 static int otx2_ptp_enable(struct ptp_clock_info *ptp_info, in otx2_ptp_enable() argument
241 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_enable()
242 ptp_info); in otx2_ptp_enable()
318 ptp_ptr->ptp_info = (struct ptp_clock_info) { in otx2_ptp_init()
336 ptp_ptr->ptp_clock = ptp_clock_register(&ptp_ptr->ptp_info, pfvf->dev); in otx2_ptp_init()