Defined in 19 files as a macro:
- drivers/hwmon/adm1025.c, line 86 (as a macro)
- drivers/hwmon/adm1026.c, line 216 (as a macro)
- drivers/hwmon/adm1029.c, line 66 (as a macro)
- drivers/hwmon/adm1031.c, line 201 (as a macro)
- drivers/hwmon/f75375s.c, line 547 (as a macro)
- drivers/hwmon/fschmd.c, line 336 (as a macro)
- drivers/hwmon/gl518sm.c, line 78 (as a macro)
- drivers/hwmon/gl520sm.c, line 497 (as a macro)
- drivers/hwmon/it87.c, line 702 (as a macro)
- drivers/hwmon/k8temp.c, line 20 (as a macro)
- drivers/hwmon/lm80.c, line 76 (as a macro)
- drivers/hwmon/lm85.c, line 150 (as a macro)
- drivers/hwmon/lm87.c, line 113 (as a macro)
- drivers/hwmon/pc87360.c, line 178 (as a macro)
- drivers/hwmon/via686a.c, line 280 (as a macro)
- drivers/hwmon/vt8231.c, line 90 (as a macro)
- drivers/hwmon/w83781d.c, line 172 (as a macro)
- drivers/hwmon/w83l785ts.c, line 59 (as a macro)
- drivers/net/ethernet/intel/ice/ice_hwmon.c, line 10 (as a macro)
Defined in 8 files as a function:
- drivers/hwmon/asb100.c, line 143 (as a function)
- drivers/hwmon/dme1737.c, line 279 (as a function)
- drivers/hwmon/lm78.c, line 103 (as a function)
- drivers/hwmon/lm92.c, line 60 (as a function)
- drivers/hwmon/sis5595.c, line 145 (as a function)
- drivers/hwmon/smsc47m192.c, line 80 (as a function)
- drivers/hwmon/w83627hf.c, line 275 (as a function)
- drivers/hwmon/w83793.c, line 194 (as a function)
Referenced in 26 files:
- drivers/hwmon/adm1025.c
- drivers/hwmon/adm1026.c
- drivers/hwmon/adm1029.c, line 164
- drivers/hwmon/adm1031.c
- drivers/hwmon/asb100.c, line 410
- drivers/hwmon/dme1737.c
- drivers/hwmon/f75375s.c
- drivers/hwmon/fschmd.c
- drivers/hwmon/gl520sm.c
- drivers/hwmon/it87.c
- drivers/hwmon/k8temp.c, line 112
- drivers/hwmon/lm78.c
- drivers/hwmon/lm80.c, line 408
- drivers/hwmon/lm85.c
- drivers/hwmon/lm87.c
- drivers/hwmon/lm92.c
- drivers/hwmon/pc87360.c
- drivers/hwmon/sis5595.c
- drivers/hwmon/smsc47m192.c
- drivers/hwmon/via686a.c
- drivers/hwmon/vt8231.c, line 475
- drivers/hwmon/w83627hf.c
- drivers/hwmon/w83781d.c, line 357
- drivers/hwmon/w83793.c
- drivers/hwmon/w83l785ts.c, line 117
- drivers/net/ethernet/intel/ice/ice_hwmon.c
Smatch caller information:
drivers/hwmon/lm92.c lm92_temp_read() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/hwmon/lm92.c lm92_temp_read() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/hwmon/lm92.c lm92_temp_read() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/hwmon/lm92.c lm92_temp_read() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/hwmon/lm92.c lm92_temp_read() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/hwmon/lm92.c lm92_temp_write() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/hwmon/w83793.c show_sf2_temp() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 0-127 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/w83793.c show_sf_ctrl() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 0-127 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/w83793.c show_sf_ctrl() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 0-15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/w83793.c show_sf_setup() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 0-127 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/w83793.c show_temp() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/w83627hf.c temp_max_hyst_show() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/w83627hf.c temp_max_show() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/w83627hf.c temp_show() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/sis5595.c temp1_input_show() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-128)-127 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | val | 0-127 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/sis5595.c temp1_max_hyst_show() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-128)-127 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | val | 0-127 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/sis5595.c temp1_max_show() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-128)-127 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | val | 0-127 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/asb100.c sprintf_temp_from_reg() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | val | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/lm78.c temp1_input_show() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-128)-127 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/lm78.c temp1_max_hyst_show() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-128)-127 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/lm78.c temp1_max_show() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-128)-127 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/smsc47m192.c temp_max_show() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/smsc47m192.c temp_min_show() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/smsc47m192.c temp_offset_show() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/smsc47m192.c temp_show() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c set_zone() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-128)-127 |
| PARAM_VALUE | 1 | res | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dme1737_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c set_zone() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-128)-127 |
| PARAM_VALUE | 1 | res | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dme1737_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c show_temp() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | s16min-s16max |
| PARAM_VALUE | 1 | res | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c show_temp() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-128)-127 |
| PARAM_VALUE | 1 | res | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c show_temp() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-128)-127 |
| PARAM_VALUE | 1 | res | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c show_temp() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-128)-127 |
| PARAM_VALUE | 1 | res | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c show_zone() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-128)-127 |
| PARAM_VALUE | 1 | res | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c show_zone() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-128)-127 |
| PARAM_VALUE | 1 | res | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c show_zone() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-128)-127 |
| PARAM_VALUE | 1 | res | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c show_zone() -> TEMP_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-128)-127 |
| PARAM_VALUE | 1 | res | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |