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/dcn30/dcn30_resource.c dcn30_hubp_create() -> hubp3_construct()

Type Parameter Key Value
PARAM_VALUE 0 hubp2 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 inst 0-5
PARAM_VALUE 3 hubp_regs 4096-ptr_max
PARAM_VALUE 4 hubp_shift 51424783094865920
PARAM_VALUE 5 hubp_mask 5409424958446387200
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
PREEMPT_ADD
UNITS 2 inst unit_array_size

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn303/dcn303_resource.c dcn303_hubp_create() -> hubp3_construct()

Type Parameter Key Value
PARAM_VALUE 0 hubp2 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 inst 0-1
PARAM_VALUE 3 hubp_regs 4096-ptr_max
PARAM_VALUE 4 hubp_shift 3716687676823166976
PARAM_VALUE 5 hubp_mask 1252143486435872768
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/dcn301/dcn301_resource.c dcn301_hubp_create() -> hubp3_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 1161311613151105024
PARAM_VALUE 5 hubp_mask 6374974767376949248
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/dcn302/dcn302_resource.c dcn302_hubp_create() -> hubp3_construct()

Type Parameter Key Value
PARAM_VALUE 0 hubp2 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 inst 0-4
PARAM_VALUE 3 hubp_regs 4096-ptr_max
PARAM_VALUE 4 hubp_shift 8645386402393133056
PARAM_VALUE 5 hubp_mask 1589083032174424064
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