Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn30/dcn30_resource.c dcn30_stream_encoder_create() -> dcn30_dio_stream_encoder_construct()

Type Parameter Key Value
PARAM_VALUE 0 enc1 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 3 eng_id s32min-5
PARAM_VALUE 4 vpg 4096-ptr_max
PARAM_VALUE 4 vpg->funcs 2358805471659520000
PARAM_VALUE 4 vpg->inst s32min-5
PARAM_VALUE 5 afmt 4096-ptr_max
PARAM_VALUE 5 afmt->funcs 7754772313001119744
PARAM_VALUE 5 afmt->inst s32min-5
PARAM_VALUE 6 regs 4096-ptr_max
PARAM_VALUE 7 se_shift 3619509361961164800
PARAM_VALUE 8 se_mask 2170026056041746432
BUF_SIZE 0 enc1 80
BUF_SIZE 4 vpg 24
BUF_SIZE 5 afmt 24
CAPPED_DATA 3 eng_id 1
CAPPED_DATA 4 vpg->inst 1
CAPPED_DATA 5 afmt->inst 1
DATA_SOURCE 0 enc1 r _kzalloc_noprof
DATA_SOURCE 1 ctx $1
DATA_SOURCE 3 eng_id $0
DATA_SOURCE 4 vpg r dcn30_vpg_create
DATA_SOURCE 5 afmt r dcn30_afmt_create
FUZZY_MAX 3 eng_id 5
HARD_MAX 3 eng_id 5
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 enc1 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 3 eng_id s32min-1
PARAM_VALUE 4 vpg 4096-ptr_max
PARAM_VALUE 4 vpg->funcs 2358805471659520000
PARAM_VALUE 4 vpg->inst s32min-1
PARAM_VALUE 5 afmt 4096-ptr_max
PARAM_VALUE 5 afmt->funcs 7754772313001119744
PARAM_VALUE 5 afmt->inst s32min-1
PARAM_VALUE 6 regs 4096-ptr_max
PARAM_VALUE 7 se_shift 4071108636276572160
PARAM_VALUE 8 se_mask 6305195638299697152
BUF_SIZE 0 enc1 80
BUF_SIZE 4 vpg 24
BUF_SIZE 5 afmt 24
CAPPED_DATA 3 eng_id 1
CAPPED_DATA 4 vpg->inst 1
CAPPED_DATA 5 afmt->inst 1
DATA_SOURCE 0 enc1 r _kzalloc_noprof
DATA_SOURCE 1 ctx $1
DATA_SOURCE 3 eng_id $0
DATA_SOURCE 4 vpg r dcn303_vpg_create
DATA_SOURCE 5 afmt r dcn303_afmt_create
FUZZY_MAX 3 eng_id 1
HARD_MAX 3 eng_id 1
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn301/dcn301_resource.c dcn301_stream_encoder_create() -> dcn30_dio_stream_encoder_construct()

Type Parameter Key Value
PARAM_VALUE 0 enc1 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 3 eng_id 0-3
PARAM_VALUE 4 vpg 4096-ptr_max
PARAM_VALUE 4 vpg->funcs 2358805471659520000
PARAM_VALUE 4 vpg->inst 0-3
PARAM_VALUE 5 afmt 4096-ptr_max
PARAM_VALUE 5 afmt->funcs 7754772313001119744
PARAM_VALUE 5 afmt->inst 0-3
PARAM_VALUE 6 regs 4096-ptr_max
PARAM_VALUE 7 se_shift 1641522695714775040
PARAM_VALUE 8 se_mask 6742695071041941504
BUF_SIZE 0 enc1 80
BUF_SIZE 4 vpg 24
BUF_SIZE 5 afmt 24
CAPPED_DATA 3 eng_id 1
CAPPED_DATA 4 vpg->inst 1
CAPPED_DATA 5 afmt->inst 1
DATA_SOURCE 0 enc1 r _kzalloc_noprof
DATA_SOURCE 1 ctx $1
DATA_SOURCE 3 eng_id $0
DATA_SOURCE 4 vpg r dcn301_vpg_create
DATA_SOURCE 5 afmt r dcn301_afmt_create
BIT_INFO 4 vpg->inst 0x0,0x7
BIT_INFO 5 afmt->inst 0x0,0x7
NOCHECK_CALL
UNITS 3 eng_id unit_array_size

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn302/dcn302_resource.c dcn302_stream_encoder_create() -> dcn30_dio_stream_encoder_construct()

Type Parameter Key Value
PARAM_VALUE 0 enc1 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 3 eng_id s32min-4
PARAM_VALUE 4 vpg 4096-ptr_max
PARAM_VALUE 4 vpg->funcs 2358805471659520000
PARAM_VALUE 4 vpg->inst s32min-4
PARAM_VALUE 5 afmt 4096-ptr_max
PARAM_VALUE 5 afmt->funcs 7754772313001119744
PARAM_VALUE 5 afmt->inst s32min-4
PARAM_VALUE 6 regs 4096-ptr_max
PARAM_VALUE 7 se_shift 4527685965135069184
PARAM_VALUE 8 se_mask 8449014528060104704
BUF_SIZE 0 enc1 80
BUF_SIZE 4 vpg 24
BUF_SIZE 5 afmt 24
CAPPED_DATA 3 eng_id 1
CAPPED_DATA 4 vpg->inst 1
CAPPED_DATA 5 afmt->inst 1
DATA_SOURCE 0 enc1 r _kzalloc_noprof
DATA_SOURCE 1 ctx $1
DATA_SOURCE 3 eng_id $0
DATA_SOURCE 4 vpg r dcn302_vpg_create
DATA_SOURCE 5 afmt r dcn302_afmt_create
FUZZY_MAX 3 eng_id 4
HARD_MAX 3 eng_id 4
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 enc1 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 3 eng_id s32min-5
PARAM_VALUE 4 vpg 4096-ptr_max
PARAM_VALUE 4 vpg->funcs 642943893233741824
PARAM_VALUE 4 vpg->inst s32min-5
PARAM_VALUE 5 afmt 4096-ptr_max
PARAM_VALUE 5 afmt->funcs 7329169220203405312
PARAM_VALUE 5 afmt->inst s32min-5
PARAM_VALUE 6 regs 4096-ptr_max
PARAM_VALUE 7 se_shift 3512929184354553856
PARAM_VALUE 8 se_mask 4867869639158292480
BUF_SIZE 0 enc1 80
BUF_SIZE 4 vpg 24
BUF_SIZE 5 afmt 24
CAPPED_DATA 3 eng_id 1
CAPPED_DATA 4 vpg->inst 1
CAPPED_DATA 5 afmt->inst 1
DATA_SOURCE 0 enc1 r _kzalloc_noprof
DATA_SOURCE 1 ctx $1
DATA_SOURCE 3 eng_id $0
DATA_SOURCE 4 vpg r dcn31_vpg_create
DATA_SOURCE 5 afmt r dcn31_afmt_create
FUZZY_MAX 3 eng_id 5
HARD_MAX 3 eng_id 5
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 enc1 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 3 eng_id 0-4
PARAM_VALUE 4 vpg 4096-ptr_max
PARAM_VALUE 4 vpg->funcs 642943893233741824
PARAM_VALUE 4 vpg->inst 0-4
PARAM_VALUE 5 afmt 4096-ptr_max
PARAM_VALUE 5 afmt->funcs 7329169220203405312
PARAM_VALUE 5 afmt->inst 0-4
PARAM_VALUE 6 regs 4096-ptr_max
PARAM_VALUE 7 se_shift 5687735390840086528
PARAM_VALUE 8 se_mask 4085630968734470144
BUF_SIZE 0 enc1 80
BUF_SIZE 4 vpg 24
BUF_SIZE 5 afmt 24
CAPPED_DATA 3 eng_id 1
CAPPED_DATA 4 vpg->inst 1
CAPPED_DATA 5 afmt->inst 1
DATA_SOURCE 0 enc1 r _kzalloc_noprof
DATA_SOURCE 1 ctx $1
DATA_SOURCE 3 eng_id $0
DATA_SOURCE 4 vpg r dcn31_vpg_create
DATA_SOURCE 5 afmt r dcn31_afmt_create
HARD_MAX 3 eng_id 4
NOCHECK_CALL
UNITS 3 eng_id unit_array_size

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

Type Parameter Key Value
PARAM_VALUE 0 enc1 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 3 eng_id 0-4
PARAM_VALUE 4 vpg 4096-ptr_max
PARAM_VALUE 4 vpg->funcs 642943893233741824
PARAM_VALUE 4 vpg->inst 0-4
PARAM_VALUE 5 afmt 4096-ptr_max
PARAM_VALUE 5 afmt->funcs 7329169220203405312
PARAM_VALUE 5 afmt->inst 0-4
PARAM_VALUE 6 regs 4096-ptr_max
PARAM_VALUE 7 se_shift 9179123442947457024
PARAM_VALUE 8 se_mask 7879395673273974784
BUF_SIZE 0 enc1 80
BUF_SIZE 4 vpg 24
BUF_SIZE 5 afmt 24
CAPPED_DATA 3 eng_id 1
CAPPED_DATA 4 vpg->inst 1
CAPPED_DATA 5 afmt->inst 1
DATA_SOURCE 0 enc1 r _kzalloc_noprof
DATA_SOURCE 1 ctx $1
DATA_SOURCE 3 eng_id $0
DATA_SOURCE 4 vpg r dcn31_vpg_create
DATA_SOURCE 5 afmt r dcn31_afmt_create
HARD_MAX 3 eng_id 4
NOCHECK_CALL
UNITS 3 eng_id unit_array_size