Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hwmon/abituguru.c abituguru_detect_bank1_sensor_type() -> abituguru_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->alarms | 0 |
| PARAM_VALUE | 0 | data->bank1_address | 0 |
| PARAM_VALUE | 0 | data->bank1_max_value | 0 |
| PARAM_VALUE | 0 | data->bank1_sensors | 0 |
| PARAM_VALUE | 0 | data->sysfs_attr | 0 |
| PARAM_VALUE | 0 | data->sysfs_names | 0 |
| PARAM_VALUE | 0 | data->uguru_ready | 0-1 |
| PARAM_VALUE | 0 | data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | data->update_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | data->update_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | *data->sysfs_names | 0-127 |
| PARAM_VALUE | 1 | bank_addr | 35 |
| PARAM_VALUE | 3 | buf | 4096-ptr_max |
| PARAM_VALUE | 4 | count | 3 |
| BUF_SIZE | 0 | data | 16912 |
| BUF_SIZE | 3 | buf | 3 |
| DATA_SOURCE | 0 | data | $0 |
| DATA_SOURCE | 2 | sensor_addr | $1 |
| MEM_ZERO | 0 | data | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/abituguru.c abituguru_detect_bank1_sensor_type() -> abituguru_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->alarms | 0 |
| PARAM_VALUE | 0 | data->bank1_address | 0 |
| PARAM_VALUE | 0 | data->bank1_max_value | 0 |
| PARAM_VALUE | 0 | data->bank1_sensors | 0 |
| PARAM_VALUE | 0 | data->sysfs_attr | 0 |
| PARAM_VALUE | 0 | data->sysfs_names | 0 |
| PARAM_VALUE | 0 | data->uguru_ready | 0-1 |
| PARAM_VALUE | 0 | data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | data->update_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | data->update_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | *data->sysfs_names | 0-127 |
| PARAM_VALUE | 1 | bank_addr | 35 |
| PARAM_VALUE | 3 | buf | 4096-ptr_max |
| PARAM_VALUE | 4 | count | 3 |
| BUF_SIZE | 0 | data | 16912 |
| BUF_SIZE | 3 | buf | 3 |
| DATA_SOURCE | 0 | data | $0 |
| DATA_SOURCE | 2 | sensor_addr | $1 |
| MEM_ZERO | 0 | data | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/abituguru.c abituguru_detect_bank1_sensor_type() -> abituguru_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->alarms | 0 |
| PARAM_VALUE | 0 | data->bank1_address | 0 |
| PARAM_VALUE | 0 | data->bank1_max_value | 0 |
| PARAM_VALUE | 0 | data->bank1_sensors | 0 |
| PARAM_VALUE | 0 | data->sysfs_attr | 0 |
| PARAM_VALUE | 0 | data->sysfs_names | 0 |
| PARAM_VALUE | 0 | data->uguru_ready | 0-1 |
| PARAM_VALUE | 0 | data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | data->update_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | data->update_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | *data->sysfs_names | 0-127 |
| PARAM_VALUE | 1 | bank_addr | 35 |
| PARAM_VALUE | 4 | count | 3 |
| BUF_SIZE | 0 | data | 16912 |
| BUF_SIZE | 3 | buf | 3 |
| DATA_SOURCE | 0 | data | $0 |
| DATA_SOURCE | 2 | sensor_addr | $1 |
| MEM_ZERO | 0 | data | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/abituguru.c store_bank1_mask() -> abituguru_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->bank1_settings | 4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | data->update_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | bank_addr | 35 |
| PARAM_VALUE | 4 | count | 3 |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | buf | 3 |
| CAPPED_DATA | 0 | &data->update_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | data | unit_byte |
| UNITS | 2 | sensor_addr | unit_array_size |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &data->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct abituguru_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/abituguru.c store_bank1_setting() -> abituguru_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->bank1_max_value | 4096-ptr_max |
| PARAM_VALUE | 0 | data->bank1_settings | 4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | data->update_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | bank_addr | 35 |
| PARAM_VALUE | 3 | buf | 4096-ptr_max |
| PARAM_VALUE | 4 | count | 3 |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | buf | 3 |
| CAPPED_DATA | 0 | &data->update_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | data | unit_byte |
| UNITS | 2 | sensor_addr | unit_array_size |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &data->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct abituguru_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/abituguru.c store_bank2_mask() -> abituguru_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->bank2_settings | 4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | data->update_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | bank_addr | 40 |
| PARAM_VALUE | 4 | count | 2 |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | buf | 2 |
| CAPPED_DATA | 0 | &data->update_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | data | unit_byte |
| UNITS | 2 | sensor_addr | unit_array_size |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &data->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct abituguru_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/abituguru.c store_bank2_setting() -> abituguru_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->bank2_settings | 4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | data->update_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | bank_addr | 40 |
| PARAM_VALUE | 3 | buf | 4096-ptr_max |
| PARAM_VALUE | 4 | count | 2 |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | buf | 2 |
| CAPPED_DATA | 0 | &data->update_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | data | unit_byte |
| UNITS | 2 | sensor_addr | unit_array_size |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &data->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct abituguru_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/abituguru.c store_pwm_enable() -> abituguru_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->pwm_settings | 4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | data->update_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | bank_addr | 37 |
| PARAM_VALUE | 4 | count | 5 |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | buf | 5 |
| CAPPED_DATA | 0 | &data->update_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | data | unit_byte |
| UNITS | 2 | sensor_addr | unit_array_size |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &data->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct abituguru_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/abituguru.c store_pwm_sensor() -> abituguru_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->bank1_address | 4096-ptr_max |
| PARAM_VALUE | 0 | data->bank1_sensors | 4096-ptr_max |
| PARAM_VALUE | 0 | data->pwm_settings | 4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | data->update_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | bank_addr | 37 |
| PARAM_VALUE | 4 | count | 5 |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | buf | 5 |
| CAPPED_DATA | 0 | &data->update_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | data | unit_byte |
| UNITS | 2 | sensor_addr | unit_array_size |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &data->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct abituguru_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/abituguru.c store_pwm_setting() -> abituguru_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->pwm_settings | 4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | data->update_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | data->update_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | bank_addr | 37 |
| PARAM_VALUE | 3 | buf | 4096-ptr_max |
| PARAM_VALUE | 4 | count | 5 |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | buf | 5 |
| CAPPED_DATA | 0 | &data->update_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | data | unit_byte |
| UNITS | 2 | sensor_addr | unit_array_size |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &data->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct abituguru_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |