Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/usbhid/hid-pidff.c pidff_playback_pid() -> pidff_clamp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | i | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | i | s32min-(-1),1-s32max |
drivers/hid/usbhid/hid-pidff.c pidff_set_time() -> pidff_clamp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 0-655350 |
| PARAM_VALUE | 1 | field | 4096-ptr_max |
| USER_DATA | 0 | i | 0-655350 |
| LOCK2 | &evdev->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct evdev)->mutex |