Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-msi.c gamepad_mode_store() -> claw_switch_mode()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 1 field 0
PARAM_VALUE 2 val 0-4
RX_PATH
TASK_NOT_RUNNING
UNITS 2 val unit_array_size
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hid/hid-msi.c mkeys_function_store() -> claw_switch_mode()

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