Home
last modified time | relevance | path

Searched defs:ptp (Results 26 – 50 of 112) sorted by relevance

12345

/Linux-v6.6/drivers/net/dsa/hirschmann/
Dhellcreek_ptp.c84 static int hellcreek_ptp_gettime(struct ptp_clock_info *ptp, in hellcreek_ptp_gettime()
99 static int hellcreek_ptp_settime(struct ptp_clock_info *ptp, in hellcreek_ptp_settime()
127 static int hellcreek_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in hellcreek_ptp_adjfine()
174 static int hellcreek_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in hellcreek_ptp_adjtime()
222 static int hellcreek_ptp_enable(struct ptp_clock_info *ptp, in hellcreek_ptp_enable()
/Linux-v6.6/drivers/net/dsa/mv88e6xxx/
Dptp.c200 static int mv88e6xxx_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in mv88e6xxx_ptp_adjfine()
228 static int mv88e6xxx_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in mv88e6xxx_ptp_adjtime()
239 static int mv88e6xxx_ptp_gettime(struct ptp_clock_info *ptp, in mv88e6xxx_ptp_gettime()
254 static int mv88e6xxx_ptp_settime(struct ptp_clock_info *ptp, in mv88e6xxx_ptp_settime()
322 static int mv88e6352_ptp_enable(struct ptp_clock_info *ptp, in mv88e6352_ptp_enable()
335 static int mv88e6352_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, in mv88e6352_ptp_verify()
/Linux-v6.6/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-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Dptp.c150 iwl_mvm_phc_get_crosstimestamp(struct ptp_clock_info *ptp, in iwl_mvm_phc_get_crosstimestamp()
206 static int iwl_mvm_ptp_gettime(struct ptp_clock_info *ptp, in iwl_mvm_ptp_gettime()
223 static int iwl_mvm_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in iwl_mvm_ptp_adjtime()
238 static int iwl_mvm_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in iwl_mvm_ptp_adjfine()
/Linux-v6.6/drivers/ptp/
Dptp_dte.c137 static int ptp_dte_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ptp_dte_adjfine()
161 static int ptp_dte_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_dte_adjtime()
173 static int ptp_dte_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_dte_gettime()
185 static int ptp_dte_settime(struct ptp_clock_info *ptp, in ptp_dte_settime()
210 static int ptp_dte_enable(struct ptp_clock_info *ptp, in ptp_dte_enable()
Dptp_qoriq.c202 int ptp_qoriq_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ptp_qoriq_adjfine()
233 int ptp_qoriq_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_qoriq_adjtime()
261 int ptp_qoriq_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_qoriq_gettime()
279 int ptp_qoriq_settime(struct ptp_clock_info *ptp, in ptp_qoriq_settime()
300 int ptp_qoriq_enable(struct ptp_clock_info *ptp, in ptp_qoriq_enable()
Dptp_idt82p33.c866 static long idt82p33_work_handler(struct ptp_clock_info *ptp) in idt82p33_work_handler()
943 static int idt82p33_enable(struct ptp_clock_info *ptp, in idt82p33_enable()
981 static s32 idt82p33_getmaxphase(__always_unused struct ptp_clock_info *ptp) in idt82p33_getmaxphase()
986 static int idt82p33_adjwritephase(struct ptp_clock_info *ptp, s32 offset_ns) in idt82p33_adjwritephase()
1022 static int idt82p33_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in idt82p33_adjfine()
1048 static int idt82p33_adjtime(struct ptp_clock_info *ptp, s64 delta_ns) in idt82p33_adjtime()
1079 static int idt82p33_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in idt82p33_gettime()
1096 static int idt82p33_settime(struct ptp_clock_info *ptp, in idt82p33_settime()
1151 static int idt82p33_verify_pin(struct ptp_clock_info *ptp, unsigned int pin, in idt82p33_verify_pin()
Dptp_dfl_tod.c126 static int dfl_tod_adjust_fine(struct ptp_clock_info *ptp, long scaled_ppm) in dfl_tod_adjust_fine()
171 static int dfl_tod_adjust_time(struct ptp_clock_info *ptp, s64 delta) in dfl_tod_adjust_time()
226 static int dfl_tod_get_timex(struct ptp_clock_info *ptp, struct timespec64 *ts, in dfl_tod_get_timex()
251 static int dfl_tod_set_time(struct ptp_clock_info *ptp, in dfl_tod_set_time()
Dptp_pch.c339 static int ptp_pch_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ptp_pch_adjfine()
352 static int ptp_pch_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_pch_adjtime()
368 static int ptp_pch_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_pch_gettime()
383 static int ptp_pch_settime(struct ptp_clock_info *ptp, in ptp_pch_settime()
400 static int ptp_pch_enable(struct ptp_clock_info *ptp, in ptp_pch_enable()
Dptp_clockmatrix.c1532 static long idtcm_work_handler(struct ptp_clock_info *ptp) in idtcm_work_handler()
1784 static int idtcm_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in idtcm_gettime()
1801 static int idtcm_settime_deprecated(struct ptp_clock_info *ptp, in idtcm_settime_deprecated()
1819 static int idtcm_settime(struct ptp_clock_info *ptp, in idtcm_settime()
1837 static int idtcm_adjtime_deprecated(struct ptp_clock_info *ptp, s64 delta) in idtcm_adjtime_deprecated()
1854 static int idtcm_adjtime(struct ptp_clock_info *ptp, s64 delta) in idtcm_adjtime()
1889 static int idtcm_adjphase(struct ptp_clock_info *ptp, s32 delta) in idtcm_adjphase()
1906 static int idtcm_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in idtcm_adjfine()
1931 static int idtcm_enable(struct ptp_clock_info *ptp, in idtcm_enable()
2024 static int idtcm_verify_pin(struct ptp_clock_info *ptp, unsigned int pin, in idtcm_verify_pin()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c118 static s32 mlx5_ptp_getmaxphase(struct ptp_clock_info *ptp) in mlx5_ptp_getmaxphase()
283 static int mlx5_ptp_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) in mlx5_ptp_settime()
316 static int mlx5_ptp_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, in mlx5_ptp_gettimex()
364 static int mlx5_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in mlx5_ptp_adjtime()
385 static int mlx5_ptp_adjphase(struct ptp_clock_info *ptp, s32 delta) in mlx5_ptp_adjphase()
411 static int mlx5_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in mlx5_ptp_adjfine()
437 static int mlx5_extts_configure(struct ptp_clock_info *ptp, in mlx5_extts_configure()
622 static int mlx5_perout_configure(struct ptp_clock_info *ptp, in mlx5_perout_configure()
698 static int mlx5_pps_configure(struct ptp_clock_info *ptp, in mlx5_pps_configure()
709 static int mlx5_ptp_enable(struct ptp_clock_info *ptp, in mlx5_ptp_enable()
[all …]
/Linux-v6.6/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()
77 static int gem_tsu_set_time(struct ptp_clock_info *ptp, in gem_tsu_set_time()
122 static int gem_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in gem_ptp_adjfine()
157 static int gem_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in gem_ptp_adjtime()
183 static int gem_ptp_enable(struct ptp_clock_info *ptp, in gem_ptp_enable()
/Linux-v6.6/drivers/net/ethernet/microchip/lan966x/
Dlan966x_ptp.c596 static int lan966x_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in lan966x_ptp_adjfine()
643 static int lan966x_ptp_settime64(struct ptp_clock_info *ptp, in lan966x_ptp_settime64()
682 int lan966x_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts) in lan966x_ptp_gettime64()
719 static int lan966x_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in lan966x_ptp_adjtime()
767 static int lan966x_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, in lan966x_ptp_verify()
807 static int lan966x_ptp_perout(struct ptp_clock_info *ptp, in lan966x_ptp_perout()
908 static int lan966x_ptp_extts(struct ptp_clock_info *ptp, in lan966x_ptp_extts()
953 static int lan966x_ptp_enable(struct ptp_clock_info *ptp, in lan966x_ptp_enable()
/Linux-v6.6/drivers/net/ethernet/ti/
Dcpts.c216 static int cpts_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in cpts_ptp_adjfine()
230 static int cpts_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in cpts_ptp_adjtime()
241 static int cpts_ptp_gettimeex(struct ptp_clock_info *ptp, in cpts_ptp_gettimeex()
260 static int cpts_ptp_settime(struct ptp_clock_info *ptp, in cpts_ptp_settime()
299 static int cpts_ptp_enable(struct ptp_clock_info *ptp, in cpts_ptp_enable()
392 static long cpts_overflow_check(struct ptp_clock_info *ptp) in cpts_overflow_check()
/Linux-v6.6/drivers/net/ethernet/mscc/
Docelot_ptp.c17 int ocelot_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts) in ocelot_ptp_gettime64()
51 int ocelot_ptp_settime64(struct ptp_clock_info *ptp, in ocelot_ptp_settime64()
87 int ocelot_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ocelot_ptp_adjtime()
136 int ocelot_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ocelot_ptp_adjfine()
182 int ocelot_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, in ocelot_ptp_verify()
197 int ocelot_ptp_enable(struct ptp_clock_info *ptp, in ocelot_ptp_enable()
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c449 static int ixgbe_ptp_adjfine_82599(struct ptp_clock_info *ptp, long scaled_ppm) in ixgbe_ptp_adjfine_82599()
490 static int ixgbe_ptp_adjfine_X550(struct ptp_clock_info *ptp, long scaled_ppm) in ixgbe_ptp_adjfine_X550()
521 static int ixgbe_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ixgbe_ptp_adjtime()
546 static int ixgbe_ptp_gettimex(struct ptp_clock_info *ptp, in ixgbe_ptp_gettimex()
599 static int ixgbe_ptp_settime(struct ptp_clock_info *ptp, in ixgbe_ptp_settime()
626 static int ixgbe_ptp_feature_enable(struct ptp_clock_info *ptp, in ixgbe_ptp_feature_enable()
/Linux-v6.6/drivers/net/ethernet/intel/igc/
Digc_ptp.c46 static int igc_ptp_adjfine_i225(struct ptp_clock_info *ptp, long scaled_ppm) in igc_ptp_adjfine_i225()
72 static int igc_ptp_adjtime_i225(struct ptp_clock_info *ptp, s64 delta) in igc_ptp_adjtime_i225()
90 static int igc_ptp_gettimex64_i225(struct ptp_clock_info *ptp, in igc_ptp_gettimex64_i225()
111 static int igc_ptp_settime_i225(struct ptp_clock_info *ptp, in igc_ptp_settime_i225()
245 static int igc_ptp_feature_enable_i225(struct ptp_clock_info *ptp, in igc_ptp_feature_enable_i225()
417 static int igc_ptp_verify_pin(struct ptp_clock_info *ptp, unsigned int pin, in igc_ptp_verify_pin()
1028 static int igc_ptp_getcrosststamp(struct ptp_clock_info *ptp, in igc_ptp_getcrosststamp()
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c256 static int i40e_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, in i40e_ptp_verify()
346 static int i40e_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in i40e_ptp_adjfine()
401 static int i40e_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in i40e_ptp_adjtime()
448 static int i40e_ptp_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, in i40e_ptp_gettimex()
468 static int i40e_ptp_settime(struct ptp_clock_info *ptp, in i40e_ptp_settime()
489 static int i40e_pps_configure(struct ptp_clock_info *ptp, in i40e_pps_configure()
594 static int i40e_ptp_feature_enable(struct ptp_clock_info *ptp, in i40e_ptp_feature_enable()
/Linux-v6.6/drivers/net/ethernet/freescale/
Dfec_ptp.c352 static int fec_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in fec_ptp_adjfine()
422 static int fec_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in fec_ptp_adjtime()
443 static int fec_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in fec_ptp_gettime()
474 static int fec_ptp_settime(struct ptp_clock_info *ptp, in fec_ptp_settime()
523 static int fec_ptp_enable(struct ptp_clock_info *ptp, in fec_ptp_enable()
/Linux-v6.6/drivers/net/phy/mscc/
Dmscc_ptp.c428 static void vsc85xx_dequeue_skb(struct vsc85xx_ptp *ptp) in vsc85xx_dequeue_skb()
492 static void vsc85xx_get_tx_ts(struct vsc85xx_ptp *ptp) in vsc85xx_get_tx_ts()
612 struct vsc85xx_ptp *ptp = container_of(info, struct vsc85xx_ptp, caps); in vsc85xx_adjfine() local
646 struct vsc85xx_ptp *ptp = container_of(info, struct vsc85xx_ptp, caps); in __vsc85xx_gettime() local
683 struct vsc85xx_ptp *ptp = container_of(info, struct vsc85xx_ptp, caps); in vsc85xx_gettime() local
697 struct vsc85xx_ptp *ptp = container_of(info, struct vsc85xx_ptp, caps); in __vsc85xx_settime() local
733 struct vsc85xx_ptp *ptp = container_of(info, struct vsc85xx_ptp, caps); in vsc85xx_settime() local
746 struct vsc85xx_ptp *ptp = container_of(info, struct vsc85xx_ptp, caps); in vsc85xx_adjtime() local
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/
Daq_ptp.c278 static int aq_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in aq_ptp_adjfine()
297 static int aq_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in aq_ptp_adjtime()
317 static int aq_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in aq_ptp_gettime()
340 static int aq_ptp_settime(struct ptp_clock_info *ptp, in aq_ptp_settime()
389 static int aq_ptp_perout_pin_configure(struct ptp_clock_info *ptp, in aq_ptp_perout_pin_configure()
426 static int aq_ptp_pps_pin_configure(struct ptp_clock_info *ptp, in aq_ptp_pps_pin_configure()
460 static int aq_ptp_extts_pin_configure(struct ptp_clock_info *ptp, in aq_ptp_extts_pin_configure()
487 static int aq_ptp_gpio_feature_enable(struct ptp_clock_info *ptp, in aq_ptp_gpio_feature_enable()
510 static int aq_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, in aq_ptp_verify()
/Linux-v6.6/drivers/net/dsa/microchip/
Dksz_ptp.c625 static int ksz_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ksz_ptp_gettime()
683 static int ksz_ptp_settime(struct ptp_clock_info *ptp, in ksz_ptp_settime()
731 static int ksz_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ksz_ptp_adjfine()
770 static int ksz_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ksz_ptp_adjtime()
831 static int ksz_ptp_enable(struct ptp_clock_info *ptp, in ksz_ptp_enable()
851 static int ksz_ptp_verify_pin(struct ptp_clock_info *ptp, unsigned int pin, in ksz_ptp_verify_pin()
869 static long ksz_ptp_do_aux_work(struct ptp_clock_info *ptp) in ksz_ptp_do_aux_work()
/Linux-v6.6/drivers/net/dsa/sja1105/
Dsja1105_ptp.c336 static long sja1105_rxtstamp_work(struct ptp_clock_info *ptp) in sja1105_rxtstamp_work()
534 static int sja1105_ptp_gettimex(struct ptp_clock_info *ptp, in sja1105_ptp_gettimex()
588 static int sja1105_ptp_settime(struct ptp_clock_info *ptp, in sja1105_ptp_settime()
605 static int sja1105_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in sja1105_ptp_adjfine()
654 static int sja1105_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in sja1105_ptp_adjtime()
840 static int sja1105_ptp_enable(struct ptp_clock_info *ptp, in sja1105_ptp_enable()
855 static int sja1105_ptp_verify_pin(struct ptp_clock_info *ptp, unsigned int pin, in sja1105_ptp_verify_pin()
/Linux-v6.6/drivers/net/ethernet/microchip/sparx5/
Dsparx5_ptp.c391 static int sparx5_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in sparx5_ptp_adjfine()
438 static int sparx5_ptp_settime64(struct ptp_clock_info *ptp, in sparx5_ptp_settime64()
477 int sparx5_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts) in sparx5_ptp_gettime64()
514 static int sparx5_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in sparx5_ptp_adjtime()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c77 struct ptp_clock *ptp; member
106 mlxsw_sp1_ptp_clock(struct ptp_clock_info *ptp) in mlxsw_sp1_ptp_clock()
189 static int mlxsw_sp1_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in mlxsw_sp1_ptp_adjfine()
205 static int mlxsw_sp1_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in mlxsw_sp1_ptp_adjtime()
218 static int mlxsw_sp1_ptp_gettimex(struct ptp_clock_info *ptp, in mlxsw_sp1_ptp_gettimex()
235 static int mlxsw_sp1_ptp_settime(struct ptp_clock_info *ptp, in mlxsw_sp1_ptp_settime()
372 static int mlxsw_sp2_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in mlxsw_sp2_ptp_adjfine()
385 static int mlxsw_sp2_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in mlxsw_sp2_ptp_adjtime()
408 static int mlxsw_sp2_ptp_gettimex(struct ptp_clock_info *ptp, in mlxsw_sp2_ptp_gettimex()
422 static int mlxsw_sp2_ptp_settime(struct ptp_clock_info *ptp, in mlxsw_sp2_ptp_settime()

12345