Defined in 1 files as a prototype:
Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c, line 338
- drivers/gpu/drm/amd/display/dc/core/dc_link_exports.c, line 126
- drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c, line 55
- drivers/gpu/drm/amd/display/dc/link/link_dpms.c
- drivers/gpu/drm/amd/display/dc/link/link_factory.c
- drivers/gpu/drm/amd/display/dc/link/link_validation.c, line 494
- drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c
- drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c, line 1802
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c decide_dp_link_settings() -> dp_link_bandwidth_kbps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->connector_signal | 0-127,129-u32max |
| PARAM_VALUE | 1 | link_settings | 4096-ptr_max |
| DATA_SOURCE | 0 | link | $0 |
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c decide_dp_link_settings() -> dp_link_bandwidth_kbps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->connector_signal | 0-127,129-u32max |
| PARAM_VALUE | 1 | link_settings | 8090719711640465408 |
| PARAM_VALUE | 1 | link_settings->lane_count | 1-2 |
| PARAM_VALUE | 1 | link_settings->link_rate | 6,10,20 |
| DATA_SOURCE | 0 | link | $0 |
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c decide_edp_link_settings_with_dsc() -> dp_link_bandwidth_kbps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link_settings | 4096-ptr_max |
| DATA_SOURCE | 0 | link | $0 |
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c decide_edp_link_settings_with_dsc() -> dp_link_bandwidth_kbps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link_settings | 6632339666862682112 |
| DATA_SOURCE | 0 | link | $0 |
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c decide_edp_link_settings_with_dsc() -> dp_link_bandwidth_kbps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link_settings | 6632339666862682112 |
| CAPPED_DATA | 0 | link->dpcd_caps.edp_supported_link_rates_count | 1 |
| DATA_SOURCE | 0 | link | $0 |
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c edp_decide_link_settings() -> dp_link_bandwidth_kbps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link_settings | 1715084403844624384 |
| CAPPED_DATA | 0 | link->dpcd_caps.edp_supported_link_rates_count | 1 |
| DATA_SOURCE | 0 | link | $0 |
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c get_pbn_per_slot() -> dp_link_bandwidth_kbps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | link_settings | 4096-ptr_max |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c link_calculate_sst_avg_time_slots_per_mtp() -> dp_link_bandwidth_kbps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | link_settings | 4096-ptr_max |
| DATA_SOURCE | 0 | link | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c dp_validate_mode_timing() -> dp_link_bandwidth_kbps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->link_enc | 4096-ptr_max |
| PARAM_VALUE | 1 | link_settings | 4096-ptr_max |
| BUF_SIZE | 1 | link_settings | 16 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 1 | link_settings | r dp_get_verified_link_cap |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/hwss/link_hwss_hpo_dp.c set_hpo_dp_hblank_min_symbol_width() -> (struct link_service)->dp_link_bandwidth_kbps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link_settings | 4096-ptr_max |
| DATA_SOURCE | 1 | link_settings | $1 |
| HOST_DATA | 0 | link->panel_cntl->stored_backlight_registers.BL_PWM_CNTL | 0-u32max |
| HOST_DATA | 0 | link->panel_cntl->stored_backlight_registers.BL_PWM_CNTL2 | 0-u32max |
| HOST_DATA | 0 | link->panel_cntl->stored_backlight_registers.BL_PWM_PERIOD_CNTL | 0-u32max |
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_exports.c dc_link_bandwidth_kbps() -> (struct link_service)->dp_link_bandwidth_kbps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| PARAM_VALUE | 1 | link_settings | 4096-ptr_max |
| BUF_SIZE | 0 | link | (-1),1616 |
| BUF_SIZE | 0 | link | (-1),1616 |
| BUF_SIZE | 0 | link->dc | (-1),3059328 |
| BUF_SIZE | 1 | link_settings | (-1),16 |
| BUF_SIZE | 1 | link_settings | (-1),16 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 1 | link_settings | $1 |
| CONTAINER | 0 | -152-1872-488+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |