Defined in 1 files as a member:
Defined in 2 files as a function:
Referenced in 6 files:
- drivers/hid/hid-haptic.c
- drivers/hid/hid-lg2ff.c, line 75
- drivers/hid/hid-nvidia-shield.c
- drivers/hid/hid-playstation.c
- drivers/input/ff-memless.c
- include/linux/input.h, line 605
Smatch caller information:
drivers/hid/hid-haptic.c haptic_work_handler() -> play_effect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | haptic->manual_trigger_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | haptic->manual_trigger_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | haptic->manual_trigger_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | haptic->manual_trigger_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | haptic->manual_trigger_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | haptic->manual_trigger_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | effect | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | haptic | 40,1696 |
| BUF_SIZE | 1 | haptic | 40,1696 |
| CAPPED_DATA | 1 | &haptic->manual_trigger_mutex | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | hdev | unit_byte |
| LOCK2 | 1 | &haptic->manual_trigger_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hid_haptic_device)->manual_trigger_mutex |
drivers/hid/hid-haptic.c haptic_work_handler() -> play_effect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | haptic->manual_trigger_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | haptic->manual_trigger_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | haptic->manual_trigger_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | haptic->manual_trigger_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | haptic->manual_trigger_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | haptic->manual_trigger_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | haptic->manual_trigger_report_len | 0-u32max |
| PARAM_VALUE | 2 | effect | 4096-ptr_max |
| PARAM_VALUE | 2 | effect->input_dev | 4096-ptr_max |
| PARAM_VALUE | 2 | effect->input_dev->ff | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | haptic | 40,1696 |
| BUF_SIZE | 1 | haptic | 40,1696 |
| CAPPED_DATA | 1 | &haptic->manual_trigger_mutex | 1 |
| CAPPED_DATA | 1 | &haptic->stop_effect | 1 |
| CAPPED_DATA | 2 | effect | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | hdev | unit_byte |
| LOCK2 | 1 | &haptic->manual_trigger_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hid_haptic_device)->manual_trigger_mutex |
drivers/input/ff-memless.c ml_play_effects() -> (struct ml_device)->play_effect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | effect | 4650425417751252992 |
| PARAM_VALUE | 2 | effect->id | 0 |
| PARAM_VALUE | 2 | effect->replay.delay | 0 |
| PARAM_VALUE | 2 | effect->replay.length | 0 |
| PARAM_VALUE | 2 | effect->trigger.button | 0 |
| PARAM_VALUE | 2 | effect->trigger.interval | 0 |
| PARAM_VALUE | 2 | effect->u.constant.envelope.attack_length | 0 |
| PARAM_VALUE | 2 | effect->u.constant.envelope.attack_level | 0 |
| PARAM_VALUE | 2 | effect->u.constant.envelope.fade_length | 0 |
| PARAM_VALUE | 2 | effect->u.constant.envelope.fade_level | 0 |
| PARAM_VALUE | 2 | effect->u.constant.level | 0 |
| PARAM_VALUE | 2 | effect->u.haptic.hid_usage | 0 |
| PARAM_VALUE | 2 | effect->u.haptic.intensity | 0 |
| PARAM_VALUE | 2 | effect->u.haptic.repeat_count | 0 |
| PARAM_VALUE | 2 | effect->u.haptic.retrigger_period | 0 |
| PARAM_VALUE | 2 | effect->u.haptic.vendor_id | 0 |
| PARAM_VALUE | 2 | effect->u.haptic.vendor_waveform_page | 0 |
| PARAM_VALUE | 2 | effect->u.periodic.custom_data | 0 |
| PARAM_VALUE | 2 | effect->u.periodic.custom_len | 0 |
| PARAM_VALUE | 2 | effect->u.periodic.envelope.attack_length | 0 |
| PARAM_VALUE | 2 | effect->u.periodic.envelope.attack_level | 0 |
| PARAM_VALUE | 2 | effect->u.periodic.envelope.fade_length | 0 |
| PARAM_VALUE | 2 | effect->u.periodic.envelope.fade_level | 0 |
| PARAM_VALUE | 2 | effect->u.periodic.magnitude | 0 |
| PARAM_VALUE | 2 | effect->u.periodic.offset | 0 |
| PARAM_VALUE | 2 | effect->u.periodic.period | 0 |
| PARAM_VALUE | 2 | effect->u.periodic.phase | 0 |
| PARAM_VALUE | 2 | effect->u.periodic.waveform | 0 |
| PARAM_VALUE | 2 | effect->u.ramp.end_level | (-128)-127 |
| PARAM_VALUE | 2 | effect->u.ramp.envelope.attack_length | 0 |
| PARAM_VALUE | 2 | effect->u.ramp.envelope.attack_level | 0 |
| PARAM_VALUE | 2 | effect->u.ramp.envelope.fade_length | 0 |
| PARAM_VALUE | 2 | effect->u.ramp.envelope.fade_level | 0 |
| PARAM_VALUE | 2 | effect->u.ramp.start_level | (-128)-127 |
| BUF_SIZE | 1 | haptic | s32min-(-2),1-s32max |
| CONTAINER | 0 | *(-880+872) | $(-1) |
| CONTAINER | 1 | *(-880+0) | $(-1) |
| MEM_ZERO | 2 | effect | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | effect->u.ramp.end_level | (-127)-126[c] |
| USER_DATA | 2 | effect->u.ramp.start_level | (-127)-126[c] |
| USER_DATA | 2 | effect->u.rumble.strong_magnitude | 0[c] |
| USER_DATA | 2 | effect->u.rumble.weak_magnitude | 0[c] |
| HALF_LOCKED2 | &dev->event_lock | ||
| HALF_LOCKED2 | irq |