Lines Matching refs:ports
35 struct mlxsw_m_port **ports;
227 return mlxsw_m->ports[local_port];
284 mlxsw_m->ports[local_port] = mlxsw_m_port;
295 mlxsw_m->ports[local_port] = NULL;
305 struct mlxsw_m_port *mlxsw_m_port = mlxsw_m->ports[local_port];
308 mlxsw_m->ports[local_port] = NULL;
386 mlxsw_m->ports = kcalloc(max_ports, sizeof(*mlxsw_m->ports),
388 if (!mlxsw_m->ports)
422 kfree(mlxsw_m->ports);
433 kfree(mlxsw_m->ports);
669 dev_err(mlxsw_m->bus_info->dev, "Failed to create ports\n");