Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/usbhid/hid-pidff.c pidff_upload_effect() -> pidff_set_envelope_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pidff | 4096-ptr_max |
| PARAM_VALUE | 0 | pidff->block_load | 4096-ptr_max |
| PARAM_VALUE | 0 | pidff->effect | 4096-ptr_max |
| PARAM_VALUE | 0 | pidff->hid->driver_input_lock.first_waiter->up | 0-1 |
| PARAM_VALUE | 1 | envelope | 4096-ptr_max |
| BUF_SIZE | 0 | pidff | 40,1696 |
| BUF_SIZE | 0 | pidff | 40,1696 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | envelope->attack_length | 0-u16max |
| USER_DATA | 1 | envelope->attack_level | 0-u16max |
| USER_DATA | 1 | envelope->fade_length | 0-u16max |
| USER_DATA | 1 | envelope->fade_level | 0-u16max |
| LOCK2 | &evdev->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct evdev)->mutex |
drivers/hid/usbhid/hid-pidff.c pidff_upload_effect() -> pidff_set_envelope_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pidff | 4096-ptr_max |
| PARAM_VALUE | 0 | pidff->block_load | 4096-ptr_max |
| PARAM_VALUE | 0 | pidff->effect | 4096-ptr_max |
| PARAM_VALUE | 0 | pidff->hid->driver_input_lock.first_waiter->up | 0-1 |
| PARAM_VALUE | 1 | envelope | 4096-ptr_max |
| BUF_SIZE | 0 | pidff | 40,1696 |
| BUF_SIZE | 0 | pidff | 40,1696 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | envelope->attack_length | 0-u16max |
| USER_DATA | 1 | envelope->attack_level | 0-u16max |
| USER_DATA | 1 | envelope->fade_length | 0-u16max |
| USER_DATA | 1 | envelope->fade_level | 0-u16max |
| LOCK2 | &evdev->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct evdev)->mutex |
drivers/hid/usbhid/hid-pidff.c pidff_upload_effect() -> pidff_set_envelope_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pidff | 4096-ptr_max |
| PARAM_VALUE | 0 | pidff->block_load | 4096-ptr_max |
| PARAM_VALUE | 0 | pidff->effect | 4096-ptr_max |
| PARAM_VALUE | 0 | pidff->hid->driver_input_lock.first_waiter->up | 0-1 |
| PARAM_VALUE | 1 | envelope | 4096-ptr_max |
| BUF_SIZE | 0 | pidff | 40,1696 |
| BUF_SIZE | 0 | pidff | 40,1696 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | envelope->attack_length | 0-u16max |
| USER_DATA | 1 | envelope->attack_level | 0-u16max |
| USER_DATA | 1 | envelope->fade_length | 0-u16max |
| USER_DATA | 1 | envelope->fade_level | 0-u16max |
| LOCK2 | &evdev->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct evdev)->mutex |