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/dcn21/dcn21_resource.c dcn21_clock_source_create() -> dcn20_clk_src_construct()

Type Parameter Key Value
PARAM_VALUE 0 clk_src 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 bios 4096-ptr_max
PARAM_VALUE 2 bios->regs 7540390728835129344
PARAM_VALUE 3 id 8-13
PARAM_VALUE 4 regs 6049026449352216576,6049026449352216580,6049026449352216584,6049026449352216588,6049026449352216592
PARAM_VALUE 5 cs_shift 7355335943612915712
PARAM_VALUE 6 cs_mask 5718627765232750592
BUF_SIZE 0 clk_src 256
BUF_SIZE 1 ctx->dc_bios->regs 12
BUF_SIZE 2 bios->regs 12
BUF_SIZE 4 regs (-1),176,264,352,440
BUF_SIZE 4 regs (-1),176,264,352,440
DATA_SOURCE 0 clk_src r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 2 bios $1
DATA_SOURCE 3 id $2
DATA_SOURCE 4 regs $3
HARD_MAX 3 id 13

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn20/dcn20_resource.c dcn20_clock_source_create() -> dcn20_clk_src_construct()

Type Parameter Key Value
PARAM_VALUE 0 clk_src 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 bios 4096-ptr_max
PARAM_VALUE 2 bios->regs 5079046202845396992
PARAM_VALUE 3 id 8-14
PARAM_VALUE 4 regs 2860967196525694976,2860967196525694980,2860967196525694984,2860967196525694988,2860967196525694992,2860967196525694996
PARAM_VALUE 5 cs_shift 542778819455946752
PARAM_VALUE 6 cs_mask 8875786347945988096
BUF_SIZE 0 clk_src 256
BUF_SIZE 1 ctx->dc_bios->regs 12
BUF_SIZE 2 bios->regs 12
BUF_SIZE 4 regs (-1),176,264,352,440,528
BUF_SIZE 4 regs (-1),176,264,352,440,528
DATA_SOURCE 0 clk_src r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 2 bios $1
DATA_SOURCE 3 id $2
DATA_SOURCE 4 regs $3
HARD_MAX 3 id 14