Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c write_i2c() -> dm_helpers_submit_i2c()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dc 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->ctx 4096-ptr_max
PARAM_VALUE 1 link->ctx->dc 4096-ptr_max
PARAM_VALUE 2 cmd 1685209231791157248
PARAM_VALUE 2 cmd->engine 0
PARAM_VALUE 2 cmd->number_of_payloads 1
PARAM_VALUE 2 cmd->payloads 199016742518788096
DATA_SOURCE 1 link $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/hdcp/hdcp_msg.c hdmi_14_process_transaction() -> dm_helpers_submit_i2c()

Type Parameter Key Value
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->ddc 4096-ptr_max
PARAM_VALUE 1 link->ddc->ctx 4096-ptr_max
PARAM_VALUE 1 link->ddc->ctx->dc 4096-ptr_max
PARAM_VALUE 1 link->force_to_use_aux 0
PARAM_VALUE 2 cmd 7559810334595346432
PARAM_VALUE 2 cmd->engine 2
PARAM_VALUE 2 cmd->number_of_payloads 1-2
PARAM_VALUE 2 cmd->payloads 4096-ptr_max
DATA_SOURCE 1 link $0
MEM_ZERO 1 link->hdcp_caps.rx_caps.raw

drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_ddc.c link_query_ddc_data() -> dm_helpers_submit_i2c()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dc 4096-ptr_max
PARAM_VALUE 2 cmd 1163745477308035072
PARAM_VALUE 2 cmd->engine 1
PARAM_VALUE 2 cmd->payloads 16,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 ctx 0
PARAM_VALUE 1 link 16,4096-ptr_max
PARAM_VALUE 2 cmd 3693948150918402048
PARAM_VALUE 2 cmd->engine 0
PARAM_VALUE 2 cmd->number_of_payloads 0
PARAM_VALUE 2 cmd->payloads 0
PARAM_VALUE 2 cmd->speed 0
BUF_SIZE 1 link 1616
DATA_SOURCE 1 link r kunit_kzalloc
MEM_ZERO 1 link

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

Type Parameter Key Value
PARAM_VALUE 0 ctx 0
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->priv 4096-ptr_max
PARAM_VALUE 2 cmd 3451459489035452416
PARAM_VALUE 2 cmd->engine 0
PARAM_VALUE 2 cmd->number_of_payloads 2
PARAM_VALUE 2 cmd->payloads 4096-ptr_max
PARAM_VALUE 2 cmd->speed 0
BUF_SIZE 1 link 1616
BUF_SIZE 1 link->priv 9272
DATA_SOURCE 1 link r kunit_kzalloc
MEM_ZERO 1 link

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_hdcp.c lp_read_i2c() -> dm_helpers_submit_i2c()

Type Parameter Key Value
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->dc 4096-ptr_max
PARAM_VALUE 2 cmd 4880127389023105024
PARAM_VALUE 2 cmd->engine 2
PARAM_VALUE 2 cmd->number_of_payloads 2
PARAM_VALUE 2 cmd->payloads 4096-ptr_max
DATA_SOURCE 1 link $0
RX_PATH
HALF_LOCKED2 _T->lock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_hdcp.c lp_write_i2c() -> dm_helpers_submit_i2c()

Type Parameter Key Value
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 1 link->dc 4096-ptr_max
PARAM_VALUE 2 cmd 8750858321304117248
PARAM_VALUE 2 cmd->engine 2
PARAM_VALUE 2 cmd->number_of_payloads 1
PARAM_VALUE 2 cmd->payloads 4096-ptr_max
DATA_SOURCE 1 link $0
RX_PATH
HALF_LOCKED2 _T->lock

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_detection.c i2c_read() -> dm_helpers_submit_i2c()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dc 4096-ptr_max
PARAM_VALUE 2 cmd 6957878374763970560
PARAM_VALUE 2 cmd->engine 1
PARAM_VALUE 2 cmd->number_of_payloads 2
PARAM_VALUE 2 cmd->payloads 4096-ptr_max