Lines Matching defs:clock

111 static u64 __mlxsw_sp1_ptp_read_frc(struct mlxsw_sp1_ptp_clock *clock,  in __mlxsw_sp1_ptp_read_frc()
135 struct mlxsw_sp1_ptp_clock *clock = in mlxsw_sp1_ptp_read_frc() local
142 mlxsw_sp_ptp_phc_adjfreq(struct mlxsw_sp_ptp_clock *clock, int freq_adj) in mlxsw_sp_ptp_phc_adjfreq()
163 mlxsw_sp1_ptp_phc_settime(struct mlxsw_sp1_ptp_clock *clock, u64 nsec) in mlxsw_sp1_ptp_phc_settime()
191 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_adjfine() local
207 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_adjtime() local
222 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_gettimex() local
238 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_settime() local
262 struct mlxsw_sp1_ptp_clock *clock; in mlxsw_sp1_ptp_clock_overflow() local
276 struct mlxsw_sp1_ptp_clock *clock; in mlxsw_sp1_ptp_clock_init() local
328 struct mlxsw_sp1_ptp_clock *clock = in mlxsw_sp1_ptp_clock_fini() local
336 static u64 mlxsw_sp2_ptp_read_utc(struct mlxsw_sp_ptp_clock *clock, in mlxsw_sp2_ptp_read_utc()
359 mlxsw_sp2_ptp_phc_settime(struct mlxsw_sp_ptp_clock *clock, u64 nsec) in mlxsw_sp2_ptp_phc_settime()
374 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp2_ptp_adjfine() local
387 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp2_ptp_adjtime() local
412 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp2_ptp_gettimex() local
425 struct mlxsw_sp_ptp_clock *clock = in mlxsw_sp2_ptp_settime() local
445 struct mlxsw_sp_ptp_clock *clock; in mlxsw_sp2_ptp_clock_init() local
477 void mlxsw_sp2_ptp_clock_fini(struct mlxsw_sp_ptp_clock *clock) in mlxsw_sp2_ptp_clock_fini()
616 struct mlxsw_sp1_ptp_clock *clock = in mlxsw_sp1_packet_timestamp() local