Searched refs:port_to_module (Results 1 – 2 of 2) sorted by relevance
3078 kfree(mlxsw_sp->port_to_module); in mlxsw_sp_ports_remove()3095 mlxsw_sp->port_to_module = kmalloc_array(max_ports, sizeof(int), in mlxsw_sp_ports_create()3097 if (!mlxsw_sp->port_to_module) { in mlxsw_sp_ports_create()3104 mlxsw_sp->port_to_module[i] = -1; in mlxsw_sp_ports_create()3112 mlxsw_sp->port_to_module[i] = module; in mlxsw_sp_ports_create()3125 kfree(mlxsw_sp->port_to_module); in mlxsw_sp_ports_create()3173 if (mlxsw_sp->port_to_module[local_port] < 0) in mlxsw_sp_port_unsplit_create()3175 module = mlxsw_sp->port_to_module[local_port]; in mlxsw_sp_port_unsplit_create()
126 int *port_to_module; member