Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c amdgpu_dm_update_freesync_caps() -> dm_helpers_mccs_vcp_set()

Type Parameter Key Value
PARAM_VALUE 0 ctx 0,4096-ptr_max
PARAM_VALUE 1 link 0,4096-ptr_max
PARAM_VALUE 2 sink 4096-ptr_max
PARAM_VALUE 2 sink->ctx 4096-ptr_max
PARAM_VALUE 2 sink->ctx->dce_version 3-s32max
PARAM_VALUE 2 sink->edid_caps.freesync_vcp_code 1-255
PARAM_VALUE 2 sink->mccs_caps.freesync_supported 1
PARAM_VALUE 2 sink->sink_signal 4,32,128
FUZZY_MAX 2 sink->sink_signal 128
BIT_INFO 2 sink->sink_signal 0x0,0xa4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_helpers_test.c dm_test_mccs_vcp_set_i2c_failure() -> dm_helpers_mccs_vcp_set()

Type Parameter Key Value
PARAM_VALUE 2 sink 4096-ptr_max
PARAM_VALUE 2 sink->edid_caps.freesync_vcp_code 227
PARAM_VALUE 2 sink->mccs_caps.freesync_supported 1
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_helpers_test.c dm_test_mccs_vcp_set_i2c_packet() -> dm_helpers_mccs_vcp_set()

Type Parameter Key Value
PARAM_VALUE 2 sink 4096-ptr_max
PARAM_VALUE 2 sink->edid_caps.freesync_vcp_code 227
PARAM_VALUE 2 sink->mccs_caps.freesync_supported 1
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_helpers_test.c dm_test_mccs_vcp_set_not_supported() -> dm_helpers_mccs_vcp_set()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 1 link 16,4096-ptr_max
PARAM_VALUE 2 sink 4096-ptr_max
PARAM_VALUE 2 sink->mccs_caps.freesync_supported 0
BUF_SIZE 0 ctx 200
BUF_SIZE 1 link 1616
BUF_SIZE 2 sink 2520
DATA_SOURCE 0 ctx r kunit_kzalloc
DATA_SOURCE 1 link r kunit_kzalloc
DATA_SOURCE 2 sink r kunit_kzalloc
MEM_ZERO 0 ctx
MEM_ZERO 1 link
MEM_ZERO 2 sink
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_helpers_test.c dm_test_mccs_vcp_set_null_ctx() -> dm_helpers_mccs_vcp_set()

Type Parameter Key Value
PARAM_VALUE 0 ctx 0
PARAM_VALUE 1 link 0
PARAM_VALUE 2 sink 0
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_helpers_test.c dm_test_mccs_vcp_set_null_link() -> dm_helpers_mccs_vcp_set()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 1 link 0
PARAM_VALUE 2 sink 16,4096-ptr_max
BUF_SIZE 0 ctx 200
BUF_SIZE 2 sink 2520
DATA_SOURCE 0 ctx r kunit_kzalloc
DATA_SOURCE 2 sink r kunit_kzalloc
MEM_ZERO 0 ctx
MEM_ZERO 2 sink
NOCHECK_CALL