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/amdgpu_dm/tests/amdgpu_dm_backlight_test.c dm_test_find_stream_with_link_missing() -> dm_find_stream_with_link()

Type Parameter Key Value
PARAM_VALUE 0 dm 4096-ptr_max
PARAM_VALUE 0 dm->dc 4096-ptr_max
PARAM_VALUE 0 dm->dc->current_state 4096-ptr_max
PARAM_VALUE 0 dm->dc->current_state->stream_count 1-255
PARAM_VALUE 1 link 16,4096-ptr_max
BUF_SIZE 1 link 1616
DATA_SOURCE 0 dm r dm_kunit_alloc_dm
DATA_SOURCE 1 link r dm_kunit_alloc_link

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_backlight_test.c dm_test_find_stream_with_link_returns_match() -> dm_find_stream_with_link()

Type Parameter Key Value
PARAM_VALUE 0 dm 4096-ptr_max
PARAM_VALUE 0 dm->dc 4096-ptr_max
PARAM_VALUE 0 dm->dc->current_state 4096-ptr_max
PARAM_VALUE 0 dm->dc->current_state->stream_count 1-255
PARAM_VALUE 1 link 16,4096-ptr_max
BUF_SIZE 1 link 1616
DATA_SOURCE 0 dm r dm_kunit_alloc_dm
DATA_SOURCE 1 link r dm_kunit_alloc_link

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_backlight.c amdgpu_dm_backlight_set_level() -> dm_find_stream_with_link()

Type Parameter Key Value
PARAM_VALUE 0 dm 4096-ptr_max
BUF_SIZE 0 dm s32min-(-1),1-s32max
BUF_SIZE 0 dm s32min-(-1),1-s32max
BUF_SIZE 0 dm->dc->ctx (-1),200
BUF_SIZE 0 dm->dc->ctx->dmub_srv (-1),40
BUF_SIZE 0 dm->dc->ctx->logger (-1),8
CAPPED_DATA 0 &dm->ddev->mode_config.connector_list 1
DATA_SOURCE 0 dm $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dm unit_byte