Lines Matching defs:mlxsw_sp

23 	struct mlxsw_sp *mlxsw_sp;  member
75 const struct mlxsw_sp *mlxsw_sp = priv; in mlxsw_sp_span_occ_get() local
80 int mlxsw_sp_span_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_span_init()
121 void mlxsw_sp_span_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_span_fini()
139 static int mlxsw_sp1_span_entry_cpu_parms(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_span_entry_cpu_parms()
167 mlxsw_sp_span_entry_phys_parms(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_phys_parms()
180 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_phys_configure() local
199 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_deconfigure_common() local
446 mlxsw_sp_span_entry_gretap4_parms(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_gretap4_parms()
478 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_gretap4_configure() local
550 mlxsw_sp_span_entry_gretap6_parms(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_gretap6_parms()
582 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_gretap6_configure() local
627 mlxsw_sp_span_entry_vlan_parms(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_vlan_parms()
648 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_vlan_configure() local
695 static int mlxsw_sp2_span_entry_cpu_parms(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_span_entry_cpu_parms()
744 mlxsw_sp_span_entry_nop_parms(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_nop_parms()
770 mlxsw_sp_span_entry_configure(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_configure()
807 struct mlxsw_sp *mlxsw_sp = span->mlxsw_sp; in mlxsw_sp_span_policer_id_base_set() local
845 mlxsw_sp_span_entry_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_create()
881 static void mlxsw_sp_span_entry_destroy(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_destroy()
891 mlxsw_sp_span_entry_find_by_port(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_find_by_port()
905 void mlxsw_sp_span_entry_invalidate(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_invalidate()
913 mlxsw_sp_span_entry_find_by_id(struct mlxsw_sp *mlxsw_sp, int span_id) in mlxsw_sp_span_entry_find_by_id()
927 mlxsw_sp_span_entry_find_by_parms(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_find_by_parms()
945 mlxsw_sp_span_entry_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_get()
963 static int mlxsw_sp_span_entry_put(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_put()
1009 mlxsw_sp_span_entry_ops(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_ops()
1025 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_span_respin_work() local
1051 void mlxsw_sp_span_respin(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_span_respin()
1058 int mlxsw_sp_span_agent_get(struct mlxsw_sp *mlxsw_sp, int *p_span_id, in mlxsw_sp_span_agent_get()
1091 void mlxsw_sp_span_agent_put(struct mlxsw_sp *mlxsw_sp, int span_id) in mlxsw_sp_span_agent_put()
1156 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_span_analyzed_port_get() local
1184 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_span_analyzed_port_put() local
1340 struct mlxsw_sp *mlxsw_sp = trigger_entry->span->mlxsw_sp; in mlxsw_sp2_span_trigger_global_bind() local
1388 struct mlxsw_sp *mlxsw_sp = trigger_entry->span->mlxsw_sp; in __mlxsw_sp2_span_trigger_global_enable() local
1541 int mlxsw_sp_span_agent_bind(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_agent_bind()
1575 void mlxsw_sp_span_agent_unbind(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_agent_unbind()
1603 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_span_trigger_enable() local
1620 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_span_trigger_disable() local
1634 static int mlxsw_sp1_span_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp1_span_init()
1652 static int mlxsw_sp1_span_policer_id_base_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_span_policer_id_base_set()
1663 static int mlxsw_sp2_span_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp2_span_init()
1684 static int mlxsw_sp2_span_policer_id_base_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_span_policer_id_base_set()