Searched refs:module_to_port (Results 1 – 1 of 1) sorted by relevance
31 int *module_to_port; member256 mlxsw_m->module_to_port[module] = ++mlxsw_m->max_ports; in mlxsw_m_port_module_map()263 mlxsw_m->module_to_port[module] = -1; in mlxsw_m_port_module_unmap()278 mlxsw_m->module_to_port = kmalloc_array(max_ports, sizeof(int), in mlxsw_m_ports_create()280 if (!mlxsw_m->module_to_port) { in mlxsw_m_ports_create()287 mlxsw_m->module_to_port[i] = -1; in mlxsw_m_ports_create()298 if (mlxsw_m->module_to_port[i] > 0) { in mlxsw_m_ports_create()300 mlxsw_m->module_to_port[i], in mlxsw_m_ports_create()311 if (mlxsw_m->module_to_port[i] > 0) in mlxsw_m_ports_create()313 mlxsw_m->module_to_port[i]); in mlxsw_m_ports_create()[all …]