Home
last modified time | relevance | path

Searched refs:mlxsw_sp_ptp_clock (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.h12 struct mlxsw_sp_ptp_clock;
24 struct mlxsw_sp_ptp_clock *
27 void mlxsw_sp1_ptp_clock_fini(struct mlxsw_sp_ptp_clock *clock);
65 struct mlxsw_sp_ptp_clock *
68 void mlxsw_sp2_ptp_clock_fini(struct mlxsw_sp_ptp_clock *clock);
96 static inline struct mlxsw_sp_ptp_clock *
102 static inline void mlxsw_sp1_ptp_clock_fini(struct mlxsw_sp_ptp_clock *clock) in mlxsw_sp1_ptp_clock_fini()
183 static inline struct mlxsw_sp_ptp_clock *
189 static inline void mlxsw_sp2_ptp_clock_fini(struct mlxsw_sp_ptp_clock *clock) in mlxsw_sp2_ptp_clock_fini()
H A Dspectrum_ptp.c76 struct mlxsw_sp_ptp_clock { struct
83 struct mlxsw_sp_ptp_clock common; argument
143 mlxsw_sp_ptp_phc_adjfreq(struct mlxsw_sp_ptp_clock *clock, int freq_adj) in mlxsw_sp_ptp_phc_adjfreq()
273 struct mlxsw_sp_ptp_clock *
327 void mlxsw_sp1_ptp_clock_fini(struct mlxsw_sp_ptp_clock *clock_common) in mlxsw_sp1_ptp_clock_fini()
337 static u64 mlxsw_sp2_ptp_read_utc(struct mlxsw_sp_ptp_clock *clock, in mlxsw_sp2_ptp_read_utc()
360 mlxsw_sp2_ptp_phc_settime(struct mlxsw_sp_ptp_clock *clock, u64 nsec) in mlxsw_sp2_ptp_phc_settime()
375 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp2_ptp_adjfine()
376 container_of(ptp, struct mlxsw_sp_ptp_clock, ptp_info); in mlxsw_sp2_ptp_adjfine()
388 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp2_ptp_adjtime()
[all …]
H A Dspectrum.h183 struct mlxsw_sp_ptp_clock *clock;
218 struct mlxsw_sp_ptp_clock *
220 void (*clock_fini)(struct mlxsw_sp_ptp_clock *clock);