Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.h12 struct mlxsw_sp_ptp_clock;
31 struct mlxsw_sp_ptp_clock *
34 void mlxsw_sp1_ptp_clock_fini(struct mlxsw_sp_ptp_clock *clock);
69 static inline struct mlxsw_sp_ptp_clock *
75 static inline void mlxsw_sp1_ptp_clock_fini(struct mlxsw_sp_ptp_clock *clock) in mlxsw_sp1_ptp_clock_fini()
148 static inline struct mlxsw_sp_ptp_clock *
154 static inline void mlxsw_sp2_ptp_clock_fini(struct mlxsw_sp_ptp_clock *clock) in mlxsw_sp2_ptp_clock_fini()
H A Dspectrum_ptp.c61 struct mlxsw_sp_ptp_clock { struct
73 static u64 __mlxsw_sp1_ptp_read_frc(struct mlxsw_sp_ptp_clock *clock, in __mlxsw_sp1_ptp_read_frc() argument
97 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp1_ptp_read_frc()
98 container_of(cc, struct mlxsw_sp_ptp_clock, cycles); in mlxsw_sp1_ptp_read_frc()
104 mlxsw_sp1_ptp_phc_adjfreq(struct mlxsw_sp_ptp_clock *clock, int freq_adj) in mlxsw_sp1_ptp_phc_adjfreq()
125 mlxsw_sp1_ptp_phc_settime(struct mlxsw_sp_ptp_clock *clock, u64 nsec) in mlxsw_sp1_ptp_phc_settime()
153 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp1_ptp_adjfine()
154 container_of(ptp, struct mlxsw_sp_ptp_clock, ptp_info); in mlxsw_sp1_ptp_adjfine()
182 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp1_ptp_adjtime()
183 container_of(ptp, struct mlxsw_sp_ptp_clock, ptp_info); in mlxsw_sp1_ptp_adjtime()
[all …]
H A Dspectrum.h162 struct mlxsw_sp_ptp_clock *clock;
188 struct mlxsw_sp_ptp_clock *
190 void (*clock_fini)(struct mlxsw_sp_ptp_clock *clock);