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
25 static int e1000e_phc_adjfreq(struct ptp_clock_info *ptp, s32 delta) in e1000e_phc_adjfreq() argument
27 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_adjfreq()
36 if ((delta > ptp->max_adj) || (delta <= -1000000000)) in e1000e_phc_adjfreq()
73 * @ptp: ptp clock structure
78 static int e1000e_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) in e1000e_phc_adjtime() argument
80 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_adjtime()
146 * @ptp: ptp clock structure
152 static int e1000e_phc_getcrosststamp(struct ptp_clock_info *ptp, in e1000e_phc_getcrosststamp() argument
155 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_getcrosststamp()
166 * @ptp: ptp clock structure
173 static int e1000e_phc_gettimex(struct ptp_clock_info *ptp, in e1000e_phc_gettimex() argument
177 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_gettimex()
197 * @ptp: ptp clock structure
203 static int e1000e_phc_settime(struct ptp_clock_info *ptp, in e1000e_phc_settime() argument
206 struct e1000_adapter *adapter = container_of(ptp, struct e1000_adapter, in e1000e_phc_settime()
223 * @ptp: ptp clock structure
230 static int e1000e_phc_enable(struct ptp_clock_info __always_unused *ptp, in e1000e_phc_enable() argument
271 * e1000e_ptp_init - initialize PTP for devices which support it
274 * This function performs the required steps for enabling PTP support.
275 * 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.