Defined in 1 files as a prototype:
Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/display/dc/core/dc_link_exports.c, line 253
- drivers/gpu/drm/amd/display/dc/link/accessories/link_dp_cts.c, line 994
- drivers/gpu/drm/amd/display/dc/link/link_factory.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/link/accessories/link_dp_cts.c dp_set_preferred_training_settings() -> dp_set_preferred_link_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dc | 4096-ptr_max |
| PARAM_VALUE | 0 | dc->link_srv | 4096-ptr_max |
| PARAM_VALUE | 1 | link_setting | 4096-ptr_max |
| PARAM_VALUE | 1 | link_setting->lane_count | 0-2,4 |
| PARAM_VALUE | 1 | link_setting->link_rate | 0-48,1000,1350,2000 |
| PARAM_VALUE | 2 | link | 4096-ptr_max |
| PARAM_VALUE | 2 | link->preferred_link_setting.lane_count | 0-2,4 |
| PARAM_VALUE | 2 | link->preferred_link_setting.link_rate | 0-48,1000,1350,2000 |
| DATA_SOURCE | 0 | dc | $0 |
| DATA_SOURCE | 2 | link | $3 |
| FUZZY_MAX | 2 | link->preferred_link_setting.lane_count | 0 |
| FUZZY_MAX | 2 | link->preferred_link_setting.link_rate | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &adev->dm.dc_lock | ||
| TYPE_LOCK | (struct amdgpu_display_manager)->dc_lock |
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_exports.c dc_link_set_preferred_link_settings() -> (struct link_service)->dp_set_preferred_link_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dc | 4096-ptr_max |
| PARAM_VALUE | 0 | dc->link_srv | 4096-ptr_max |
| DATA_SOURCE | 0 | dc | $0 |
| DATA_SOURCE | 1 | link_setting | $1 |
| DATA_SOURCE | 2 | link | $2 |
| CONTAINER | 0 | -840-1872+0 | $(-1) |
| NOCHECK_CALL |