Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/hid-playstation.c dualsense_get_calibration_data() -> ps_get_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->batteries.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->bpf.device_data | 16,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->bpf_rdesc | 1-u64max |
| PARAM_VALUE | 0 | hdev->collection | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->collection_size | 16 |
| PARAM_VALUE | 0 | hdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->hiddev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->hidraw | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->ll_open_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->rdesc | 1-u64max |
| PARAM_VALUE | 0 | hdev->version | 0,32768-u32max |
| PARAM_VALUE | 1 | report_id | 5 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 41 |
| PARAM_VALUE | 4 | check_crc | 1 |
| BUF_SIZE | 2 | buf | 41 |
| BUF_SIZE | 2 | buf | 41 |
| DATA_SOURCE | 2 | buf | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/hid-playstation.c dualsense_get_firmware_info() -> ps_get_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->batteries.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->bpf.device_data | 16,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->bpf_rdesc | 1-u64max |
| PARAM_VALUE | 0 | hdev->collection | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->collection_size | 16 |
| PARAM_VALUE | 0 | hdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->hiddev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->hidraw | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->ll_open_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->rdesc | 1-u64max |
| PARAM_VALUE | 0 | hdev->version | 0,32768-u32max |
| PARAM_VALUE | 1 | report_id | 32 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 64 |
| PARAM_VALUE | 4 | check_crc | 1 |
| BUF_SIZE | 2 | buf | 64 |
| BUF_SIZE | 2 | buf | 64 |
| DATA_SOURCE | 2 | buf | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/hid-playstation.c dualsense_get_mac_address() -> ps_get_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->batteries.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->bpf.device_data | 16,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->bpf_rdesc | 1-u64max |
| PARAM_VALUE | 0 | hdev->collection | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->collection_size | 16 |
| PARAM_VALUE | 0 | hdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->hiddev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->hidraw | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->ll_open_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->rdesc | 1-u64max |
| PARAM_VALUE | 0 | hdev->version | 0,32768-u32max |
| PARAM_VALUE | 1 | report_id | 9 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 20 |
| PARAM_VALUE | 4 | check_crc | 1 |
| BUF_SIZE | 2 | buf | 20 |
| BUF_SIZE | 2 | buf | 20 |
| DATA_SOURCE | 2 | buf | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/hid-playstation.c dualshock4_get_calibration_data() -> ps_get_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->bus | 3 |
| PARAM_VALUE | 1 | report_id | 2 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 37 |
| PARAM_VALUE | 4 | check_crc | 1 |
| BUF_SIZE | 2 | buf | 37 |
| BUF_SIZE | 2 | buf | 37 |
| DATA_SOURCE | 2 | buf | r _kzalloc_noprof |
| RX_PATH | |||
| HALF_LOCKED2 | &pool->lock |
drivers/hid/hid-playstation.c dualshock4_get_calibration_data() -> ps_get_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->bus | 0-2,4-u16max |
| PARAM_VALUE | 1 | report_id | 5 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 41 |
| PARAM_VALUE | 4 | check_crc | 1 |
| BUF_SIZE | 2 | buf | 41 |
| BUF_SIZE | 2 | buf | 41 |
| DATA_SOURCE | 2 | buf | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->driver_input_lock |
drivers/hid/hid-playstation.c dualshock4_get_firmware_info() -> ps_get_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->batteries.prev | 0 |
| PARAM_VALUE | 0 | hdev->bpf.allocated_data | 0 |
| PARAM_VALUE | 0 | hdev->bpf.device_data | 0 |
| PARAM_VALUE | 0 | hdev->bpf_rdesc | 0 |
| PARAM_VALUE | 0 | hdev->bus | 0 |
| PARAM_VALUE | 0 | hdev->collection | 0 |
| PARAM_VALUE | 0 | hdev->collection_size | 0 |
| PARAM_VALUE | 0 | hdev->dev.devres_head.prev | 0 |
| PARAM_VALUE | 0 | hdev->devres_group_id | 0 |
| PARAM_VALUE | 0 | hdev->driver | 0 |
| PARAM_VALUE | 0 | hdev->hiddev | 0 |
| PARAM_VALUE | 0 | hdev->hidraw | 0 |
| PARAM_VALUE | 0 | hdev->ll_driver | 0 |
| PARAM_VALUE | 0 | hdev->rdesc | 0 |
| PARAM_VALUE | 0 | hdev->version | 0 |
| PARAM_VALUE | 0 | *hdev->uniq | 0-255 |
| PARAM_VALUE | 1 | report_id | 163 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 49 |
| PARAM_VALUE | 4 | check_crc | 0 |
| BUF_SIZE | 2 | buf | 49 |
| BUF_SIZE | 2 | buf | 49 |
| DATA_SOURCE | 2 | buf | r _kzalloc_noprof |
| MEM_ZERO | 0 | hdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/hid-playstation.c dualshock4_get_mac_address() -> ps_get_report()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->batteries.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->bpf.device_data | 16,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->bpf_rdesc | 1-u64max |
| PARAM_VALUE | 0 | hdev->bus | 3 |
| PARAM_VALUE | 0 | hdev->collection | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->collection_size | 16 |
| PARAM_VALUE | 0 | hdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->hiddev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->hidraw | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->ll_driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->ll_open_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->rdesc | 1-u64max |
| PARAM_VALUE | 0 | hdev->version | 0,32768-u32max |
| PARAM_VALUE | 1 | report_id | 18 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 16 |
| PARAM_VALUE | 4 | check_crc | 0 |
| BUF_SIZE | 2 | buf | 16 |
| BUF_SIZE | 2 | buf | 16 |
| DATA_SOURCE | 2 | buf | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |