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_clock_source_create() -> dcn3_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->funcs 4096-ptr_max
PARAM_VALUE 2 bios->regs 7199441410276810752
PARAM_VALUE 3 id 8-14
PARAM_VALUE 4 regs 1018846705910820864,1018846705910820868,1018846705910820872,1018846705910820876,1018846705910820880,1018846705910820884
PARAM_VALUE 5 cs_shift 5991895632266272768
PARAM_VALUE 6 cs_mask 8893467482359443456
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
PREEMPT_ADD

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn303/dcn303_resource.c dcn303_clock_source_create() -> dcn3_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->funcs 4096-ptr_max
PARAM_VALUE 2 bios->regs 6071759369650024448
PARAM_VALUE 3 id 8-10
PARAM_VALUE 4 regs 6931727500498591744,6931727500498591748
PARAM_VALUE 5 cs_shift 3443206422084194304
PARAM_VALUE 6 cs_mask 445290696024436736
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
BUF_SIZE 4 regs (-1),176
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 10

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn302/dcn302_resource.c dcn302_clock_source_create() -> dcn3_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->funcs 4096-ptr_max
PARAM_VALUE 2 bios->regs 2753368048475029504
PARAM_VALUE 3 id 8-13
PARAM_VALUE 4 regs 37488642197573632,37488642197573636,37488642197573640,37488642197573644,37488642197573648
PARAM_VALUE 5 cs_shift 4901547049604632576
PARAM_VALUE 6 cs_mask 2590366382701957120
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/dcn31/dcn31_resource.c dcn31_clock_source_create() -> dcn3_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->funcs 4096-ptr_max
PARAM_VALUE 2 bios->regs 3537590184895856640
PARAM_VALUE 3 id 8
PARAM_VALUE 4 regs 253015091962531840
PARAM_VALUE 5 cs_shift 5824210483812495360
PARAM_VALUE 6 cs_mask 793554757346004992
BUF_SIZE 0 clk_src 256
BUF_SIZE 1 ctx->dc_bios->regs 12
BUF_SIZE 2 bios->regs 12
BUF_SIZE 4 regs 440
BUF_SIZE 4 regs 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