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_hdcp_test.c dm_test_psp_set_srm_initialized_stages_command() -> psp_set_srm()

Type Parameter Key Value
PARAM_VALUE 0 psp 4096-ptr_max
PARAM_VALUE 0 psp->adev 4096-ptr_max
PARAM_VALUE 0 psp->hdcp_context.context.initialized 1
PARAM_VALUE 0 psp->hdcp_context.context.mem_context.shared_buf 16,4096-ptr_max
PARAM_VALUE 1 srm 4096-ptr_max
PARAM_VALUE 2 srm_size 4
PARAM_VALUE 3 srm_version 6105659507675222016
PARAM_VALUE 3 *srm_version 57005
BUF_SIZE 0 psp 4848
BUF_SIZE 0 psp->hdcp_context.context.mem_context.shared_buf 10264
BUF_SIZE 1 srm 4
DATA_SOURCE 0 psp r kunit_kzalloc
MEM_ZERO 0 psp
UNITS 2 srm_size unit_byte

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_hdcp_test.c dm_test_psp_set_srm_uninitialized_returns_einval() -> psp_set_srm()

Type Parameter Key Value
PARAM_VALUE 0 psp 16,4096-ptr_max
PARAM_VALUE 1 srm 4096-ptr_max
PARAM_VALUE 2 srm_size 4
PARAM_VALUE 3 srm_version 2826837975518420992
PARAM_VALUE 3 *srm_version 57005
BUF_SIZE 0 psp 4848
BUF_SIZE 1 srm 4
DATA_SOURCE 0 psp r kunit_kzalloc
MEM_ZERO 0 psp
UNITS 2 srm_size unit_byte

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_hdcp.c hdcp_update_display_encryption_control() -> psp_set_srm()

Type Parameter Key Value
PARAM_VALUE 2 srm_size 1-u32max
PARAM_VALUE 3 srm_version 4096-ptr_max
BUF_SIZE 1 srm 1,16,5120
NOCHECK_CALL
UNITS 2 srm_size unit_byte
LOCK2 _T->lock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_hdcp.c srm_data_write() -> psp_set_srm()

Type Parameter Key Value
PARAM_VALUE 3 srm_version 7919840267917672448
PARAM_VALUE 3 *srm_version 0
BUF_SIZE 1 srm 1,16,5120
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 srm_size 1-8191[c]
UNITS 2 srm_size unit_byte
HALF_LOCKED2 &of->mutex