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/dce110/dce110_resource.c dce110_i2c_hw_create() -> dce100_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 4 shifts 2155939937464045568
PARAM_VALUE 5 masks 3851669651846205440
BUF_SIZE 0 dce_i2c_hw 80
BUF_SIZE 1 ctx->dc_bios->regs 12
CAPPED_DATA 2 engine_id 1
DATA_SOURCE 0 dce_i2c_hw r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 2 engine_id $1
NOCHECK_CALL
UNITS 2 engine_id unit_array_size

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_i2c_hw.c dce112_i2c_hw_construct() -> dce100_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 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 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

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dce100/dce100_resource.c dce100_i2c_hw_create() -> dce100_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 127002492589182976
PARAM_VALUE 5 masks 5304881180933808128
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