Lines Matching defs:mlxsw_sx_port
76 struct mlxsw_sx_port { struct
78 struct mlxsw_sx_port_pcpu_stats __percpu *pcpu_stats; argument
79 struct mlxsw_sx *mlxsw_sx;
80 u8 local_port;
187 static int mlxsw_sx_port_admin_status_set(struct mlxsw_sx_port *mlxsw_sx_port, in mlxsw_sx_port_admin_status_set()
199 static int mlxsw_sx_port_oper_status_get(struct mlxsw_sx_port *mlxsw_sx_port, in mlxsw_sx_port_oper_status_get()
216 static int mlxsw_sx_port_mtu_set(struct mlxsw_sx_port *mlxsw_sx_port, u16 mtu) in mlxsw_sx_port_mtu_set()
237 static int mlxsw_sx_port_swid_set(struct mlxsw_sx_port *mlxsw_sx_port, u8 swid) in mlxsw_sx_port_swid_set()
247 mlxsw_sx_port_system_port_mapping_set(struct mlxsw_sx_port *mlxsw_sx_port) in mlxsw_sx_port_system_port_mapping_set()
256 static int mlxsw_sx_port_module_check(struct mlxsw_sx_port *mlxsw_sx_port, in mlxsw_sx_port_module_check()
273 struct mlxsw_sx_port *mlxsw_sx_port = netdev_priv(dev); in mlxsw_sx_port_open() local
285 struct mlxsw_sx_port *mlxsw_sx_port = netdev_priv(dev); in mlxsw_sx_port_stop() local
294 struct mlxsw_sx_port *mlxsw_sx_port = netdev_priv(dev); in mlxsw_sx_port_xmit() local
339 struct mlxsw_sx_port *mlxsw_sx_port = netdev_priv(dev); in mlxsw_sx_port_change_mtu() local
353 struct mlxsw_sx_port *mlxsw_sx_port = netdev_priv(dev); in mlxsw_sx_port_get_stats64() local
392 struct mlxsw_sx_port *mlxsw_sx_port = netdev_priv(dev); in mlxsw_sx_port_get_drvinfo() local
513 struct mlxsw_sx_port *mlxsw_sx_port = netdev_priv(dev); in mlxsw_sx_port_get_stats() local
731 struct mlxsw_sx_port *mlxsw_sx_port = netdev_priv(dev); in mlxsw_sx_port_get_settings() local
790 struct mlxsw_sx_port *mlxsw_sx_port = netdev_priv(dev); in mlxsw_sx_port_set_settings() local
865 struct mlxsw_sx_port *mlxsw_sx_port = netdev_priv(dev); in mlxsw_sx_port_attr_get() local
896 static int mlxsw_sx_port_dev_addr_get(struct mlxsw_sx_port *mlxsw_sx_port) in mlxsw_sx_port_dev_addr_get()
916 static int mlxsw_sx_port_stp_state_set(struct mlxsw_sx_port *mlxsw_sx_port, in mlxsw_sx_port_stp_state_set()
933 static int mlxsw_sx_port_speed_set(struct mlxsw_sx_port *mlxsw_sx_port, in mlxsw_sx_port_speed_set()
944 mlxsw_sx_port_mac_learning_mode_set(struct mlxsw_sx_port *mlxsw_sx_port, in mlxsw_sx_port_mac_learning_mode_set()
956 struct mlxsw_sx_port *mlxsw_sx_port; in mlxsw_sx_port_create() local
1089 struct mlxsw_sx_port *mlxsw_sx_port = mlxsw_sx->ports[local_port]; in mlxsw_sx_port_remove() local
1137 struct mlxsw_sx_port *mlxsw_sx_port; in mlxsw_sx_pude_event_func() local
1209 struct mlxsw_sx_port *mlxsw_sx_port = mlxsw_sx->ports[local_port]; in mlxsw_sx_rx_listener_func() local