Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

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

Type Parameter Key Value
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
BIT_INFO 2 sink->sink_signal 0x0,0xff
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_read_mccs_caps_hdmi_vcp_request() -> dm_helpers_read_mccs_caps()

Type Parameter Key Value
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->connector_signal 4
PARAM_VALUE 2 sink 4096-ptr_max
PARAM_VALUE 2 sink->edid_caps.freesync_vcp_code 227
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->connector_signal 32
PARAM_VALUE 1 link->dpcd_caps.branch_dev_id 24749
PARAM_VALUE 1 link->dpcd_caps.dongle_type 3
PARAM_VALUE 1 link->dpcd_caps.dpcd_rev.raw 20
PARAM_VALUE 2 sink 4096-ptr_max
PARAM_VALUE 2 sink->edid_caps.freesync_vcp_code 227
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->connector_signal 32
PARAM_VALUE 1 link->dpcd_caps.branch_dev_id 24749
PARAM_VALUE 1 link->dpcd_caps.dongle_type 3
PARAM_VALUE 1 link->dpcd_caps.dpcd_rev.raw 20
PARAM_VALUE 2 sink 4096-ptr_max
PARAM_VALUE 2 sink->edid_caps.freesync_vcp_code 227
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->connector_signal 32
PARAM_VALUE 1 link->dpcd_caps.dongle_type 2
PARAM_VALUE 2 sink 4096-ptr_max
PARAM_VALUE 2 sink->edid_caps.freesync_vcp_code 227
NOCHECK_CALL

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

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->edid_caps.freesync_vcp_code 0
PARAM_VALUE 2 sink->mccs_caps.freesync_supported 1
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_read_mccs_caps_null_ctx() -> dm_helpers_read_mccs_caps()

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_read_mccs_caps_null_link() -> dm_helpers_read_mccs_caps()

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