Lines Matching defs:module
251 u8 module;
254 module = mlxsw_hwmon_attr->type_index - mlxsw_hwmon_dev->sensor_count;
256 MLXSW_REG_MTMP_MODULE_INDEX_MIN + module, false,
260 dev_err(dev, "Failed to query module temperature\n");
290 u8 module, fault;
294 module = mlxsw_hwmon_attr->type_index - mlxsw_hwmon_dev->sensor_count;
296 MLXSW_REG_MTBR_BASE_MODULE_INDEX + module);
299 dev_err(dev, "Failed to query module temperature sensor\n");
332 u8 module;
335 module = mlxsw_hwmon_attr->type_index - mlxsw_hwmon_dev->sensor_count;
338 module, SFP_TEMP_HIGH_WARN,
341 dev_err(dev, "Failed to query module temperature thresholds\n");
369 u8 module;
372 module = mlxsw_hwmon_attr->type_index - mlxsw_hwmon_dev->sensor_count;
375 module, SFP_TEMP_HIGH_ALARM,
378 dev_err(dev, "Failed to query module temperature thresholds\n");
701 /* Add extra attributes for module temperature. Sensor index is
800 /* For the main board, module sensor indexes start from 1, sensor index