Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-playstation.c dualsense_create() -> ps_devices_list_add()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->battery_capacity 100
PARAM_VALUE 0 dev->battery_status 0
PARAM_VALUE 0 dev->hdev 4096-ptr_max
PARAM_VALUE 0 dev->hdev->batteries.prev 4096-ptr_max
PARAM_VALUE 0 dev->hdev->bpf_rdesc 1-u64max
PARAM_VALUE 0 dev->hdev->collection 4096-ptr_max
PARAM_VALUE 0 dev->hdev->collection_size 16
PARAM_VALUE 0 dev->hdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->hdev->devres_group_id 4096-ptr_max
PARAM_VALUE 0 dev->hdev->driver 4096-ptr_max
PARAM_VALUE 0 dev->hdev->hiddev 0,4096-ptr_max
PARAM_VALUE 0 dev->hdev->hidraw 4096-ptr_max
PARAM_VALUE 0 dev->hdev->ll_driver 4096-ptr_max
PARAM_VALUE 0 dev->hdev->ll_open_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->hdev->rdesc 1-u64max
PARAM_VALUE 0 dev->hdev->version 0,32768-u32max
PARAM_VALUE 0 dev->parse_report 8731461254441517056
PARAM_VALUE 0 dev->remove 7551820809408167936
BUF_SIZE 0 dev 248
MEM_ZERO 0 dev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->driver_input_lock
TYPE_LOCK (struct hid_device)->driver_input_lock

drivers/hid/hid-playstation.c dualshock4_create() -> ps_devices_list_add()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->battery_capacity 100
PARAM_VALUE 0 dev->battery_status 0
PARAM_VALUE 0 dev->hdev 4096-ptr_max
PARAM_VALUE 0 dev->hdev->batteries.prev 4096-ptr_max
PARAM_VALUE 0 dev->hdev->bpf_rdesc 1-u64max
PARAM_VALUE 0 dev->hdev->collection 4096-ptr_max
PARAM_VALUE 0 dev->hdev->collection_size 16
PARAM_VALUE 0 dev->hdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->hdev->devres_group_id 4096-ptr_max
PARAM_VALUE 0 dev->hdev->driver 4096-ptr_max
PARAM_VALUE 0 dev->hdev->hiddev 0,4096-ptr_max
PARAM_VALUE 0 dev->hdev->hidraw 4096-ptr_max
PARAM_VALUE 0 dev->hdev->ll_driver 4096-ptr_max
PARAM_VALUE 0 dev->hdev->ll_open_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->hdev->rdesc 1-u64max
PARAM_VALUE 0 dev->hdev->version 0,32768-u32max
PARAM_VALUE 0 dev->parse_report 13676676981325824,2560104245146750976
PARAM_VALUE 0 dev->remove 7232066610305191936
BUF_SIZE 0 dev 248
BIT_INFO 0 dev->parse_report 0x101d01200000,0x23b7d7ffb7ff1000
MEM_ZERO 0 dev
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->driver_input_lock
TYPE_LOCK (struct hid_device)->driver_input_lock