Lines Matching full:ptp

2  * cxgb4_ptp.c:Chelsio PTP support for T5/T6
54 * cxgb4_ptp_is_ptp_tx - determine whether TX packet is PTP or not
55 * @skb: skb of outgoing ptp request
80 * cxgb4_ptp_is_ptp_rx - determine whether RX packet is PTP or not
81 * @skb: skb of incoming ptp request
94 * cxgb4_ptp_read_hwstamp - read timestamp for TX event PTP message
121 * cxgb4_ptprx_timestamping - Enable Timestamp for RX PTP event message
145 "PTP: %s error %d\n", __func__, -err); in cxgb4_ptprx_timestamping()
166 "PTP: %s error %d\n", __func__, -err); in cxgb4_ptp_txtype()
192 "PTP: %s error %d\n", __func__, -err); in cxgb4_ptp_redirect_rx_packet()
198 * @ptp: ptp clock structure
206 static int cxgb4_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in cxgb4_ptp_adjfine() argument
208 struct adapter *adapter = (struct adapter *)container_of(ptp, in cxgb4_ptp_adjfine()
229 "PTP: %s error %d\n", __func__, -err); in cxgb4_ptp_adjfine()
261 "PTP: %s error %d\n", __func__, -err); in cxgb4_ptp_fineadjtime()
267 * @ptp: ptp clock structure
272 static int cxgb4_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in cxgb4_ptp_adjtime() argument
275 (struct adapter *)container_of(ptp, struct adapter, in cxgb4_ptp_adjtime()
300 "PTP: %s error %d\n", __func__, -err); in cxgb4_ptp_adjtime()
310 * @ptp: ptp clock structure
316 static int cxgb4_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in cxgb4_ptp_gettime() argument
318 struct adapter *adapter = container_of(ptp, struct adapter, in cxgb4_ptp_gettime()
333 * @ptp: ptp clock structure
339 static int cxgb4_ptp_settime(struct ptp_clock_info *ptp, in cxgb4_ptp_settime() argument
342 struct adapter *adapter = (struct adapter *)container_of(ptp, in cxgb4_ptp_settime()
362 "PTP: %s error %d\n", __func__, -err); in cxgb4_ptp_settime()
383 "PTP: %s error %d\n", __func__, -err); in cxgb4_init_ptp_timer()
388 * @ptp: ptp clock structure
395 static int cxgb4_ptp_enable(struct ptp_clock_info __always_unused *ptp, in cxgb4_ptp_enable() argument
418 * cxgb4_ptp_init - initialize PTP for devices which support it
421 * This function performs the required steps for enabling PTP support.
439 "PTP %s Clock registration has failed\n", __func__); in cxgb4_ptp_init()
452 * cxgb4_ptp_stop - disable PTP device and stop the overflow check
455 * Stop the PTP support.