Lines Matching defs:module
5 #include <linux/module.h>
593 u8 module;
597 module = mlxsw_reg_pmlp_module_get(pmlp_pl, 0);
604 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: width value is not power of 2\n",
610 if (mlxsw_reg_pmlp_module_get(pmlp_pl, i) != module) {
611 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: contains multiple modules\n",
616 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: contains multiple slot indexes\n",
623 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: TX and RX lane numbers are different\n",
628 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: TX and RX lane numbers are not sequential\n",
634 port_mapping->module = module;
665 port_mapping->module);
672 mlxsw_reg_pmlp_module_set(pmlp_pl, i, port_mapping->module);
683 port_mapping->module);
688 u8 slot_index, u8 module)
695 mlxsw_env_module_port_unmap(mlxsw_sp->core, slot_index, module);
706 mlxsw_sp_port->mapping.module);
718 mlxsw_sp_port->mapping.module);
731 mlxsw_sp_port->mapping.module);
1565 u8 module = mlxsw_sp_port->mapping.module;
1570 module, &overheat_counter);
1624 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Failed to map module\n",
1897 port_mapping->module);
1905 u8 module = mlxsw_sp_port->mapping.module;
1926 mlxsw_sp_port_module_unmap(mlxsw_sp, local_port, slot_index, module);
2289 mlxsw_sp_port->mapping.module,
2355 mlxsw_sp_port->mapping.module,
3316 dev_err(mlxsw_sp->bus_info->dev, "Failed to init port module info\n");