Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/mellanox/mlxsw/core_env.c, line 229
- drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c
- drivers/net/ethernet/mellanox/mlxsw/core_thermal.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlxsw/core_env.c mlxsw_env_module_temp_thresholds_get() -> mlxsw_reg_mtmp_unpack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | payload | 756124118671110144 |
| PARAM_VALUE | 1 | p_temp | 6814030719139520512 |
| PARAM_VALUE | 2 | p_max_temp | 0 |
| PARAM_VALUE | 3 | p_temp_hi | 6502513720437526528 |
| PARAM_VALUE | 4 | p_max_oper_temp | 3518902847851114496 |
| PARAM_VALUE | 5 | sensor_name | 0 |
| BUF_SIZE | 0 | payload | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c mlxsw_thermal_gearbox_temp_get() -> mlxsw_reg_mtmp_unpack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | payload | 2141164468636209152 |
| PARAM_VALUE | 1 | p_temp | 7599925960187068416 |
| PARAM_VALUE | 2 | p_max_temp | 0 |
| PARAM_VALUE | 3 | p_temp_hi | 0 |
| PARAM_VALUE | 4 | p_max_oper_temp | 0 |
| PARAM_VALUE | 5 | sensor_name | 0 |
| BUF_SIZE | 0 | payload | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tzdev->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c mlxsw_thermal_get_temp() -> mlxsw_reg_mtmp_unpack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | payload | 558529333573505024 |
| PARAM_VALUE | 1 | p_temp | 5252164031207927808 |
| PARAM_VALUE | 2 | p_max_temp | 0 |
| PARAM_VALUE | 3 | p_temp_hi | 0 |
| PARAM_VALUE | 4 | p_max_oper_temp | 0 |
| PARAM_VALUE | 5 | sensor_name | 0 |
| BUF_SIZE | 0 | payload | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tzdev->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c mlxsw_thermal_module_temp_get() -> mlxsw_reg_mtmp_unpack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | payload | 6857400139169669120 |
| PARAM_VALUE | 2 | p_max_temp | 0 |
| PARAM_VALUE | 3 | p_temp_hi | 0 |
| PARAM_VALUE | 4 | p_max_oper_temp | 0 |
| PARAM_VALUE | 5 | sensor_name | 0 |
| BUF_SIZE | 0 | payload | 32 |
| DATA_SOURCE | 1 | p_temp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tzdev->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c mlxsw_hwmon_module_temp_get() -> mlxsw_reg_mtmp_unpack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | payload | 6607009310323429376 |
| PARAM_VALUE | 1 | p_temp | 1049975184964239360,7277386434217156608,8023471489471131648 |
| PARAM_VALUE | 2 | p_max_temp | 0 |
| PARAM_VALUE | 3 | p_temp_hi | 0 |
| PARAM_VALUE | 4 | p_max_oper_temp | 0 |
| PARAM_VALUE | 5 | sensor_name | 0 |
| BUF_SIZE | 0 | payload | 32 |
| DATA_SOURCE | 1 | p_temp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c mlxsw_hwmon_temp_max_show() -> mlxsw_reg_mtmp_unpack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | payload | 7377286498286866432 |
| PARAM_VALUE | 1 | p_temp | 0 |
| PARAM_VALUE | 2 | p_max_temp | 5667672394624221184 |
| PARAM_VALUE | 3 | p_temp_hi | 0 |
| PARAM_VALUE | 4 | p_max_oper_temp | 0 |
| PARAM_VALUE | 5 | sensor_name | 0 |
| BUF_SIZE | 0 | payload | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c mlxsw_hwmon_temp_show() -> mlxsw_reg_mtmp_unpack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | payload | 7209802602620125184 |
| PARAM_VALUE | 1 | p_temp | 8192230062634696704 |
| PARAM_VALUE | 2 | p_max_temp | 0 |
| PARAM_VALUE | 3 | p_temp_hi | 0 |
| PARAM_VALUE | 4 | p_max_oper_temp | 0 |
| PARAM_VALUE | 5 | sensor_name | 0 |
| BUF_SIZE | 0 | payload | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |