Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/ltc2947-core.c ltc2947_reset_history() -> ltc2947_val_write()

Type Parameter Key Value
PARAM_VALUE 1 reg 64,68,80,84,88
PARAM_VALUE 2 page 0
PARAM_VALUE 3 size 2
PARAM_VALUE 4 val 32768
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 88
RX_PATH
TASK_NOT_RUNNING
UNITS 0 st unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock

drivers/hwmon/ltc2947-core.c ltc2947_reset_history() -> ltc2947_val_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->map 4096-ptr_max
PARAM_VALUE 0 st->map->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 st->map->cache_dirty 0-1
PARAM_VALUE 0 *st->map->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 reg 66,70,82,86,90
PARAM_VALUE 2 page 0
PARAM_VALUE 3 size 2
PARAM_VALUE 4 val s16max
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
CAPPED_DATA 0 st->map->wr_table->n_no_ranges 1
CAPPED_DATA 0 st->map->wr_table->n_yes_ranges 1
DATA_SOURCE 0 st $0
DATA_SOURCE 1 reg $2
HARD_MAX 1 reg 90
RX_PATH
TASK_NOT_RUNNING
UNITS 0 st unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock

drivers/hwmon/ltc2947-core.c ltc2947_setup() -> ltc2947_val_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->dev 4096-ptr_max
PARAM_VALUE 0 st->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 st->map 4096-ptr_max
PARAM_VALUE 0 st->map->lock 4096-ptr_max
PARAM_VALUE 0 st->map->unlock 4096-ptr_max
PARAM_VALUE 0 *st->map->cache->data 0-4294967295
PARAM_VALUE 1 reg 132
PARAM_VALUE 2 page 1
PARAM_VALUE 3 size 2
PARAM_VALUE 4 val 2250
BUF_SIZE 0 st 24
DATA_SOURCE 0 st $0
MEM_ZERO 0 st
RX_PATH
TASK_NOT_RUNNING

drivers/hwmon/ltc2947-core.c ltc2947_setup() -> ltc2947_val_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->dev 4096-ptr_max
PARAM_VALUE 0 st->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 st->map 4096-ptr_max
PARAM_VALUE 0 st->map->cache->cached_rbnode->blklen 1-4294967295
PARAM_VALUE 0 st->map->cache_dirty 0-1
PARAM_VALUE 0 st->map->lock 4096-ptr_max
PARAM_VALUE 0 st->map->unlock 4096-ptr_max
PARAM_VALUE 0 *st->map->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 reg 134
PARAM_VALUE 2 page 1
PARAM_VALUE 3 size 2
PARAM_VALUE 4 val 18446744073709549366
BUF_SIZE 0 st 24
CAPPED_DATA 0 st->map->wr_table->n_no_ranges 1
CAPPED_DATA 0 st->map->wr_table->n_yes_ranges 1
DATA_SOURCE 0 st $0
MEM_ZERO 0 st
RX_PATH
TASK_NOT_RUNNING

drivers/hwmon/ltc2947-core.c ltc2947_write_curr() -> ltc2947_val_write()

Type Parameter Key Value
PARAM_VALUE 1 reg 128
PARAM_VALUE 2 page 1
PARAM_VALUE 3 size 2
PARAM_VALUE 4 val 0-2500,18446744073709549116-u64max
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 val 0-2500,18446744073709549116-u64max[c]
UNITS 0 st unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/ltc2947-core.c ltc2947_write_curr() -> ltc2947_val_write()

Type Parameter Key Value
PARAM_VALUE 1 reg 130
PARAM_VALUE 2 page 1
PARAM_VALUE 3 size 2
PARAM_VALUE 4 val 0-2500,18446744073709549116-u64max
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 val 0-2500,18446744073709549116-u64max[c]
UNITS 0 st unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/ltc2947-core.c ltc2947_write_in() -> ltc2947_val_write()

Type Parameter Key Value
PARAM_VALUE 1 reg 152
PARAM_VALUE 2 page 1
PARAM_VALUE 3 size 2
PARAM_VALUE 4 val 33-103
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 val 33-103[c]
UNITS 0 st unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/ltc2947-core.c ltc2947_write_in() -> ltc2947_val_write()

Type Parameter Key Value
PARAM_VALUE 1 reg 144
PARAM_VALUE 2 page 1
PARAM_VALUE 3 size 2
PARAM_VALUE 4 val 0-7750,18446744073709551466-u64max
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 val 0-7750,18446744073709551466-u64max[c]
UNITS 0 st unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/ltc2947-core.c ltc2947_write_in() -> ltc2947_val_write()

Type Parameter Key Value
PARAM_VALUE 1 reg 154
PARAM_VALUE 2 page 1
PARAM_VALUE 3 size 2
PARAM_VALUE 4 val 33-103
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 val 33-103[c]
UNITS 0 st unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/ltc2947-core.c ltc2947_write_in() -> ltc2947_val_write()

Type Parameter Key Value
PARAM_VALUE 1 reg 146
PARAM_VALUE 2 page 1
PARAM_VALUE 3 size 2
PARAM_VALUE 4 val 0-7750,18446744073709551466-u64max
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 val 0-7750,18446744073709551466-u64max[c]
UNITS 0 st unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/ltc2947-core.c ltc2947_write_power() -> ltc2947_val_write()

Type Parameter Key Value
PARAM_VALUE 1 reg 132
PARAM_VALUE 2 page 1
PARAM_VALUE 3 size 2
PARAM_VALUE 4 val 0-2250,18446744073709549366-u64max
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 val 0-2250,18446744073709549366-u64max[c]
UNITS 0 st unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/ltc2947-core.c ltc2947_write_power() -> ltc2947_val_write()

Type Parameter Key Value
PARAM_VALUE 1 reg 134
PARAM_VALUE 2 page 1
PARAM_VALUE 3 size 2
PARAM_VALUE 4 val 0-2250,18446744073709549366-u64max
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 val 0-2250,18446744073709549366-u64max[c]
UNITS 0 st unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/ltc2947-core.c ltc2947_write_temp() -> ltc2947_val_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->gpio_out 1
PARAM_VALUE 1 reg 156
PARAM_VALUE 2 page 1
PARAM_VALUE 3 size 2
PARAM_VALUE 4 val 0-414,18446744073709551417-u64max
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 val 0-414,18446744073709551417-u64max[c]
UNITS 0 st unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tz->lock

drivers/hwmon/ltc2947-core.c ltc2947_write_temp() -> ltc2947_val_write()

Type Parameter Key Value
PARAM_VALUE 1 reg 148
PARAM_VALUE 2 page 1
PARAM_VALUE 3 size 2
PARAM_VALUE 4 val 0-414,18446744073709551417-u64max
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 val 0-414,18446744073709551417-u64max[c]
UNITS 0 st unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tz->lock

drivers/hwmon/ltc2947-core.c ltc2947_write_temp() -> ltc2947_val_write()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->gpio_out 1
PARAM_VALUE 1 reg 158
PARAM_VALUE 2 page 1
PARAM_VALUE 3 size 2
PARAM_VALUE 4 val 0-414,18446744073709551417-u64max
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 val 0-414,18446744073709551417-u64max[c]
UNITS 0 st unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tz->lock

drivers/hwmon/ltc2947-core.c ltc2947_write_temp() -> ltc2947_val_write()

Type Parameter Key Value
PARAM_VALUE 1 reg 150
PARAM_VALUE 2 page 1
PARAM_VALUE 3 size 2
PARAM_VALUE 4 val 0-414,18446744073709551417-u64max
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 val 0-414,18446744073709551417-u64max[c]
UNITS 0 st unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tz->lock