Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c dp_is_sink_present() -> dal_ddc_open()

Type Parameter Key Value
PARAM_VALUE 0 ddc 1-u64max
PARAM_VALUE 1 mode 0
PARAM_VALUE 2 config_type 1
DATA_SOURCE 0 ddc r get_ddc_pin
RX_PATH
LOCK2 &aconnector->dm_dp_aux.aux.hw_mutex
TYPE_LOCK (struct drm_dp_aux)->hw_mutex

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_i2c_sw.c dce_i2c_sw_engine_acquire_engine() -> dal_ddc_open()

Type Parameter Key Value
PARAM_VALUE 0 ddc 4096-ptr_max
PARAM_VALUE 1 mode 2
PARAM_VALUE 2 config_type 1
DATA_SOURCE 0 ddc $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c acquire() -> dal_ddc_open()

Type Parameter Key Value
PARAM_VALUE 0 ddc 4096-ptr_max
PARAM_VALUE 0 ddc->hw_info.ddc_channel 0-15
PARAM_VALUE 0 ddc->pin_data 4096-ptr_max
PARAM_VALUE 1 mode 3
PARAM_VALUE 2 config_type 0
DATA_SOURCE 0 ddc $1
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_i2c_hw.c acquire_i2c_hw_engine() -> dal_ddc_open()

Type Parameter Key Value
PARAM_VALUE 0 ddc 4096-ptr_max
PARAM_VALUE 0 ddc->hw_info.hw_supported 1
PARAM_VALUE 1 mode 3
PARAM_VALUE 2 config_type 1
DATA_SOURCE 0 ddc $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock