Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-lg4ff.c lg4ff_alternate_modes_store() -> lg4ff_get_mode_switch_command()

Type Parameter Key Value
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-lg4ff.c lg4ff_handle_multimode_wheel() -> lg4ff_get_mode_switch_command()

Type Parameter Key Value
PARAM_VALUE 0 real_product_id 1-49811,49813-u16max
PARAM_VALUE 1 target_product_id 1-49811,49813-u16max
DATA_SOURCE 0 real_product_id r lg4ff_identify_multimode_wheel
DATA_SOURCE 1 target_product_id r lg4ff_identify_multimode_wheel
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hid->driver_input_lock
TYPE_LOCK (struct hid_device)->driver_input_lock