Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/intel-thc-hid/intel-quicki2c/quicki2c-protocol.c quicki2c_get_report() -> quicki2c_encode_cmd()

Type Parameter Key Value
PARAM_VALUE 0 qcdev 4096-ptr_max
PARAM_VALUE 0 qcdev->dev 4096-ptr_max
PARAM_VALUE 0 qcdev->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 qcdev->dev->class 0,4096-ptr_max
PARAM_VALUE 0 qcdev->dev->power.request 0-4
PARAM_VALUE 0 qcdev->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 qcdev->dev->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 qcdev->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 qcdev->dev->type 0,4096-ptr_max
PARAM_VALUE 1 cmd_buf 6169475135382282240
PARAM_VALUE 2 opcode 2
PARAM_VALUE 3 report_type 1,3
BUF_SIZE 0 qcdev s32min-(-2),1-s32max
BUF_SIZE 0 qcdev s32min-(-2),1-s32max
DATA_SOURCE 0 qcdev $0
DATA_SOURCE 4 report_id $2
BIT_INFO 3 report_type 0x1,0x3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 report_id 0-255
HALF_LOCKED2 &hid->driver_input_lock
HALF_LOCKED2 &hid->ll_open_lock
HALF_LOCKED2 global &minors_rwsem

drivers/hid/intel-thc-hid/intel-quicki2c/quicki2c-protocol.c write_cmd_to_txdma() -> quicki2c_encode_cmd()

Type Parameter Key Value
PARAM_VALUE 0 qcdev 1-u64max
PARAM_VALUE 0 qcdev->ddata->max_detect_size 255,u16max
PARAM_VALUE 0 qcdev->ddata->max_interrupt_delay 256
PARAM_VALUE 0 qcdev->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 qcdev->thc_hw->dma_ctx->use_write_interrupts 0-1
PARAM_VALUE 1 cmd_buf 5834631929030270976
PARAM_VALUE 2 opcode 1,3,8
PARAM_VALUE 3 report_type 0,2-3
BUF_SIZE 0 qcdev s32min-(-2),1-s32max
BUF_SIZE 0 qcdev s32min-(-2),1-s32max
BUF_SIZE 0 qcdev->pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
DATA_SOURCE 0 qcdev $0
DATA_SOURCE 2 opcode $1
DATA_SOURCE 3 report_type $2
DATA_SOURCE 4 report_id $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 report_id 0-255
UNITS 0 qcdev unit_byte