Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hwmon/max31827.c temp1_resolution_store() -> shutdown_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->resolution | 0-3,5-u32max |
| PARAM_VALUE | 1 | reg | 2 |
| PARAM_VALUE | 2 | mask | 192 |
| PARAM_VALUE | 3 | val | 0,64-192 |
| BUF_SIZE | 0 | st | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | st | s32min-(-2),1-s32max |
| BIT_INFO | 3 | val | 0x0,0xc0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | st | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/max31827.c write_alarm_val() -> shutdown_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 4,6,8,10 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | st | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | st | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | st | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| HARD_MAX | 1 | reg | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | val | 0-u32max |
| UNITS | 0 | st | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |