Defined in 3 files as a function:
- drivers/hwmon/f71805f.c, line 279 (as a function)
- drivers/hwmon/nct6694-hwmon.c, line 151 (as a function)
- drivers/hwmon/w83795.c, line 271 (as a function)
Referenced in 3 files:
Smatch caller information:
drivers/hwmon/nct6694-hwmon.c nct6694_temp_write() -> temp_to_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-127000)-127000 |
| DATA_SOURCE | 0 | val | $3 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | val | (-126999)-126999 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/hwmon/nct6694-hwmon.c nct6694_temp_write() -> temp_to_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | (-127000)-127000 |
| DATA_SOURCE | 0 | val | $3 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | val | (-126999)-126999 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/hwmon/f71805f.c set_pwm_auto_point_temp() -> temp_to_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | val | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 0 | val | |
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct f71805f_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/f71805f.c set_temp_hyst() -> temp_to_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | val | s64min-s64max |
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct f71805f_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/f71805f.c set_temp_max() -> temp_to_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | val | s64min-s64max |
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct f71805f_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/w83795.c store_dts_ext() -> temp_to_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | min | (-128) |
| PARAM_VALUE | 2 | max | 127 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | val | s64min-s64max |
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct w83795_data)->update_lock |
drivers/hwmon/w83795.c store_temp() -> temp_to_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | min | (-128) |
| PARAM_VALUE | 2 | max | 127 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | val | s64min-s64max |
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct w83795_data)->update_lock |