Lines Matching defs:clock
112 static u64 __mlxsw_sp1_ptp_read_frc(struct mlxsw_sp1_ptp_clock *clock, in __mlxsw_sp1_ptp_read_frc()
136 struct mlxsw_sp1_ptp_clock *clock = in mlxsw_sp1_ptp_read_frc() local
143 mlxsw_sp_ptp_phc_adjfreq(struct mlxsw_sp_ptp_clock *clock, int freq_adj) in mlxsw_sp_ptp_phc_adjfreq()
164 mlxsw_sp1_ptp_phc_settime(struct mlxsw_sp1_ptp_clock *clock, u64 nsec) in mlxsw_sp1_ptp_phc_settime()
192 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_adjfine() local
208 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_adjtime() local
223 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_gettimex() local
239 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_settime() local
263 struct mlxsw_sp1_ptp_clock *clock; in mlxsw_sp1_ptp_clock_overflow() local
277 struct mlxsw_sp1_ptp_clock *clock; in mlxsw_sp1_ptp_clock_init() local
329 struct mlxsw_sp1_ptp_clock *clock = in mlxsw_sp1_ptp_clock_fini() local
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() local
388 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp2_ptp_adjtime() local
413 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp2_ptp_gettimex() local
426 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp2_ptp_settime() local
446 struct mlxsw_sp_ptp_clock *clock; in mlxsw_sp2_ptp_clock_init() local
478 void mlxsw_sp2_ptp_clock_fini(struct mlxsw_sp_ptp_clock *clock) in mlxsw_sp2_ptp_clock_fini()
617 struct mlxsw_sp1_ptp_clock *clock = in mlxsw_sp1_packet_timestamp() local