Home
last modified time | relevance | path

Searched defs:ptp (Results 1 – 25 of 63) sorted by relevance

123

/Linux-v5.4/drivers/net/ethernet/microchip/
Dlan743x_ptp.c67 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_tx_ts_enqueue_ts() local
84 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_tx_ts_complete() local
144 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_reserve_event_ch() local
163 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_release_event_ch() local
264 struct lan743x_ptp *ptp = in lan743x_ptpci_adjfine() local
297 struct lan743x_ptp *ptp = in lan743x_ptpci_adjfreq() local
331 struct lan743x_ptp *ptp = in lan743x_ptpci_adjtime() local
344 struct lan743x_ptp *ptp = in lan743x_ptpci_gettime64() local
361 struct lan743x_ptp *ptp = in lan743x_ptpci_settime64() local
396 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_perout_off() local
[all …]
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c65 struct qede_ptp *ptp = container_of(info, struct qede_ptp, clock_info); in qede_ptp_adjfreq() local
86 struct qede_ptp *ptp; in qede_ptp_adjtime() local
104 struct qede_ptp *ptp; in qede_ptp_gettime() local
125 struct qede_ptp *ptp; in qede_ptp_settime() local
149 struct qede_ptp *ptp; in qede_ptp_ancillary_feature_enable() local
163 struct qede_ptp *ptp; in qede_ptp_task() local
209 struct qede_ptp *ptp; in qede_ptp_read_cc() local
228 struct qede_ptp *ptp = edev->ptp; in qede_ptp_cfg_filters() local
317 struct qede_ptp *ptp; in qede_ptp_hw_ts() local
352 struct qede_ptp *ptp = edev->ptp; in qede_ptp_get_ts_info() local
[all …]
/Linux-v5.4/drivers/ptp/
Dptp_clock.c98 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_clock_settime() local
105 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_clock_gettime() local
117 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_clock_adjtime() local
171 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in delete_ptp_clock() local
181 struct ptp_clock *ptp = container_of(work, struct ptp_clock, in ptp_aux_kworker() local
197 struct ptp_clock *ptp; in ptp_clock_register() local
293 int ptp_clock_unregister(struct ptp_clock *ptp) in ptp_clock_unregister()
315 void ptp_clock_event(struct ptp_clock *ptp, struct ptp_clock_event *event) in ptp_clock_event()
342 int ptp_clock_index(struct ptp_clock *ptp) in ptp_clock_index()
348 int ptp_find_pin(struct ptp_clock *ptp, in ptp_find_pin()
[all …]
Dptp_sysfs.c15 struct ptp_clock *ptp = dev_get_drvdata(dev); in clock_name_show() local
40 struct ptp_clock *ptp = dev_get_drvdata(dev); in extts_enable_store() local
65 struct ptp_clock *ptp = dev_get_drvdata(dev); in extts_fifo_show() local
100 struct ptp_clock *ptp = dev_get_drvdata(dev); in period_store() local
128 struct ptp_clock *ptp = dev_get_drvdata(dev); in pps_enable_store() local
172 struct ptp_clock *ptp = dev_get_drvdata(dev); in ptp_is_attribute_visible() local
201 static int ptp_pin_name2index(struct ptp_clock *ptp, const char *name) in ptp_pin_name2index()
214 struct ptp_clock *ptp = dev_get_drvdata(dev); in ptp_pin_show() local
236 struct ptp_clock *ptp = dev_get_drvdata(dev); in ptp_pin_store() local
258 int ptp_populate_pin_groups(struct ptp_clock *ptp) in ptp_populate_pin_groups()
[all …]
Dptp_kvm.c85 static int ptp_kvm_getcrosststamp(struct ptp_clock_info *ptp, in ptp_kvm_getcrosststamp()
96 static int ptp_kvm_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_kvm_adjfreq()
101 static int ptp_kvm_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_kvm_adjtime()
106 static int ptp_kvm_settime(struct ptp_clock_info *ptp, in ptp_kvm_settime()
112 static int ptp_kvm_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_kvm_gettime()
137 static int ptp_kvm_enable(struct ptp_clock_info *ptp, in ptp_kvm_enable()
Dptp_ixp46x.c123 static int ptp_ixp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_ixp_adjfreq()
147 static int ptp_ixp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_ixp_adjtime()
165 static int ptp_ixp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_ixp_gettime()
182 static int ptp_ixp_settime(struct ptp_clock_info *ptp, in ptp_ixp_settime()
201 static int ptp_ixp_enable(struct ptp_clock_info *ptp, in ptp_ixp_enable()
Dptp_chardev.c48 int ptp_set_pinfunc(struct ptp_clock *ptp, unsigned int pin, in ptp_set_pinfunc()
111 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_ioctl() local
390 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_poll() local
402 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_read() local
Dptp_dte.c147 static int ptp_dte_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_dte_adjfreq()
170 static int ptp_dte_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_dte_adjtime()
182 static int ptp_dte_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_dte_gettime()
194 static int ptp_dte_settime(struct ptp_clock_info *ptp, in ptp_dte_settime()
219 static int ptp_dte_enable(struct ptp_clock_info *ptp, in ptp_dte_enable()
Dptp_qoriq.c195 int ptp_qoriq_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ptp_qoriq_adjfine()
225 int ptp_qoriq_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_qoriq_adjtime()
244 int ptp_qoriq_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_qoriq_gettime()
262 int ptp_qoriq_settime(struct ptp_clock_info *ptp, in ptp_qoriq_settime()
282 int ptp_qoriq_enable(struct ptp_clock_info *ptp, in ptp_qoriq_enable()
/Linux-v5.4/drivers/net/ethernet/intel/e1000e/
Dptp.c25 static int e1000e_phc_adjfreq(struct ptp_clock_info *ptp, s32 delta) in e1000e_phc_adjfreq()
78 static int e1000e_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) in e1000e_phc_adjtime()
152 static int e1000e_phc_getcrosststamp(struct ptp_clock_info *ptp, in e1000e_phc_getcrosststamp()
173 static int e1000e_phc_gettimex(struct ptp_clock_info *ptp, in e1000e_phc_gettimex()
203 static int e1000e_phc_settime(struct ptp_clock_info *ptp, in e1000e_phc_settime()
230 static int e1000e_phc_enable(struct ptp_clock_info __always_unused *ptp, in e1000e_phc_enable()
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c21 static int stmmac_adjust_freq(struct ptp_clock_info *ptp, s32 ppb) in stmmac_adjust_freq()
56 static int stmmac_adjust_time(struct ptp_clock_info *ptp, s64 delta) in stmmac_adjust_time()
93 static int stmmac_get_time(struct ptp_clock_info *ptp, struct timespec64 *ts) in stmmac_get_time()
118 static int stmmac_set_time(struct ptp_clock_info *ptp, in stmmac_set_time()
132 static int stmmac_enable(struct ptp_clock_info *ptp, in stmmac_enable()
/Linux-v5.4/drivers/net/ethernet/renesas/
Dravb_ptp.c91 static int ravb_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ravb_ptp_adjfreq()
127 static int ravb_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ravb_ptp_adjtime()
148 static int ravb_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts) in ravb_ptp_gettime64()
162 static int ravb_ptp_settime64(struct ptp_clock_info *ptp, in ravb_ptp_settime64()
177 static int ravb_ptp_extts(struct ptp_clock_info *ptp, in ravb_ptp_extts()
211 static int ravb_ptp_perout(struct ptp_clock_info *ptp, in ravb_ptp_perout()
277 static int ravb_ptp_enable(struct ptp_clock_info *ptp, in ravb_ptp_enable()
/Linux-v5.4/drivers/net/ethernet/sfc/
Dptp.c559 struct efx_ptp_data *ptp, in efx_ptp_mac_nic_to_ktime_correction()
580 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_nic_to_kernel_time() local
601 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_get_attributes() local
829 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_send_times() local
900 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_process_times() local
995 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_synchronize() local
1122 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_drop_time_expired_events() local
1150 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_match_rx() local
1198 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_process_events() local
1232 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_remove_multicast_filters() local
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c143 static int mlx5_ptp_settime(struct ptp_clock_info *ptp, in mlx5_ptp_settime()
159 static int mlx5_ptp_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, in mlx5_ptp_gettimex()
179 static int mlx5_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in mlx5_ptp_adjtime()
193 static int mlx5_ptp_adjfreq(struct ptp_clock_info *ptp, s32 delta) in mlx5_ptp_adjfreq()
221 static int mlx5_extts_configure(struct ptp_clock_info *ptp, in mlx5_extts_configure()
283 static int mlx5_perout_configure(struct ptp_clock_info *ptp, in mlx5_perout_configure()
363 static int mlx5_pps_configure(struct ptp_clock_info *ptp, in mlx5_pps_configure()
374 static int mlx5_ptp_enable(struct ptp_clock_info *ptp, in mlx5_ptp_enable()
391 static int mlx5_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, in mlx5_ptp_verify()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_clock.c121 static int mlx4_en_phc_adjfreq(struct ptp_clock_info *ptp, s32 delta) in mlx4_en_phc_adjfreq()
154 static int mlx4_en_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) in mlx4_en_phc_adjtime()
175 static int mlx4_en_phc_gettime(struct ptp_clock_info *ptp, in mlx4_en_phc_gettime()
200 static int mlx4_en_phc_settime(struct ptp_clock_info *ptp, in mlx4_en_phc_settime()
225 static int mlx4_en_phc_enable(struct ptp_clock_info __always_unused *ptp, in mlx4_en_phc_enable()
/Linux-v5.4/drivers/net/ethernet/intel/igb/
Digb_ptp.c194 static int igb_ptp_adjfreq_82576(struct ptp_clock_info *ptp, s32 ppb) in igb_ptp_adjfreq_82576()
223 static int igb_ptp_adjfine_82580(struct ptp_clock_info *ptp, long scaled_ppm) in igb_ptp_adjfine_82580()
249 static int igb_ptp_adjtime_82576(struct ptp_clock_info *ptp, s64 delta) in igb_ptp_adjtime_82576()
262 static int igb_ptp_adjtime_i210(struct ptp_clock_info *ptp, s64 delta) in igb_ptp_adjtime_i210()
280 static int igb_ptp_gettimex_82576(struct ptp_clock_info *ptp, in igb_ptp_gettimex_82576()
307 static int igb_ptp_gettimex_82580(struct ptp_clock_info *ptp, in igb_ptp_gettimex_82580()
335 static int igb_ptp_gettimex_i210(struct ptp_clock_info *ptp, in igb_ptp_gettimex_i210()
357 static int igb_ptp_settime_82576(struct ptp_clock_info *ptp, in igb_ptp_settime_82576()
376 static int igb_ptp_settime_i210(struct ptp_clock_info *ptp, in igb_ptp_settime_i210()
510 static int igb_ptp_feature_enable_i210(struct ptp_clock_info *ptp, in igb_ptp_feature_enable_i210()
[all …]
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ptp.c203 static int cxgb4_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in cxgb4_ptp_adjfreq()
265 static int cxgb4_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in cxgb4_ptp_adjtime()
309 static int cxgb4_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in cxgb4_ptp_gettime()
347 static int cxgb4_ptp_settime(struct ptp_clock_info *ptp, in cxgb4_ptp_settime()
403 static int cxgb4_ptp_enable(struct ptp_clock_info __always_unused *ptp, in cxgb4_ptp_enable()
/Linux-v5.4/drivers/net/dsa/mv88e6xxx/
Dptp.c199 static int mv88e6xxx_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in mv88e6xxx_ptp_adjfine()
227 static int mv88e6xxx_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in mv88e6xxx_ptp_adjtime()
238 static int mv88e6xxx_ptp_gettime(struct ptp_clock_info *ptp, in mv88e6xxx_ptp_gettime()
253 static int mv88e6xxx_ptp_settime(struct ptp_clock_info *ptp, in mv88e6xxx_ptp_settime()
321 static int mv88e6352_ptp_enable(struct ptp_clock_info *ptp, in mv88e6352_ptp_enable()
334 static int mv88e6352_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, in mv88e6352_ptp_verify()
/Linux-v5.4/drivers/net/ethernet/cavium/common/
Dcavium_ptp.h32 static inline u64 cavium_ptp_tstamp2time(struct cavium_ptp *ptp, u64 tstamp) in cavium_ptp_tstamp2time()
56 static inline void cavium_ptp_put(struct cavium_ptp *ptp) {} in cavium_ptp_put()
58 static inline u64 cavium_ptp_tstamp2time(struct cavium_ptp *ptp, u64 tstamp) in cavium_ptp_tstamp2time()
/Linux-v5.4/include/linux/
Dptp_clock_kernel.h250 static inline int ptp_clock_unregister(struct ptp_clock *ptp) in ptp_clock_unregister()
252 static inline void ptp_clock_event(struct ptp_clock *ptp, in ptp_clock_event()
255 static inline int ptp_clock_index(struct ptp_clock *ptp) in ptp_clock_index()
257 static inline int ptp_find_pin(struct ptp_clock *ptp, in ptp_find_pin()
260 static inline int ptp_schedule_worker(struct ptp_clock *ptp, in ptp_schedule_worker()
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c101 static int i40e_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in i40e_ptp_adjfreq()
145 static int i40e_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in i40e_ptp_adjtime()
171 static int i40e_ptp_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, in i40e_ptp_gettimex()
191 static int i40e_ptp_settime(struct ptp_clock_info *ptp, in i40e_ptp_settime()
212 static int i40e_ptp_feature_enable(struct ptp_clock_info *ptp, in i40e_ptp_feature_enable()
/Linux-v5.4/drivers/net/ethernet/cadence/
Dmacb_ptp.c41 static int gem_tsu_get_time(struct ptp_clock_info *ptp, struct timespec64 *ts) in gem_tsu_get_time()
72 static int gem_tsu_set_time(struct ptp_clock_info *ptp, in gem_tsu_set_time()
117 static int gem_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in gem_ptp_adjfine()
152 static int gem_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in gem_ptp_adjtime()
178 static int gem_ptp_enable(struct ptp_clock_info *ptp, in gem_ptp_enable()
/Linux-v5.4/drivers/net/ethernet/ti/
Dcpts.c216 static int cpts_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in cpts_ptp_adjfreq()
244 static int cpts_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in cpts_ptp_adjtime()
256 static int cpts_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in cpts_ptp_gettime()
271 static int cpts_ptp_settime(struct ptp_clock_info *ptp, in cpts_ptp_settime()
287 static int cpts_ptp_enable(struct ptp_clock_info *ptp, in cpts_ptp_enable()
293 static long cpts_overflow_check(struct ptp_clock_info *ptp) in cpts_overflow_check()
/Linux-v5.4/drivers/net/dsa/sja1105/
Dsja1105_ptp.c239 static int sja1105_ptp_gettime(struct ptp_clock_info *ptp, in sja1105_ptp_gettime()
254 static int sja1105_ptp_settime(struct ptp_clock_info *ptp, in sja1105_ptp_settime()
267 static int sja1105_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in sja1105_ptp_adjfine()
312 static int sja1105_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in sja1105_ptp_adjtime()
/Linux-v5.4/drivers/net/ethernet/freescale/
Dfec_ptp.c288 static int fec_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in fec_ptp_adjfreq()
357 static int fec_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in fec_ptp_adjtime()
378 static int fec_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in fec_ptp_gettime()
402 static int fec_ptp_settime(struct ptp_clock_info *ptp, in fec_ptp_settime()
440 static int fec_ptp_enable(struct ptp_clock_info *ptp, in fec_ptp_enable()

123