Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/misc/ad525x_dpot.c sysfs_do_cmd() -> dpot_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dpot->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dpot->update_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dpot->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dpot->update_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dpot->update_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dpot->update_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dpot->update_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | reg | 160,176,200,216 |
| PARAM_VALUE | 2 | value | 0 |
| BUF_SIZE | 0 | dpot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dpot | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &dpot->update_lock | 1 |
| DATA_SOURCE | 1 | reg | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dpot | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &dpot->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dpot_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/misc/ad525x_dpot.c sysfs_set_reg() -> dpot_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dpot | 4096-ptr_max |
| PARAM_VALUE | 0 | dpot->otp_en_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dpot->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dpot->update_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dpot->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dpot->update_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dpot->update_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dpot->update_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dpot->update_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | reg | 0-5,32-37,64-69 |
| BUF_SIZE | 0 | dpot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dpot | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &dpot->update_lock | 1 |
| CAPPED_DATA | 2 | value | 1 |
| DATA_SOURCE | 1 | reg | $4 |
| BIT_INFO | 1 | reg | 0x0,0x1ff |
| NOSPEC | 2 | value | |
| NOSPEC | 2 | value | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | value | 0-u16max[c] |
| NO_OVERFLOW_SIMPLE | 2 | value | |
| UNITS | 0 | dpot | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &dpot->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dpot_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |