Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-cp2112.c max_power_store() -> cp2112_set_usb_config()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 1 cfg 3010335612722745344
PARAM_VALUE 1 cfg->mask 4
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hid/hid-cp2112.c power_mode_store() -> cp2112_set_usb_config()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 1 cfg 3167579323746717696
PARAM_VALUE 1 cfg->mask 8
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hid/hid-cp2112.c product_id_store() -> cp2112_set_usb_config()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 1 cfg 2204446228149653504
PARAM_VALUE 1 cfg->mask 2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hid/hid-cp2112.c release_version_store() -> cp2112_set_usb_config()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 1 cfg 2676400496479809536
PARAM_VALUE 1 cfg->mask 16
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hid/hid-cp2112.c vendor_id_store() -> cp2112_set_usb_config()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 1 cfg 5908865953315598336
PARAM_VALUE 1 cfg->mask 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex