Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/input/joystick/iforce/iforce-ff.c iforce_upload_constant() -> need_envelope_modifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iforce | 4096-ptr_max |
| PARAM_VALUE | 0 | iforce->core_effects | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | old->type | 79-87 |
| PARAM_VALUE | 2 | effect | 87092731394093056 |
| PARAM_VALUE | 2 | effect->type | 82 |
| BUF_SIZE | 0 | iforce | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | iforce | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | old->type | 1 |
| CAPPED_DATA | 2 | effect->id | 1 |
| DATA_SOURCE | 0 | iforce | $0 |
| DATA_SOURCE | 1 | old | $2 |
| DATA_SOURCE | 2 | effect | $1 |
| NOSPEC | 2 | effect->id | |
| USER_DATA | 2 | effect->direction | 0-u16max |
| USER_DATA | 2 | effect->id | 0-s16max[c] |
| USER_DATA | 2 | effect->replay.delay | 0-u16max |
| USER_DATA | 2 | effect->replay.length | 0-u16max |
| USER_DATA | 2 | effect->trigger.button | 0-u16max |
| USER_DATA | 2 | effect->trigger.interval | 0-u16max |
| USER_DATA | 2 | effect->type | 82[c] |
| USER_DATA | 2 | effect->u.constant.envelope.attack_length | 0-u16max |
| USER_DATA | 2 | effect->u.constant.envelope.attack_level | 0-u16max |
| USER_DATA | 2 | effect->u.constant.envelope.fade_length | 0-u16max |
| USER_DATA | 2 | effect->u.constant.envelope.fade_level | 0-u16max |
| USER_DATA | 2 | effect->u.constant.level | s16min-s16max |
| USER_DATA | 2 | effect->u.haptic.hid_usage | 0-u16max |
| USER_DATA | 2 | effect->u.haptic.intensity | 0-u16max |
| USER_DATA | 2 | effect->u.haptic.repeat_count | 0-u16max |
| USER_DATA | 2 | effect->u.haptic.retrigger_period | 0-u16max |
| USER_DATA | 2 | effect->u.haptic.vendor_id | 0-u16max |
| USER_DATA | 2 | effect->u.haptic.vendor_waveform_page | 0-255 |
| USER_DATA | 2 | effect->u.periodic.custom_len | 0-u32max |
| USER_DATA | 2 | effect->u.periodic.envelope.attack_length | 0-u16max |
| USER_DATA | 2 | effect->u.periodic.envelope.attack_level | 0-u16max |
| USER_DATA | 2 | effect->u.periodic.envelope.fade_length | 0-u16max |
| USER_DATA | 2 | effect->u.periodic.envelope.fade_level | 0-u16max |
| USER_DATA | 2 | effect->u.periodic.magnitude | s16min-s16max |
| USER_DATA | 2 | effect->u.periodic.offset | s16min-s16max |
| USER_DATA | 2 | effect->u.periodic.period | 0-u16max |
| USER_DATA | 2 | effect->u.periodic.phase | 0-u16max |
| USER_DATA | 2 | effect->u.periodic.waveform | 0-u16max |
| USER_DATA | 2 | effect->u.ramp.end_level | s16min-s16max |
| USER_DATA | 2 | effect->u.ramp.envelope.attack_length | 0-u16max |
| USER_DATA | 2 | effect->u.ramp.envelope.attack_level | 0-u16max |
| USER_DATA | 2 | effect->u.ramp.envelope.fade_length | 0-u16max |
| USER_DATA | 2 | effect->u.ramp.envelope.fade_level | 0-u16max |
| USER_DATA | 2 | effect->u.ramp.start_level | s16min-s16max |
| USER_DATA | 2 | effect->u.rumble.strong_magnitude | 0-u16max |
| USER_DATA | 2 | effect->u.rumble.weak_magnitude | 0-u16max |
| UNITS | 0 | iforce | unit_byte |
| LOCK2 | &evdev->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct evdev)->mutex |
drivers/input/joystick/iforce/iforce-ff.c iforce_upload_periodic() -> need_envelope_modifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iforce | 4096-ptr_max |
| PARAM_VALUE | 0 | iforce->core_effects | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 4096-ptr_max |
| PARAM_VALUE | 1 | old->type | 79-87 |
| PARAM_VALUE | 2 | effect | 87092731394093056 |
| PARAM_VALUE | 2 | effect->type | 81 |
| BUF_SIZE | 0 | iforce | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | iforce | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | old->type | 1 |
| CAPPED_DATA | 2 | effect->id | 1 |
| DATA_SOURCE | 0 | iforce | $0 |
| DATA_SOURCE | 1 | old | $2 |
| DATA_SOURCE | 2 | effect | $1 |
| NOSPEC | 2 | effect->id | |
| USER_DATA | 2 | effect->direction | 0-u16max |
| USER_DATA | 2 | effect->id | 0-s16max[c] |
| USER_DATA | 2 | effect->replay.delay | 0-u16max |
| USER_DATA | 2 | effect->replay.length | 0-u16max |
| USER_DATA | 2 | effect->trigger.button | 0-u16max |
| USER_DATA | 2 | effect->trigger.interval | 0-u16max |
| USER_DATA | 2 | effect->u.constant.envelope.attack_length | 0-u16max |
| USER_DATA | 2 | effect->u.constant.envelope.attack_level | 0-u16max |
| USER_DATA | 2 | effect->u.constant.envelope.fade_length | 0-u16max |
| USER_DATA | 2 | effect->u.constant.envelope.fade_level | 0-u16max |
| USER_DATA | 2 | effect->u.constant.level | s16min-s16max |
| USER_DATA | 2 | effect->u.haptic.hid_usage | 0-u16max |
| USER_DATA | 2 | effect->u.haptic.intensity | 0-u16max |
| USER_DATA | 2 | effect->u.haptic.repeat_count | 0-u16max |
| USER_DATA | 2 | effect->u.haptic.retrigger_period | 0-u16max |
| USER_DATA | 2 | effect->u.haptic.vendor_id | 0-u16max |
| USER_DATA | 2 | effect->u.haptic.vendor_waveform_page | 0-255 |
| USER_DATA | 2 | effect->u.periodic.custom_len | 0-u32max |
| USER_DATA | 2 | effect->u.periodic.envelope.attack_length | 0-u16max |
| USER_DATA | 2 | effect->u.periodic.envelope.attack_level | 0-u16max |
| USER_DATA | 2 | effect->u.periodic.envelope.fade_length | 0-u16max |
| USER_DATA | 2 | effect->u.periodic.envelope.fade_level | 0-u16max |
| USER_DATA | 2 | effect->u.periodic.magnitude | s16min-s16max |
| USER_DATA | 2 | effect->u.periodic.offset | s16min-s16max |
| USER_DATA | 2 | effect->u.periodic.period | 0-u16max |
| USER_DATA | 2 | effect->u.periodic.phase | 0-u16max |
| USER_DATA | 2 | effect->u.periodic.waveform | 0-u16max |
| USER_DATA | 2 | effect->u.ramp.end_level | s16min-s16max |
| USER_DATA | 2 | effect->u.ramp.envelope.attack_length | 0-u16max |
| USER_DATA | 2 | effect->u.ramp.envelope.attack_level | 0-u16max |
| USER_DATA | 2 | effect->u.ramp.envelope.fade_length | 0-u16max |
| USER_DATA | 2 | effect->u.ramp.envelope.fade_level | 0-u16max |
| USER_DATA | 2 | effect->u.ramp.start_level | s16min-s16max |
| USER_DATA | 2 | effect->u.rumble.strong_magnitude | 0-u16max |
| USER_DATA | 2 | effect->u.rumble.weak_magnitude | 0-u16max |
| UNITS | 0 | iforce | unit_byte |
| LOCK2 | &evdev->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct evdev)->mutex |