Lines Matching defs:mlxsw_sp_ptp_ops
219 struct mlxsw_sp_ptp_ops { struct
221 (*clock_init)(struct mlxsw_sp *mlxsw_sp, struct device *dev);
222 void (*clock_fini)(struct mlxsw_sp_ptp_clock *clock);
224 struct mlxsw_sp_ptp_state *(*init)(struct mlxsw_sp *mlxsw_sp);
225 void (*fini)(struct mlxsw_sp_ptp_state *ptp_state);
230 void (*receive)(struct mlxsw_sp *mlxsw_sp, struct sk_buff *skb,
236 void (*transmitted)(struct mlxsw_sp *mlxsw_sp, struct sk_buff *skb,
239 int (*hwtstamp_get)(struct mlxsw_sp_port *mlxsw_sp_port,
241 int (*hwtstamp_set)(struct mlxsw_sp_port *mlxsw_sp_port,
243 void (*shaper_work)(struct work_struct *work);
244 int (*get_ts_info)(struct mlxsw_sp *mlxsw_sp,
246 int (*get_stats_count)(void);
247 void (*get_stats_strings)(u8 **p);
248 void (*get_stats)(struct mlxsw_sp_port *mlxsw_sp_port,