Defined in 1 files as a prototype:

Defined in 1 files as a macro:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_crtc_set_crc_source_dprx_no_connector() -> amdgpu_dm_crtc_set_crc_source()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 0 crtc->mutex.head.next 4096-ptr_max
PARAM_VALUE 0 crtc->mutex.head.prev 4096-ptr_max
PARAM_VALUE 0 crtc->state 16,4096-ptr_max
PARAM_VALUE 1 src_name 4927630793102585856
BUF_SIZE 1 src_name 5
STR_LEN 0 crtc 4
TERMINATED 1 src_name 1

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_crtc_set_crc_source_invalid() -> amdgpu_dm_crtc_set_crc_source()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 0 crtc->mutex.head.next 4096-ptr_max
PARAM_VALUE 0 crtc->mutex.head.prev 4096-ptr_max
PARAM_VALUE 1 src_name 444204974638276608
BUF_SIZE 1 src_name 8
STR_LEN 0 crtc 7
TERMINATED 1 src_name 1

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_crtc_set_crc_source_none_commit() -> amdgpu_dm_crtc_set_crc_source()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->commit_list.prev 4096-ptr_max
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 0 crtc->mutex.head.next 4096-ptr_max
PARAM_VALUE 0 crtc->mutex.head.prev 4096-ptr_max
PARAM_VALUE 0 crtc->state 16,4096-ptr_max
PARAM_VALUE 1 src_name 8581050624356229120
BUF_SIZE 1 src_name 5
STR_LEN 0 crtc 4
TERMINATED 1 src_name 1

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_crtc_set_crc_source_none_no_stream() -> amdgpu_dm_crtc_set_crc_source()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 0 crtc->mutex.head.next 4096-ptr_max
PARAM_VALUE 0 crtc->mutex.head.prev 4096-ptr_max
PARAM_VALUE 0 crtc->state 16,4096-ptr_max
PARAM_VALUE 1 src_name 8581050624356229120
BUF_SIZE 1 src_name 5
STR_LEN 0 crtc 4
TERMINATED 1 src_name 1

drivers/gpu/drm/drm_debugfs_crc.c crtc_crc_open() -> (struct drm_crtc_funcs)->set_crc_source()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->crc.entries 4096-ptr_max
PARAM_VALUE 0 crtc->crc.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 crtc->crc.opened 1
PARAM_VALUE 0 crtc->crc.values_cnt 1-10
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 0 crtc->dev->driver 4096-ptr_max
PARAM_VALUE 0 crtc->dev->mode_config.funcs->atomic_commit 0
PARAM_VALUE 0 crtc->funcs 4096-ptr_max
BUF_SIZE 0 crtc s32min-(-2),1-s32max
BUF_SIZE 0 crtc s32min-(-2),1-s32max
BUF_SIZE 1 src_name 1-1000000001,2147479553
CONTAINER 0 -136-536+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 0 &crtc->mutex

drivers/gpu/drm/drm_debugfs_crc.c crtc_crc_release() -> (struct drm_crtc_funcs)->set_crc_source()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->crc.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 crtc->crc.opened 0
PARAM_VALUE 0 crtc->funcs 4096-ptr_max
PARAM_VALUE 1 src_name 0
BUF_SIZE 0 crtc s32min-(-2),1-s32max
BUF_SIZE 0 crtc s32min-(-2),1-s32max
CONTAINER 0 -136-536+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL