mlxsw_sib_port 27 drivers/net/ethernet/mellanox/mlxsw/switchib.c struct mlxsw_sib_port; mlxsw_sib_port 30 drivers/net/ethernet/mellanox/mlxsw/switchib.c struct mlxsw_sib_port **ports; mlxsw_sib_port 119 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port_admin_status_set(struct mlxsw_sib_port *mlxsw_sib_port, mlxsw_sib_port 122 drivers/net/ethernet/mellanox/mlxsw/switchib.c struct mlxsw_sib *mlxsw_sib = mlxsw_sib_port->mlxsw_sib; mlxsw_sib_port 125 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_reg_paos_pack(paos_pl, mlxsw_sib_port->local_port, mlxsw_sib_port 131 drivers/net/ethernet/mellanox/mlxsw/switchib.c static int mlxsw_sib_port_mtu_set(struct mlxsw_sib_port *mlxsw_sib_port, mlxsw_sib_port 134 drivers/net/ethernet/mellanox/mlxsw/switchib.c struct mlxsw_sib *mlxsw_sib = mlxsw_sib_port->mlxsw_sib; mlxsw_sib_port 139 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_reg_pmtu_pack(pmtu_pl, mlxsw_sib_port->local_port, 0); mlxsw_sib_port 148 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_reg_pmtu_pack(pmtu_pl, mlxsw_sib_port->local_port, mtu); mlxsw_sib_port 152 drivers/net/ethernet/mellanox/mlxsw/switchib.c static int mlxsw_sib_port_set(struct mlxsw_sib_port *mlxsw_sib_port, u8 port) mlxsw_sib_port 154 drivers/net/ethernet/mellanox/mlxsw/switchib.c struct mlxsw_sib *mlxsw_sib = mlxsw_sib_port->mlxsw_sib; mlxsw_sib_port 158 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_reg_plib_local_port_set(plib_pl, mlxsw_sib_port->local_port); mlxsw_sib_port 164 drivers/net/ethernet/mellanox/mlxsw/switchib.c static int mlxsw_sib_port_swid_set(struct mlxsw_sib_port *mlxsw_sib_port, mlxsw_sib_port 167 drivers/net/ethernet/mellanox/mlxsw/switchib.c struct mlxsw_sib *mlxsw_sib = mlxsw_sib_port->mlxsw_sib; mlxsw_sib_port 170 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_reg_pspa_pack(pspa_pl, swid, mlxsw_sib_port->local_port); mlxsw_sib_port 190 drivers/net/ethernet/mellanox/mlxsw/switchib.c static int mlxsw_sib_port_speed_set(struct mlxsw_sib_port *mlxsw_sib_port, mlxsw_sib_port 193 drivers/net/ethernet/mellanox/mlxsw/switchib.c struct mlxsw_sib *mlxsw_sib = mlxsw_sib_port->mlxsw_sib; mlxsw_sib_port 196 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_reg_ptys_ib_pack(ptys_pl, mlxsw_sib_port->local_port, speed, mlxsw_sib_port 209 drivers/net/ethernet/mellanox/mlxsw/switchib.c struct mlxsw_sib_port *mlxsw_sib_port; mlxsw_sib_port 212 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port = kzalloc(sizeof(*mlxsw_sib_port), GFP_KERNEL); mlxsw_sib_port 213 drivers/net/ethernet/mellanox/mlxsw/switchib.c if (!mlxsw_sib_port) mlxsw_sib_port 215 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port->mlxsw_sib = mlxsw_sib; mlxsw_sib_port 216 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port->local_port = local_port; mlxsw_sib_port 217 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port->mapping.module = module; mlxsw_sib_port 219 drivers/net/ethernet/mellanox/mlxsw/switchib.c err = mlxsw_sib_port_swid_set(mlxsw_sib_port, 0); mlxsw_sib_port 222 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port->local_port); mlxsw_sib_port 227 drivers/net/ethernet/mellanox/mlxsw/switchib.c err = mlxsw_sib_port_set(mlxsw_sib_port, module + 1); mlxsw_sib_port 230 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port->local_port); mlxsw_sib_port 237 drivers/net/ethernet/mellanox/mlxsw/switchib.c err = mlxsw_sib_port_speed_set(mlxsw_sib_port, mlxsw_sib_port 242 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port->local_port); mlxsw_sib_port 249 drivers/net/ethernet/mellanox/mlxsw/switchib.c err = mlxsw_sib_port_mtu_set(mlxsw_sib_port, MLXSW_IB_DEFAULT_MTU); mlxsw_sib_port 252 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port->local_port); mlxsw_sib_port 256 drivers/net/ethernet/mellanox/mlxsw/switchib.c err = mlxsw_sib_port_admin_status_set(mlxsw_sib_port, true); mlxsw_sib_port 259 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port->local_port); mlxsw_sib_port 263 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_core_port_ib_set(mlxsw_sib->core, mlxsw_sib_port->local_port, mlxsw_sib_port 264 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port); mlxsw_sib_port 265 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib->ports[local_port] = mlxsw_sib_port; mlxsw_sib_port 272 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port_swid_set(mlxsw_sib_port, MLXSW_PORT_SWID_DISABLED_PORT); mlxsw_sib_port 274 drivers/net/ethernet/mellanox/mlxsw/switchib.c kfree(mlxsw_sib_port); mlxsw_sib_port 304 drivers/net/ethernet/mellanox/mlxsw/switchib.c struct mlxsw_sib_port *mlxsw_sib_port = mlxsw_sib->ports[local_port]; mlxsw_sib_port 308 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port_admin_status_set(mlxsw_sib_port, false); mlxsw_sib_port 309 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port_swid_set(mlxsw_sib_port, MLXSW_PORT_SWID_DISABLED_PORT); mlxsw_sib_port 310 drivers/net/ethernet/mellanox/mlxsw/switchib.c kfree(mlxsw_sib_port); mlxsw_sib_port 336 drivers/net/ethernet/mellanox/mlxsw/switchib.c alloc_size = sizeof(struct mlxsw_sib_port *) * MLXSW_PORT_MAX_IB_PORTS; mlxsw_sib_port 364 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_pude_ib_event_func(struct mlxsw_sib_port *mlxsw_sib_port, mlxsw_sib_port 369 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port->mapping.module + 1); mlxsw_sib_port 372 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port->mapping.module + 1); mlxsw_sib_port 379 drivers/net/ethernet/mellanox/mlxsw/switchib.c struct mlxsw_sib_port *mlxsw_sib_port; mlxsw_sib_port 384 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port = mlxsw_sib->ports[local_port]; mlxsw_sib_port 385 drivers/net/ethernet/mellanox/mlxsw/switchib.c if (!mlxsw_sib_port) { mlxsw_sib_port 392 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_pude_ib_event_func(mlxsw_sib_port, status);