Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-nvidia-shield.c thunderstrike_hostcmd_req_work_handler() -> thunderstrike_hostcmd_req_report_init()

Type Parameter Key Value
PARAM_VALUE 1 cmd_id 1
BUF_SIZE 0 report 33
BUF_SIZE 0 report 33
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/hid/hid-nvidia-shield.c thunderstrike_hostcmd_req_work_handler() -> thunderstrike_hostcmd_req_report_init()

Type Parameter Key Value
PARAM_VALUE 1 cmd_id 6
BUF_SIZE 0 report 33
BUF_SIZE 0 report 33
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/hid/hid-nvidia-shield.c thunderstrike_hostcmd_req_work_handler() -> thunderstrike_hostcmd_req_report_init()

Type Parameter Key Value
PARAM_VALUE 1 cmd_id 7
BUF_SIZE 0 report 33
BUF_SIZE 0 report 33
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/hid/hid-nvidia-shield.c thunderstrike_hostcmd_req_work_handler() -> thunderstrike_hostcmd_req_report_init()

Type Parameter Key Value
PARAM_VALUE 0 report 4096-ptr_max
PARAM_VALUE 0 report->cmd_id 7
PARAM_VALUE 0 report->haptics.motors.motor_left 0
PARAM_VALUE 0 report->haptics.motors.motor_right 0
PARAM_VALUE 0 report->haptics.update 0
PARAM_VALUE 0 report->led.state 0
PARAM_VALUE 0 report->led.update 0
PARAM_VALUE 0 report->report_id 4
PARAM_VALUE 0 report->reserved_at_10 0
PARAM_VALUE 1 cmd_id 58
BUF_SIZE 0 report 33
BUF_SIZE 0 report 33
MEM_ZERO 0 report
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/hid/hid-nvidia-shield.c thunderstrike_hostcmd_req_work_handler() -> thunderstrike_hostcmd_req_report_init()

Type Parameter Key Value
PARAM_VALUE 1 cmd_id 16
BUF_SIZE 0 report 33
BUF_SIZE 0 report 33
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/hid/hid-nvidia-shield.c thunderstrike_hostcmd_req_work_handler() -> thunderstrike_hostcmd_req_report_init()

Type Parameter Key Value
PARAM_VALUE 1 cmd_id 57
BUF_SIZE 0 report 33
BUF_SIZE 0 report 33
NOCHECK_CALL
HALF_LOCKED2 &pool->lock