Home
last modified time | relevance | path

Searched refs:max_modules_per_slot (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dminimal.c40 u8 max_modules_per_slot; /* Maximum number of modules per-slot. */ member
271 mlxsw_m->max_modules_per_slot : 0; in mlxsw_m_port_create()
379 mlxsw_m->max_modules_per_slot = in mlxsw_m_linecards_init()
382 mlxsw_m->max_modules_per_slot = num_of_modules; in mlxsw_m_linecards_init()
403 mlxsw_m->max_modules_per_slot), in mlxsw_m_linecards_init()
411 for (j = 0; j < mlxsw_m->max_modules_per_slot; j++) in mlxsw_m_linecards_init()
441 for (i = mlxsw_m->max_modules_per_slot - 1; i >= 0; i--) { in mlxsw_m_linecard_port_module_unmap()
456 for (i = 0; i < mlxsw_m->max_modules_per_slot; i++) { in mlxsw_m_linecard_ports_create()
489 for (i = 0; i < mlxsw_m->max_modules_per_slot; i++) { in mlxsw_m_linecard_ports_remove()
H A Dreg.h11218 MLXSW_ITEM32(reg, mgpir, max_modules_per_slot, 0x04, 16, 8);