Lines Matching defs:mlxsw_sx
60 struct mlxsw_sx { struct
61 struct mlxsw_sx_port **ports; argument
79 struct mlxsw_sx *mlxsw_sx; argument
190 struct mlxsw_sx *mlxsw_sx = mlxsw_sx_port->mlxsw_sx; in mlxsw_sx_port_admin_status_set() local
202 struct mlxsw_sx *mlxsw_sx = mlxsw_sx_port->mlxsw_sx; in mlxsw_sx_port_oper_status_get() local
218 struct mlxsw_sx *mlxsw_sx = mlxsw_sx_port->mlxsw_sx; in mlxsw_sx_port_mtu_set() local
239 struct mlxsw_sx *mlxsw_sx = mlxsw_sx_port->mlxsw_sx; in mlxsw_sx_port_swid_set() local
249 struct mlxsw_sx *mlxsw_sx = mlxsw_sx_port->mlxsw_sx; in mlxsw_sx_port_system_port_mapping_set() local
259 struct mlxsw_sx *mlxsw_sx = mlxsw_sx_port->mlxsw_sx; in mlxsw_sx_port_module_check() local
295 struct mlxsw_sx *mlxsw_sx = mlxsw_sx_port->mlxsw_sx; in mlxsw_sx_port_xmit() local
393 struct mlxsw_sx *mlxsw_sx = mlxsw_sx_port->mlxsw_sx; in mlxsw_sx_port_get_drvinfo() local
514 struct mlxsw_sx *mlxsw_sx = mlxsw_sx_port->mlxsw_sx; in mlxsw_sx_port_get_stats() local
732 struct mlxsw_sx *mlxsw_sx = mlxsw_sx_port->mlxsw_sx; in mlxsw_sx_port_get_settings() local
791 struct mlxsw_sx *mlxsw_sx = mlxsw_sx_port->mlxsw_sx; in mlxsw_sx_port_set_settings() local
866 struct mlxsw_sx *mlxsw_sx = mlxsw_sx_port->mlxsw_sx; in mlxsw_sx_port_attr_get() local
884 static int mlxsw_sx_hw_id_get(struct mlxsw_sx *mlxsw_sx) in mlxsw_sx_hw_id_get()
898 struct mlxsw_sx *mlxsw_sx = mlxsw_sx_port->mlxsw_sx; in mlxsw_sx_port_dev_addr_get() local
919 struct mlxsw_sx *mlxsw_sx = mlxsw_sx_port->mlxsw_sx; in mlxsw_sx_port_stp_state_set() local
936 struct mlxsw_sx *mlxsw_sx = mlxsw_sx_port->mlxsw_sx; in mlxsw_sx_port_speed_set() local
947 struct mlxsw_sx *mlxsw_sx = mlxsw_sx_port->mlxsw_sx; in mlxsw_sx_port_mac_learning_mode_set() local
954 static int mlxsw_sx_port_create(struct mlxsw_sx *mlxsw_sx, u8 local_port) in mlxsw_sx_port_create()
1087 static void mlxsw_sx_port_remove(struct mlxsw_sx *mlxsw_sx, u8 local_port) in mlxsw_sx_port_remove()
1099 static void mlxsw_sx_ports_remove(struct mlxsw_sx *mlxsw_sx) in mlxsw_sx_ports_remove()
1108 static int mlxsw_sx_ports_create(struct mlxsw_sx *mlxsw_sx) in mlxsw_sx_ports_create()
1136 struct mlxsw_sx *mlxsw_sx = priv; in mlxsw_sx_pude_event_func() local
1164 static int mlxsw_sx_event_register(struct mlxsw_sx *mlxsw_sx, in mlxsw_sx_event_register()
1192 static void mlxsw_sx_event_unregister(struct mlxsw_sx *mlxsw_sx, in mlxsw_sx_event_unregister()
1208 struct mlxsw_sx *mlxsw_sx = priv; in mlxsw_sx_rx_listener_func() local
1304 static int mlxsw_sx_traps_init(struct mlxsw_sx *mlxsw_sx) in mlxsw_sx_traps_init()
1353 static void mlxsw_sx_traps_fini(struct mlxsw_sx *mlxsw_sx) in mlxsw_sx_traps_fini()
1369 static int mlxsw_sx_flood_init(struct mlxsw_sx *mlxsw_sx) in mlxsw_sx_flood_init()
1440 struct mlxsw_sx *mlxsw_sx = priv; in mlxsw_sx_init() local
1489 struct mlxsw_sx *mlxsw_sx = priv; in mlxsw_sx_fini() local