Lines Matching refs:mlxsw_sp1_ptp_clock

81 struct mlxsw_sp1_ptp_clock {  struct
105 static struct mlxsw_sp1_ptp_clock * argument
106 mlxsw_sp1_ptp_clock(struct ptp_clock_info *ptp) in mlxsw_sp1_ptp_clock() function
108 return container_of(ptp, struct mlxsw_sp1_ptp_clock, common.ptp_info); in mlxsw_sp1_ptp_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()
136 container_of(cc, struct mlxsw_sp1_ptp_clock, cycles); in mlxsw_sp1_ptp_read_frc()
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()
207 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_adjtime()
222 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_gettimex()
238 struct mlxsw_sp1_ptp_clock *clock = mlxsw_sp1_ptp_clock(ptp); in mlxsw_sp1_ptp_settime()
262 struct mlxsw_sp1_ptp_clock *clock; in mlxsw_sp1_ptp_clock_overflow()
264 clock = container_of(dwork, struct mlxsw_sp1_ptp_clock, overflow_work); in mlxsw_sp1_ptp_clock_overflow()
276 struct mlxsw_sp1_ptp_clock *clock; in mlxsw_sp1_ptp_clock_init()
328 struct mlxsw_sp1_ptp_clock *clock = in mlxsw_sp1_ptp_clock_fini()
329 container_of(clock_common, struct mlxsw_sp1_ptp_clock, common); in mlxsw_sp1_ptp_clock_fini()
616 struct mlxsw_sp1_ptp_clock *clock = in mlxsw_sp1_packet_timestamp()
617 container_of(clock_common, struct mlxsw_sp1_ptp_clock, common); in mlxsw_sp1_packet_timestamp()