Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/amd/display/dc/dce/dce_aux.c, line 84
- drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c, line 660
- drivers/gpu/drm/amd/display/dc/dce/dce_i2c_sw.c, line 71
- drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c, line 547
- drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c dal_gpio_destroy_ddc() -> dal_ddc_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ddc | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c dp_is_sink_present() -> dal_ddc_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ddc | 4096-ptr_max |
| PARAM_VALUE | 0 | ddc->pin_data | 4096-ptr_max |
| DATA_SOURCE | 0 | ddc | r get_ddc_pin |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &aconnector->dm_dp_aux.aux.hw_mutex | ||
| TYPE_LOCK | (struct drm_dp_aux)->hw_mutex |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c dp_is_sink_present() -> dal_ddc_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ddc | 4096-ptr_max |
| PARAM_VALUE | 0 | ddc->pin_clock | 4096-ptr_max |
| PARAM_VALUE | 0 | ddc->pin_clock->mode | (-1)-0,2-3 |
| PARAM_VALUE | 0 | ddc->pin_clock->pin | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ddc->pin_clock->pin->mode | s32min-s32max |
| PARAM_VALUE | 0 | ddc->pin_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ddc->pin_data->hw_container.ddc | 1-u64max |
| PARAM_VALUE | 0 | ddc->pin_data->id | 2 |
| PARAM_VALUE | 0 | ddc->pin_data->mode | (-1)-0 |
| PARAM_VALUE | 0 | ddc->pin_data->pin | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *ddc->pin_clock->pin->en | 0-4294967295 |
| PARAM_VALUE | 0 | *ddc->pin_clock->pin->id | s32min-s32max |
| PARAM_VALUE | 0 | *ddc->pin_clock->pin->mode | s32min-s32max |
| PARAM_VALUE | 0 | *ddc->pin_clock->pin->opened | 0-1 |
| PARAM_VALUE | 0 | *ddc->pin_data->pin->en | 0-4294967295 |
| PARAM_VALUE | 0 | *ddc->pin_data->pin->id | s32min-s32max |
| PARAM_VALUE | 0 | *ddc->pin_data->pin->mode | s32min-s32max |
| PARAM_VALUE | 0 | *ddc->pin_data->pin->opened | 1 |
| DATA_SOURCE | 0 | ddc | r get_ddc_pin |
| RX_PATH | |||
| NOCHECK_CALL | |||
| 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 release_engine_dce_sw() -> dal_ddc_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ddc | 0 |
| PARAM_VALUE | 0 | ddc->pin_clock | 4096-ptr_max |
| PARAM_VALUE | 0 | ddc->pin_data | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c release_engine() -> dal_ddc_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_i2c_hw.c dce_i2c_submit_command_hw() -> dal_ddc_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |