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()
135 * @ptp: ptp clock structure
141 static int e1000e_phc_getcrosststamp(struct ptp_clock_info *ptp, in e1000e_phc_getcrosststamp() argument
144 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_getcrosststamp()
155 * @ptp: ptp clock structure
162 static int e1000e_phc_gettimex(struct ptp_clock_info *ptp, in e1000e_phc_gettimex() argument
166 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_gettimex()
186 * @ptp: ptp clock structure
192 static int e1000e_phc_settime(struct ptp_clock_info *ptp, in e1000e_phc_settime() argument
195 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_settime()
212 * @ptp: ptp clock structure
219 static int e1000e_phc_enable(struct ptp_clock_info __always_unused *ptp, in e1000e_phc_enable() argument
260 * e1000e_ptp_init - initialize PTP for devices which support it
263 * This function performs the required steps for enabling PTP support.
264 * If PTP support has already been loaded it simply calls the cyclecounter
339 * e1000e_ptp_remove - disable PTP device and stop the overflow check
342 * Stop the PTP support, and cancel the delayed work.