Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dce60/dce60_resource.c dce60_i2c_hw_create() -> dce_i2c_hw_construct()

Type Parameter Key Value
PARAM_VALUE 0 dce_i2c_hw 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->dc_bios 4096-ptr_max
PARAM_VALUE 2 engine_id 0-5
PARAM_VALUE 3 regs 4096-ptr_max
PARAM_VALUE 4 shifts 6037256993226461184
PARAM_VALUE 5 masks 7987045956759109632
BUF_SIZE 0 dce_i2c_hw 80
BUF_SIZE 1 ctx->dc_bios->regs 12
DATA_SOURCE 0 dce_i2c_hw r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 2 engine_id $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 engine_id unit_array_size

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dce80/dce80_resource.c dce80_i2c_hw_create() -> dce_i2c_hw_construct()

Type Parameter Key Value
PARAM_VALUE 0 dce_i2c_hw 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->dc_bios 4096-ptr_max
PARAM_VALUE 2 engine_id 0-5
PARAM_VALUE 3 regs 4096-ptr_max
PARAM_VALUE 4 shifts 4864101302050754560
PARAM_VALUE 5 masks 4619474878478647296
BUF_SIZE 0 dce_i2c_hw 80
BUF_SIZE 1 ctx->dc_bios->regs 12
DATA_SOURCE 0 dce_i2c_hw r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 2 engine_id $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 engine_id unit_array_size

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_i2c_hw.c dce100_i2c_hw_construct() -> dce_i2c_hw_construct()

Type Parameter Key Value
PARAM_VALUE 0 dce_i2c_hw 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 4 shifts 4096-ptr_max
PARAM_VALUE 5 masks 4096-ptr_max
BUF_SIZE 0 dce_i2c_hw (-1),80
BUF_SIZE 0 dce_i2c_hw (-1),80
BUF_SIZE 1 ctx->dc_bios->regs (-1),12
DATA_SOURCE 0 dce_i2c_hw $0
DATA_SOURCE 1 ctx $1
DATA_SOURCE 2 engine_id $2
DATA_SOURCE 3 regs $3
DATA_SOURCE 4 shifts $4
DATA_SOURCE 5 masks $5
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 engine_id unit_array_size