Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/input/misc/ims-pcu.c ims_pcu_process_async_firmware() -> ims_pcu_handle_firmware_update()

Type Parameter Key Value
PARAM_VALUE 1 fw 4096-ptr_max
PARAM_VALUE 1 fw->data->len 0
BUF_SIZE 0 pcu s32min-(-2),1-s32max
BUF_SIZE 0 pcu s32min-(-2),1-s32max
CAPPED_DATA 1 fw->data 1
DATA_SOURCE 0 pcu $1
DATA_SOURCE 1 fw $0
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/input/misc/ims-pcu.c ims_pcu_update_firmware_store() -> ims_pcu_handle_firmware_update()

Type Parameter Key Value
PARAM_VALUE 0 pcu 4096-ptr_max
PARAM_VALUE 0 pcu->bootloader_mode 1
PARAM_VALUE 0 pcu->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 pcu->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 pcu->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 fw 4096-ptr_max
BUF_SIZE 0 pcu s32min-(-2),1-s32max
BUF_SIZE 0 pcu s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pcu unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex