Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn42b/dcn42b_resource.c dcn42b_mpc_create() -> dcn42_mpc_construct()

Type Parameter Key Value
PARAM_VALUE 0 mpc42 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->dc_bios 4096-ptr_max
PARAM_VALUE 1 ctx->dcn_reg_offsets 4096-ptr_max
PARAM_VALUE 1 ctx->nbio_reg_offsets 4096-ptr_max
PARAM_VALUE 2 mpc_regs 2733746704239681536
PARAM_VALUE 3 mpc_shift 8909058624435531776
PARAM_VALUE 4 mpc_mask 7904934154958422016
PARAM_VALUE 5 num_mpcc 4
PARAM_VALUE 6 num_rmu 2
BUF_SIZE 0 mpc42 19808
BUF_SIZE 1 ctx->dc_bios->regs 12
DATA_SOURCE 0 mpc42 r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 5 num_mpcc $1
DATA_SOURCE 6 num_rmu $2
NOCHECK_CALL
UNITS 5 num_mpcc unit_array_size
UNITS 6 num_rmu unit_array_size

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn42/dcn42_resource.c dcn42_mpc_create() -> dcn42_mpc_construct()

Type Parameter Key Value
PARAM_VALUE 0 mpc42 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->dc_bios 4096-ptr_max
PARAM_VALUE 1 ctx->dcn_reg_offsets 4096-ptr_max
PARAM_VALUE 1 ctx->nbio_reg_offsets 4096-ptr_max
PARAM_VALUE 2 mpc_regs 914285776568967168
PARAM_VALUE 3 mpc_shift 8969320564819615744
PARAM_VALUE 4 mpc_mask 7060933051180384256
PARAM_VALUE 5 num_mpcc 4
PARAM_VALUE 6 num_rmu 2
BUF_SIZE 0 mpc42 19808
BUF_SIZE 1 ctx->dc_bios->regs 12
DATA_SOURCE 0 mpc42 r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 5 num_mpcc $1
DATA_SOURCE 6 num_rmu $2
NOCHECK_CALL
UNITS 5 num_mpcc unit_array_size
UNITS 6 num_rmu unit_array_size