Lines Matching defs:mlxsw_sp

32 	struct mlxsw_sp *mlxsw_sp;  member
92 mlxsw_sp1_ptp_state(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp1_ptp_state()
99 mlxsw_sp2_ptp_state(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp2_ptp_state()
273 mlxsw_sp1_ptp_clock_init(struct mlxsw_sp *mlxsw_sp, struct device *dev) in mlxsw_sp1_ptp_clock_init()
443 mlxsw_sp2_ptp_clock_init(struct mlxsw_sp *mlxsw_sp, struct device *dev) in mlxsw_sp2_ptp_clock_init()
516 mlxsw_sp1_ptp_unmatched_save(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_unmatched_save()
544 mlxsw_sp1_ptp_unmatched_lookup(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_unmatched_lookup()
564 mlxsw_sp1_ptp_unmatched_remove(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_unmatched_remove()
582 static void mlxsw_sp1_ptp_packet_finish(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_packet_finish()
610 static void mlxsw_sp1_packet_timestamp(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_packet_timestamp()
632 mlxsw_sp1_ptp_unmatched_finish(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_unmatched_finish()
658 static void mlxsw_sp1_ptp_got_piece(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_got_piece()
705 static void mlxsw_sp1_ptp_got_packet(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_got_packet()
745 void mlxsw_sp1_ptp_got_timestamp(struct mlxsw_sp *mlxsw_sp, bool ingress, in mlxsw_sp1_ptp_got_timestamp()
779 void mlxsw_sp1_ptp_receive(struct mlxsw_sp *mlxsw_sp, struct sk_buff *skb, in mlxsw_sp1_ptp_receive()
786 void mlxsw_sp1_ptp_transmitted(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_transmitted()
796 struct mlxsw_sp *mlxsw_sp = ptp_state->common.mlxsw_sp; in mlxsw_sp1_ptp_ht_gc_collect() local
871 static int mlxsw_sp_ptp_mtptpt_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_ptp_mtptpt_set()
881 static int mlxsw_sp1_ptp_set_fifo_clr_on_trap(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
896 static int mlxsw_sp1_ptp_mtpppc_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_mtpppc_set()
967 static int mlxsw_sp1_ptp_shaper_params_set(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp1_ptp_shaper_params_set()
990 static int mlxsw_sp_ptp_traps_set(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_ptp_traps_set()
1019 static void mlxsw_sp_ptp_traps_unset(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_ptp_traps_unset()
1025 struct mlxsw_sp_ptp_state *mlxsw_sp1_ptp_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp1_ptp_init()
1070 struct mlxsw_sp *mlxsw_sp = ptp_state_common->mlxsw_sp; in mlxsw_sp1_ptp_fini() local
1156 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp1_ptp_mtpppc_update() local
1200 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp1_ptp_port_shaper_set() local
1278 int mlxsw_sp1_ptp_get_ts_info(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_ptp_get_ts_info()
1350 struct mlxsw_sp_ptp_state *mlxsw_sp2_ptp_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp2_ptp_init()
1376 struct mlxsw_sp *mlxsw_sp = ptp_state_common->mlxsw_sp; in mlxsw_sp2_ptp_fini() local
1426 void mlxsw_sp2_ptp_receive(struct mlxsw_sp *mlxsw_sp, struct sk_buff *skb, in mlxsw_sp2_ptp_receive()
1437 void mlxsw_sp2_ptp_transmitted(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_ptp_transmitted()
1528 static int mlxsw_sp2_ptp_mtpcpc_set(struct mlxsw_sp *mlxsw_sp, bool ptp_trap_en, in mlxsw_sp2_ptp_mtpcpc_set()
1538 static int mlxsw_sp2_ptp_enable(struct mlxsw_sp *mlxsw_sp, u16 ing_types, in mlxsw_sp2_ptp_enable()
1553 static int mlxsw_sp2_ptp_disable(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_ptp_disable()
1663 int mlxsw_sp2_ptp_get_ts_info(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_ptp_get_ts_info()