Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn31/dcn31_resource.c dcn31_hubp_create() -> hubp31_construct()

Type Parameter Key Value
PARAM_VALUE 0 hubp2 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 inst 0-3
PARAM_VALUE 3 hubp_regs 4096-ptr_max
PARAM_VALUE 4 hubp_shift 4143354373537939456
PARAM_VALUE 5 hubp_mask 665695802808774656
BUF_SIZE 0 hubp2 832
BUF_SIZE 1 ctx->dc_bios->regs 12
DATA_SOURCE 0 hubp2 r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 2 inst $1
UNITS 2 inst unit_array_size

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn314/dcn314_resource.c dcn31_hubp_create() -> hubp31_construct()

Type Parameter Key Value
PARAM_VALUE 0 hubp2 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 inst 0-3
PARAM_VALUE 3 hubp_regs 4096-ptr_max
PARAM_VALUE 4 hubp_shift 6646945585605017600
PARAM_VALUE 5 hubp_mask 6109476281110487040
BUF_SIZE 0 hubp2 832
BUF_SIZE 1 ctx->dc_bios->regs 12
DATA_SOURCE 0 hubp2 r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 2 inst $1
UNITS 2 inst unit_array_size

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn315/dcn315_resource.c dcn31_hubp_create() -> hubp31_construct()

Type Parameter Key Value
PARAM_VALUE 0 hubp2 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 inst 0-3
PARAM_VALUE 3 hubp_regs 4096-ptr_max
PARAM_VALUE 4 hubp_shift 235917733901676544
PARAM_VALUE 5 hubp_mask 2803184434967412736
BUF_SIZE 0 hubp2 832
BUF_SIZE 1 ctx->dc_bios->regs 12
DATA_SOURCE 0 hubp2 r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 2 inst $1
UNITS 2 inst unit_array_size

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn316/dcn316_resource.c dcn31_hubp_create() -> hubp31_construct()

Type Parameter Key Value
PARAM_VALUE 0 hubp2 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 inst 0-3
PARAM_VALUE 3 hubp_regs 4096-ptr_max
PARAM_VALUE 4 hubp_shift 812626849157017600
PARAM_VALUE 5 hubp_mask 3071409860410744832
BUF_SIZE 0 hubp2 832
BUF_SIZE 1 ctx->dc_bios->regs 12
DATA_SOURCE 0 hubp2 r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 2 inst $1
UNITS 2 inst unit_array_size