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
204 static int cxgb4_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in cxgb4_ptp_adjfreq() argument
206 struct adapter *adapter = (struct adapter *)container_of(ptp, in cxgb4_ptp_adjfreq()
226 "PTP: %s error %d\n", __func__, -err); in cxgb4_ptp_adjfreq()
258 "PTP: %s error %d\n", __func__, -err); in cxgb4_ptp_fineadjtime()
264 * @ptp: ptp clock structure
269 static int cxgb4_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in cxgb4_ptp_adjtime() argument
272 (struct adapter *)container_of(ptp, struct adapter, in cxgb4_ptp_adjtime()
297 "PTP: %s error %d\n", __func__, -err); in cxgb4_ptp_adjtime()
307 * @ptp: ptp clock structure
313 static int cxgb4_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in cxgb4_ptp_gettime() argument
315 struct adapter *adapter = container_of(ptp, struct adapter, in cxgb4_ptp_gettime()
330 * @ptp: ptp clock structure
336 static int cxgb4_ptp_settime(struct ptp_clock_info *ptp, in cxgb4_ptp_settime() argument
339 struct adapter *adapter = (struct adapter *)container_of(ptp, in cxgb4_ptp_settime()
359 "PTP: %s error %d\n", __func__, -err); in cxgb4_ptp_settime()
380 "PTP: %s error %d\n", __func__, -err); in cxgb4_init_ptp_timer()
385 * @ptp: ptp clock structure
392 static int cxgb4_ptp_enable(struct ptp_clock_info __always_unused *ptp, in cxgb4_ptp_enable() argument
415 * cxgb4_ptp_init - initialize PTP for devices which support it
418 * This function performs the required steps for enabling PTP support.
436 "PTP %s Clock registration has failed\n", __func__); in cxgb4_ptp_init()
449 * cxgb4_ptp_remove - disable PTP device and stop the overflow check
452 * Stop the PTP support.