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()
168 mlxsw_sp_span_entry_phys_parms(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_phys_parms()
181 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_phys_configure() local
201 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_deconfigure_common() local
450 mlxsw_sp_span_entry_gretap4_parms(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_gretap4_parms()
482 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_gretap4_configure() local
554 mlxsw_sp_span_entry_gretap6_parms(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_gretap6_parms()
586 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_gretap6_configure() local
631 mlxsw_sp_span_entry_vlan_parms(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_vlan_parms()
652 struct mlxsw_sp *mlxsw_sp = dest_port->mlxsw_sp; in mlxsw_sp_span_entry_vlan_configure() local
699 static int mlxsw_sp2_span_entry_cpu_parms(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_span_entry_cpu_parms()
749 mlxsw_sp_span_entry_nop_parms(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_nop_parms()
775 mlxsw_sp_span_entry_configure(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_configure()
812 struct mlxsw_sp *mlxsw_sp = span->mlxsw_sp; in mlxsw_sp_span_policer_id_base_set() local
850 mlxsw_sp_span_entry_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_create()
886 static void mlxsw_sp_span_entry_destroy(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_destroy()
896 mlxsw_sp_span_entry_find_by_port(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_find_by_port()
910 void mlxsw_sp_span_entry_invalidate(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_invalidate()
918 mlxsw_sp_span_entry_find_by_id(struct mlxsw_sp *mlxsw_sp, int span_id) in mlxsw_sp_span_entry_find_by_id()
932 mlxsw_sp_span_entry_find_by_parms(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_find_by_parms()
951 mlxsw_sp_span_entry_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_get()
969 static int mlxsw_sp_span_entry_put(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_put()
1015 mlxsw_sp_span_entry_ops(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_entry_ops()
1031 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_span_respin_work() local
1060 void mlxsw_sp_span_respin(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_span_respin()
1067 int mlxsw_sp_span_agent_get(struct mlxsw_sp *mlxsw_sp, int *p_span_id, in mlxsw_sp_span_agent_get()
1101 void mlxsw_sp_span_agent_put(struct mlxsw_sp *mlxsw_sp, int span_id) in mlxsw_sp_span_agent_put()
1166 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_span_analyzed_port_get() local
1194 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_span_analyzed_port_put() local
1354 struct mlxsw_sp *mlxsw_sp = trigger_entry->span->mlxsw_sp; in mlxsw_sp2_span_trigger_global_bind() local
1405 struct mlxsw_sp *mlxsw_sp = trigger_entry->span->mlxsw_sp; in __mlxsw_sp2_span_trigger_global_enable() local
1558 int mlxsw_sp_span_agent_bind(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_agent_bind()
1594 void mlxsw_sp_span_agent_unbind(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_span_agent_unbind()
1622 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_span_trigger_enable() local
1639 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_span_trigger_disable() local
1669 static int mlxsw_sp1_span_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp1_span_init()
1687 static int mlxsw_sp1_span_policer_id_base_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp1_span_policer_id_base_set()
1698 static int mlxsw_sp2_span_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp2_span_init()
1719 static int mlxsw_sp2_span_policer_id_base_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp2_span_policer_id_base_set()