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