Lines Matching full:ptp
4 /* PTP 1588 Hardware Clock (PHC)
5 * Derived from PTP Hardware Clock driver for Intel 82576 and 82580 (igb)
19 * @ptp: ptp clock structure
27 static int e1000e_phc_adjfine(struct ptp_clock_info *ptp, long delta) in e1000e_phc_adjfine() argument
29 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_adjfine()
61 * @ptp: ptp clock structure
66 static int e1000e_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) in e1000e_phc_adjtime() argument
68 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_adjtime()
134 * @ptp: ptp clock structure
140 static int e1000e_phc_getcrosststamp(struct ptp_clock_info *ptp, in e1000e_phc_getcrosststamp() argument
143 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_getcrosststamp()
154 * @ptp: ptp clock structure
161 static int e1000e_phc_gettimex(struct ptp_clock_info *ptp, in e1000e_phc_gettimex() argument
165 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_gettimex()
185 * @ptp: ptp clock structure
191 static int e1000e_phc_settime(struct ptp_clock_info *ptp, in e1000e_phc_settime() argument
194 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_settime()
211 * @ptp: ptp clock structure
218 static int e1000e_phc_enable(struct ptp_clock_info __always_unused *ptp, in e1000e_phc_enable() argument
259 * e1000e_ptp_init - initialize PTP for devices which support it
262 * This function performs the required steps for enabling PTP support.
263 * If PTP support has already been loaded it simply calls the cyclecounter
338 * e1000e_ptp_remove - disable PTP device and stop the overflow check
341 * Stop the PTP support, and cancel the delayed work.