Lines Matching full:ptp
9 #include "ptp.h"
34 IWL_DEBUG_PTP(mld, "PTP: last_gp2=%u, new gp2 read=%u\n", in iwl_mld_ptp_update_new_read()
44 "PTP: ignore old read (gp2=%u, last_gp2=%u)\n", in iwl_mld_ptp_update_new_read()
51 "PTP: wraparound detected (new counter=%u)\n", in iwl_mld_ptp_update_new_read()
102 static int iwl_mld_ptp_gettime(struct ptp_clock_info *ptp, in iwl_mld_ptp_gettime() argument
105 struct iwl_mld *mld = container_of(ptp, struct iwl_mld, in iwl_mld_ptp_gettime()
112 IWL_DEBUG_PTP(mld, "PTP: gettime: failed to read systime\n"); in iwl_mld_ptp_gettime()
124 static int iwl_mld_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in iwl_mld_ptp_adjtime() argument
126 struct iwl_mld *mld = container_of(ptp, struct iwl_mld, in iwl_mld_ptp_adjtime()
138 static int iwl_mld_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in iwl_mld_ptp_adjfine() argument
140 struct iwl_mld *mld = container_of(ptp, struct iwl_mld, in iwl_mld_ptp_adjfine()
184 IWL_DEBUG_PTP(mld, "PTP work: failed to read GP2\n"); in iwl_mld_ptp_work()
214 IWL_DEBUG_PTP(mld, "PTP: Invalid PTM command response\n"); in iwl_mld_get_crosstimestamp_fw()
233 iwl_mld_phc_get_crosstimestamp(struct ptp_clock_info *ptp, in iwl_mld_phc_get_crosstimestamp() argument
236 struct iwl_mld *mld = container_of(ptp, struct iwl_mld, in iwl_mld_phc_get_crosstimestamp()
252 "PTP: fw get_crosstimestamp failed (ret=%d)\n", in iwl_mld_phc_get_crosstimestamp()
292 "%s", "iwlwifi-PTP"); in iwl_mld_ptp_init()