Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn35/dcn35_resource.c dcn31_link_enc_create_minimal() -> dcn31_link_encoder_construct_minimal()

Type Parameter Key Value
PARAM_VALUE 0 enc20 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 enc_features 8127740535718608896
PARAM_VALUE 3 link_regs 4096-ptr_max
PARAM_VALUE 4 link_shift 8779443746943545344
PARAM_VALUE 5 link_mask 1890690035565346816
PARAM_VALUE 6 eng_id 0-4
BUF_SIZE 0 enc20 240
CAPPED_DATA 6 eng_id 1
DATA_SOURCE 0 enc20 r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 6 eng_id $1
PARAM_COMPARE 1 ctx->dc->res_pool->res_cap->num_dig_link_enc > $6
PARAM_COMPARE 6 eng_id < $1->dc->res_pool->res_cap->num_dig_link_enc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn36/dcn36_resource.c dcn31_link_enc_create_minimal() -> dcn31_link_encoder_construct_minimal()

Type Parameter Key Value
PARAM_VALUE 0 enc20 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 enc_features 7626492886806351872
PARAM_VALUE 3 link_regs 4096-ptr_max
PARAM_VALUE 4 link_shift 4469044913199562752
PARAM_VALUE 5 link_mask 1798509811718713344
PARAM_VALUE 6 eng_id 0-4
BUF_SIZE 0 enc20 240
CAPPED_DATA 6 eng_id 1
DATA_SOURCE 0 enc20 r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 6 eng_id $1
PARAM_COMPARE 1 ctx->dc->res_pool->res_cap->num_dig_link_enc > $6
PARAM_COMPARE 6 eng_id < $1->dc->res_pool->res_cap->num_dig_link_enc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn351/dcn351_resource.c dcn31_link_enc_create_minimal() -> dcn31_link_encoder_construct_minimal()

Type Parameter Key Value
PARAM_VALUE 0 enc20 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 enc_features 5748630791324749824
PARAM_VALUE 3 link_regs 4096-ptr_max
PARAM_VALUE 4 link_shift 1798287329036472320
PARAM_VALUE 5 link_mask 6324240719096647680
PARAM_VALUE 6 eng_id 0-4
BUF_SIZE 0 enc20 240
CAPPED_DATA 6 eng_id 1
DATA_SOURCE 0 enc20 r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 6 eng_id $1
PARAM_COMPARE 1 ctx->dc->res_pool->res_cap->num_dig_link_enc > $6
PARAM_COMPARE 6 eng_id < $1->dc->res_pool->res_cap->num_dig_link_enc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 enc20 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 enc_features 7813830458287071232
PARAM_VALUE 3 link_regs 4096-ptr_max
PARAM_VALUE 4 link_shift 5142558178634104832
PARAM_VALUE 5 link_mask 8781713837975265280
PARAM_VALUE 6 eng_id 0-4
BUF_SIZE 0 enc20 240
CAPPED_DATA 6 eng_id 1
DATA_SOURCE 0 enc20 r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 6 eng_id $1
PARAM_COMPARE 1 ctx->dc->res_pool->res_cap->num_dig_link_enc > $6
PARAM_COMPARE 6 eng_id < $1->dc->res_pool->res_cap->num_dig_link_enc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 enc20 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 enc_features 6010424696547405824
PARAM_VALUE 3 link_regs 4096-ptr_max
PARAM_VALUE 4 link_shift 8526908199380107264
PARAM_VALUE 5 link_mask 7528503227068710912
PARAM_VALUE 6 eng_id 0-4
BUF_SIZE 0 enc20 240
CAPPED_DATA 6 eng_id 1
DATA_SOURCE 0 enc20 r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 6 eng_id $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 enc20 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 enc_features 6324663855452639232
PARAM_VALUE 3 link_regs 4096-ptr_max
PARAM_VALUE 4 link_shift 3407935576728956928
PARAM_VALUE 5 link_mask 939403620753887232
PARAM_VALUE 6 eng_id 0-4
BUF_SIZE 0 enc20 240
CAPPED_DATA 6 eng_id 1
DATA_SOURCE 0 enc20 r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 6 eng_id $1
PARAM_COMPARE 1 ctx->dc->res_pool->res_cap->num_dig_link_enc > $6
PARAM_COMPARE 6 eng_id < $1->dc->res_pool->res_cap->num_dig_link_enc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 enc20 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 enc_features 3002976381712408576
PARAM_VALUE 3 link_regs 4096-ptr_max
PARAM_VALUE 4 link_shift 5094805598982352896
PARAM_VALUE 5 link_mask 7563233253915070464
PARAM_VALUE 6 eng_id 0-4
BUF_SIZE 0 enc20 240
CAPPED_DATA 6 eng_id 1
DATA_SOURCE 0 enc20 r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 6 eng_id $1
PARAM_COMPARE 1 ctx->dc->res_pool->res_cap->num_dig_link_enc > $6
PARAM_COMPARE 6 eng_id < $1->dc->res_pool->res_cap->num_dig_link_enc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 enc20 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 enc_features 7846773617632886784
PARAM_VALUE 3 link_regs 4096-ptr_max
PARAM_VALUE 4 link_shift 8665383857380036608
PARAM_VALUE 5 link_mask 3156915523439190016
PARAM_VALUE 6 eng_id 0-4
BUF_SIZE 0 enc20 240
CAPPED_DATA 6 eng_id 1
DATA_SOURCE 0 enc20 r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 6 eng_id $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 enc20 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 2 enc_features 920777666096099328
PARAM_VALUE 3 link_regs 4096-ptr_max
PARAM_VALUE 4 link_shift 1522301752785600512
PARAM_VALUE 5 link_mask 6631465865348063232
PARAM_VALUE 6 eng_id 0-4
BUF_SIZE 0 enc20 240
CAPPED_DATA 6 eng_id 1
DATA_SOURCE 0 enc20 r _kzalloc_noprof
DATA_SOURCE 1 ctx $0
DATA_SOURCE 6 eng_id $1
PARAM_COMPARE 1 ctx->dc->res_pool->res_cap->num_dig_link_enc > $6
PARAM_COMPARE 6 eng_id < $1->dc->res_pool->res_cap->num_dig_link_enc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL