Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c resource_map_pool_resources() -> update_audio_usage()

Type Parameter Key Value
PARAM_VALUE 0 res_ctx 4096-ptr_max
PARAM_VALUE 1 pool 4096-ptr_max
PARAM_VALUE 1 pool->audio_count 0-s32max
PARAM_VALUE 2 audio 1-u64max
PARAM_VALUE 3 acquired 1
CAPPED_DATA 1 pool->stream_enc_count 1
DATA_SOURCE 2 audio r find_first_free_audio
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c resource_remove_otg_master_for_stream_output() -> update_audio_usage()

Type Parameter Key Value
PARAM_VALUE 0 res_ctx 4096-ptr_max
PARAM_VALUE 1 pool 4096-ptr_max
PARAM_VALUE 2 audio 1-u64max
PARAM_VALUE 3 acquired 0
CAPPED_DATA 1 pool->stream_enc_count 1
DATA_SOURCE 1 pool $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dm->dc_lock

drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn10/dcn10_hwseq.c dcn10_reset_back_end_for_pipe() -> update_audio_usage()

Type Parameter Key Value
PARAM_VALUE 0 res_ctx 4096-ptr_max
PARAM_VALUE 2 audio 4096-ptr_max
PARAM_VALUE 3 acquired 0
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn20/dcn20_hwseq.c dcn20_reset_back_end_for_pipe() -> update_audio_usage()

Type Parameter Key Value
PARAM_VALUE 0 res_ctx 4096-ptr_max
PARAM_VALUE 1 pool 4096-ptr_max
PARAM_VALUE 2 audio 4096-ptr_max
PARAM_VALUE 3 acquired 0
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dce110/dce110_hwseq.c dce110_reset_hw_ctx_wrap() -> update_audio_usage()

Type Parameter Key Value
PARAM_VALUE 0 res_ctx 4096-ptr_max
PARAM_VALUE 2 audio 4096-ptr_max
PARAM_VALUE 3 acquired 0
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn31/dcn31_hwseq.c dcn31_reset_back_end_for_pipe() -> update_audio_usage()

Type Parameter Key Value
PARAM_VALUE 0 res_ctx 4096-ptr_max
PARAM_VALUE 2 audio 4096-ptr_max
PARAM_VALUE 3 acquired 0
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn401/dcn401_hwseq.c dcn401_reset_back_end_for_pipe() -> update_audio_usage()

Type Parameter Key Value
PARAM_VALUE 0 res_ctx 4096-ptr_max
PARAM_VALUE 2 audio 4096-ptr_max
PARAM_VALUE 3 acquired 0
NOCHECK_CALL