Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-elecom.c elecom_report_fixup() -> mouse_button_fixup()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->bpf_rdesc 1-u64max
PARAM_VALUE 0 hdev->driver 4096-ptr_max
PARAM_VALUE 0 hdev->driver->report_fixup 1-u64max
PARAM_VALUE 0 hdev->ll_driver->max_buffer_size 0,4096
PARAM_VALUE 0 hdev->product 230
PARAM_VALUE 1 rdesc 1-u64max
PARAM_VALUE 3 button_bit_count 20
PARAM_VALUE 4 padding_bit 28
PARAM_VALUE 5 button_report_size 22
PARAM_VALUE 6 button_usage_maximum 14
PARAM_VALUE 7 nbuttons 8
BUF_SIZE 0 hdev->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hdev->devres_group_id s32min-(-1),1-s32max
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 rdesc $1
BIT_INFO 0 hdev->status 0x0,0xfffffffffffffffd
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &hdev->driver_input_lock

drivers/hid/hid-elecom.c elecom_report_fixup() -> mouse_button_fixup()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->bpf_rdesc 1-u64max
PARAM_VALUE 0 hdev->driver 4096-ptr_max
PARAM_VALUE 0 hdev->driver->report_fixup 1-u64max
PARAM_VALUE 0 hdev->ll_driver->max_buffer_size 0,4096
PARAM_VALUE 0 hdev->product 251-253,399
PARAM_VALUE 1 rdesc 1-u64max
PARAM_VALUE 3 button_bit_count 12
PARAM_VALUE 4 padding_bit 30
PARAM_VALUE 5 button_report_size 14
PARAM_VALUE 6 button_usage_maximum 20
PARAM_VALUE 7 nbuttons 6
BUF_SIZE 0 hdev->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hdev->devres_group_id s32min-(-1),1-s32max
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 rdesc $1
BIT_INFO 0 hdev->status 0x0,0xfffffffffffffffd
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &hdev->driver_input_lock

drivers/hid/hid-elecom.c elecom_report_fixup() -> mouse_button_fixup()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->bpf_rdesc 1-u64max
PARAM_VALUE 0 hdev->driver 4096-ptr_max
PARAM_VALUE 0 hdev->driver->report_fixup 1-u64max
PARAM_VALUE 0 hdev->ll_driver->max_buffer_size 0,4096
PARAM_VALUE 0 hdev->product 254-255,268-269,411
PARAM_VALUE 1 rdesc 1-u64max
PARAM_VALUE 3 button_bit_count 12
PARAM_VALUE 4 padding_bit 30
PARAM_VALUE 5 button_report_size 14
PARAM_VALUE 6 button_usage_maximum 20
PARAM_VALUE 7 nbuttons 8
BUF_SIZE 0 hdev->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hdev->devres_group_id s32min-(-1),1-s32max
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 rdesc $1
BIT_INFO 0 hdev->status 0x0,0xfffffffffffffffd
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &hdev->driver_input_lock

drivers/hid/hid-elecom.c elecom_report_fixup() -> mouse_button_fixup()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->bpf_rdesc 1-u64max
PARAM_VALUE 0 hdev->driver 4096-ptr_max
PARAM_VALUE 0 hdev->driver->report_fixup 1-u64max
PARAM_VALUE 0 hdev->ll_driver->max_buffer_size 0,4096
PARAM_VALUE 0 hdev->product 396
PARAM_VALUE 1 rdesc 1-u64max
PARAM_VALUE 3 button_bit_count 22
PARAM_VALUE 4 padding_bit 30
PARAM_VALUE 5 button_report_size 24
PARAM_VALUE 6 button_usage_maximum 16
PARAM_VALUE 7 nbuttons 6
BUF_SIZE 0 hdev->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hdev->devres_group_id s32min-(-1),1-s32max
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 rdesc $1
BIT_INFO 0 hdev->status 0x0,0xfffffffffffffffd
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &hdev->driver_input_lock

drivers/hid/hid-elecom.c elecom_report_fixup() -> mouse_button_fixup()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->bpf_rdesc 1-u64max
PARAM_VALUE 0 hdev->driver 4096-ptr_max
PARAM_VALUE 0 hdev->driver->report_fixup 1-u64max
PARAM_VALUE 0 hdev->ll_driver->max_buffer_size 0,4096
PARAM_VALUE 0 hdev->product 284,397
PARAM_VALUE 1 rdesc 1-u64max
PARAM_VALUE 3 button_bit_count 22
PARAM_VALUE 4 padding_bit 30
PARAM_VALUE 5 button_report_size 24
PARAM_VALUE 6 button_usage_maximum 16
PARAM_VALUE 7 nbuttons 8
BUF_SIZE 0 hdev->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hdev->devres_group_id s32min-(-1),1-s32max
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 rdesc $1
BIT_INFO 0 hdev->status 0x0,0xfffffffffffffffd
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &hdev->driver_input_lock

drivers/hid/hid-elecom.c elecom_report_fixup() -> mouse_button_fixup()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->bpf_rdesc 1-u64max
PARAM_VALUE 0 hdev->driver 4096-ptr_max
PARAM_VALUE 0 hdev->driver->report_fixup 1-u64max
PARAM_VALUE 0 hdev->ll_driver->max_buffer_size 0,4096
PARAM_VALUE 0 hdev->product 426-428
PARAM_VALUE 1 rdesc 1-u64max
PARAM_VALUE 3 button_bit_count 24
PARAM_VALUE 4 padding_bit 28
PARAM_VALUE 5 button_report_size 22
PARAM_VALUE 6 button_usage_maximum 16
PARAM_VALUE 7 nbuttons 8
BUF_SIZE 0 hdev->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hdev->devres_group_id s32min-(-1),1-s32max
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 rdesc $1
BIT_INFO 0 hdev->status 0x0,0xfffffffffffffffd
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &hdev->driver_input_lock