Defined in 13 files as a macro:
- drivers/hwmon/adm1025.c, line 81 (as a macro)
- drivers/hwmon/gl518sm.c, line 92 (as a macro)
- drivers/hwmon/gl520sm.c, line 201 (as a macro)
- drivers/hwmon/lm78.c, line 77 (as a macro)
- drivers/hwmon/lm80.c, line 63 (as a macro)
- drivers/hwmon/lm87.c, line 108 (as a macro)
- drivers/hwmon/pc87360.c, line 161 (as a macro)
- drivers/hwmon/sis5595.c, line 125 (as a macro)
- drivers/hwmon/w83627hf.c, line 251 (as a macro)
- drivers/hwmon/w83781d.c, line 150 (as a macro)
- drivers/hwmon/w83791d.c, line 211 (as a macro)
- drivers/hwmon/w83792d.c, line 215 (as a macro)
- drivers/hwmon/w83l786ng.c, line 105 (as a macro)
Defined in 5 files as a function:
- drivers/hwmon/adm9240.c, line 81 (as a function)
- drivers/hwmon/asb100.c, line 108 (as a function)
- drivers/hwmon/dme1737.c, line 262 (as a function)
- drivers/hwmon/smsc47m192.c, line 60 (as a function)
- drivers/hwmon/via686a.c, line 136 (as a function)
Referenced in 17 files:
- drivers/hwmon/adm1025.c
- drivers/hwmon/adm9240.c, line 468
- drivers/hwmon/asb100.c, line 240
- drivers/hwmon/dme1737.c
- drivers/hwmon/gl520sm.c
- drivers/hwmon/lm78.c
- drivers/hwmon/lm80.c, line 268
- drivers/hwmon/lm87.c
- drivers/hwmon/pc87360.c
- drivers/hwmon/sis5595.c
- drivers/hwmon/smsc47m192.c
- drivers/hwmon/via686a.c
- drivers/hwmon/w83627hf.c
- drivers/hwmon/w83781d.c, line 253
- drivers/hwmon/w83791d.c, line 362
- drivers/hwmon/w83792d.c
- drivers/hwmon/w83l786ng.c, line 238
Smatch caller information:
drivers/hwmon/adm9240.c adm9240_in_read() -> IN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | in_num | $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/asb100.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/asb100.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/asb100.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/via686a.c in_max_show() -> IN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | in_num | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/via686a.c in_min_show() -> IN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | in_num | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/via686a.c in_show() -> IN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | in_num | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/smsc47m192.c in_max_show() -> IN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | in_num | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/smsc47m192.c in_min_show() -> IN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | in_num | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/smsc47m192.c in_show() -> IN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | in_num | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c show_in() -> IN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 0-u16max |
| PARAM_VALUE | 2 | 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_in() -> IN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 0-255 |
| PARAM_VALUE | 2 | 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_in() -> IN_FROM_REG()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | val | 0-255 |
| PARAM_VALUE | 2 | 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 |