Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/occ/common.c occ_poll() -> (struct occ)->send_cmd()

Type Parameter Key Value
PARAM_VALUE 0 occ 4096-ptr_max
PARAM_VALUE 0 occ->lock.dep_map->name 0-255
PARAM_VALUE 0 occ->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 occ->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 occ->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 occ->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 occ->lock.wait_lock.owner (-1)
PARAM_VALUE 0 occ->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 occ->poll_cmd_data 0,16,32
PARAM_VALUE 0 occ->powr_sample_time_us 0,250,500
PARAM_VALUE 0 occ->send_cmd 0,2958491065109020672,3464263004002525184
PARAM_VALUE 1 cmd 4096-ptr_max
PARAM_VALUE 2 len 7
PARAM_VALUE 3 resp 4096-ptr_max
PARAM_VALUE 4 resp_len 4096
BUF_SIZE 0 occ s32min-(-1),1-s32max
BUF_SIZE 0 occ s32min-(-1),1-s32max
BUF_SIZE 0 occ->bus_dev (-1),1616
BUF_SIZE 1 cmd 7
BUF_SIZE 3 resp 4096
DATA_SOURCE 0 occ $0
CONTAINER 0 -4192+0 $(-1)
CONTAINER 3 -4192+8 $(-1)
TASK_NOT_RUNNING
LOCK2 0 &occ->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 0 &occ->hwmon_lock
TYPE_LOCK (struct occ)->lock

drivers/hwmon/occ/common.c occ_set_user_power_cap() -> (struct occ)->send_cmd()

Type Parameter Key Value
PARAM_VALUE 0 occ 4096-ptr_max
PARAM_VALUE 0 occ->lock.dep_map->name 0-255
PARAM_VALUE 0 occ->lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 occ->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 occ->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 occ->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 occ->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 occ->lock.wait_lock.owner (-1)
PARAM_VALUE 0 occ->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd 4096-ptr_max
PARAM_VALUE 2 len 8
PARAM_VALUE 3 resp 5458494490038259712
PARAM_VALUE 4 resp_len 8
BUF_SIZE 0 occ s32min-(-2),1-s32max
BUF_SIZE 0 occ s32min-(-2),1-s32max
BUF_SIZE 1 cmd 8
BUF_SIZE 3 resp 8
CAPPED_DATA 0 &occ->lock 1
DATA_SOURCE 0 occ $0
CONTAINER 0 -4192+0 $(-1)
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 0 &occ->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct occ)->lock