Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/hid/surface-hid/surface_hid.c ssam_hid_set_raw_report() -> ssam_request_do_sync()

Type Parameter Key Value
PARAM_VALUE 1 spec 3761668199931424768
PARAM_VALUE 1 spec->command_id 1,3
PARAM_VALUE 1 spec->flags 0
PARAM_VALUE 1 spec->length 1-16384
PARAM_VALUE 1 spec->payload 4096-ptr_max
PARAM_VALUE 2 rsp 0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 spec->length 2-16384[c]
USER_PTR 1 spec->payload
HALF_LOCKED2 &hid->driver_input_lock
HALF_LOCKED2 &hid->ll_open_lock
HALF_LOCKED2 global &minors_rwsem

drivers/platform/surface/surface_aggregator_cdev.c ssam_cdev_request() -> ssam_request_do_sync()

Type Parameter Key Value
PARAM_VALUE 1 spec 831868612948459520
PARAM_VALUE 1 spec->flags 0-3
PARAM_VALUE 1 spec->payload 0,4096-ptr_max
PARAM_VALUE 2 rsp 6895388059931676672
PARAM_VALUE 2 rsp->capacity 0-u16max
PARAM_VALUE 2 rsp->length 0
PARAM_VALUE 2 rsp->pointer 0,4096-ptr_max
USER_DATA 1 spec->command_id 0-255
USER_DATA 1 spec->instance_id 0-255
USER_DATA 1 spec->length 0-u16max[c]
USER_DATA 1 spec->target_category 0-255
USER_DATA 1 spec->target_id 0-255
USER_DATA 2 rsp->capacity 0-u16max
USER_PTR 1 spec->payload
LOCK2 &client->cdev->lock
TYPE_LOCK (struct ssam_cdev)->lock