Defined in 8 files as a function:
- drivers/hwmon/f71805f.c, line 196 (as a function)
- drivers/hwmon/it87.c, line 674 (as a function)
- drivers/hwmon/nct6683.c, line 495 (as a function)
- drivers/hwmon/nct6694-hwmon.c, line 136 (as a function)
- drivers/hwmon/nct6775-core.c, line 1000 (as a function)
- drivers/hwmon/vt1211.c, line 145 (as a function)
- drivers/hwmon/w83627ehf.c, line 291 (as a function)
- drivers/hwmon/w83795.c, line 225 (as a function)
Referenced in 8 files:
- drivers/hwmon/f71805f.c
- drivers/hwmon/it87.c, line 1012
- drivers/hwmon/nct6683.c, line 680
- drivers/hwmon/nct6694-hwmon.c
- drivers/hwmon/nct6775-core.c, line 1723
- drivers/hwmon/vt1211.c
- drivers/hwmon/w83627ehf.c
- drivers/hwmon/w83795.c, line 1503
Smatch caller information:
drivers/hwmon/nct6694-hwmon.c nct6694_in_read() -> in_from_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/nct6694-hwmon.c nct6694_in_read() -> in_from_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/nct6694-hwmon.c nct6694_in_read() -> in_from_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/it87.c show_in() -> in_from_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ix | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 0-255 |
| PARAM_VALUE | 2 | scale_in | 0-255 |
| BUF_SIZE | 0 | ix | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ix | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ix | r it87_update_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | reg | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/w83627ehf.c w83627ehf_do_read_in() -> in_from_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 2 | scale_in | 18,20 |
| DATA_SOURCE | 1 | reg | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/w83627ehf.c w83627ehf_do_read_in() -> in_from_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 2 | scale_in | 18,20 |
| DATA_SOURCE | 1 | reg | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/w83627ehf.c w83627ehf_do_read_in() -> in_from_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 2 | scale_in | 18,20 |
| DATA_SOURCE | 1 | reg | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/vt1211.c show_in() -> in_from_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ix | 0-255 |
| PARAM_VALUE | 1 | reg | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ix | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/vt1211.c show_in() -> in_from_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ix | 0-255 |
| PARAM_VALUE | 1 | reg | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ix | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/vt1211.c show_in() -> in_from_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ix | 0-255 |
| PARAM_VALUE | 1 | reg | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ix | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/nct6683.c show_in_reg() -> in_from_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ix | 0-255 |
| PARAM_VALUE | 1 | reg | 0-31 |
| 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/f71805f.c show_in() -> in_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/f71805f.c show_in_max() -> in_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/f71805f.c show_in_min() -> in_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/nct6775-core.c show_in_reg() -> in_from_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | reg | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/w83795.c show_in() -> in_from_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ix | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |