Lines Matching defs:module
5 #include <linux/module.h>
448 u8 module;
457 module = mlxsw_reg_pmlp_module_get(pmlp_pl, 0);
462 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: width value is not power of 2\n",
468 if (mlxsw_reg_pmlp_module_get(pmlp_pl, i) != module) {
469 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: contains multiple modules\n",
476 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: TX and RX lane numbers are different\n",
481 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Unsupported module config: TX and RX lane numbers are not sequential\n",
487 port_mapping->module = module;
503 mlxsw_reg_pmlp_module_set(pmlp_pl, i, port_mapping->module);
1376 u8 module = mlxsw_sp_port->mapping.module;
1380 err = mlxsw_env_module_overheat_counter_get(mlxsw_sp->core, module,
1403 port_mapping->module + 1, split,
1447 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Failed to map module\n",
1925 mlxsw_sp_port->mapping.module);
1927 netdev_err(mlxsw_sp_port->dev, "Cannot get max width of port module\n");
1928 NL_SET_ERR_MSG_MOD(extack, "Cannot get max width of port module");
2013 mlxsw_sp_port->mapping.module);
2015 netdev_err(mlxsw_sp_port->dev, "Cannot get max width of port module\n");
2016 NL_SET_ERR_MSG_MOD(extack, "Cannot get max width of port module");
2679 dev_err(mlxsw_sp->bus_info->dev, "Failed to init port module info\n");