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:

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

Smatch assignments to (struct link_service)->dp_link_bandwidth_kbps:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_backlight_test.c setup_test_link_service() -> (struct link_service)->dp_link_bandwidth_kbps [0]

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c dc_create() -> (struct link_service)->dp_link_bandwidth_kbps [min-max]

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c dc_destroy() -> (struct link_service)->dp_link_bandwidth_kbps [min-max]

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c dc_destruct() -> (struct link_service)->dp_link_bandwidth_kbps [min-max]

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_irq_test.c dm_test_dmub_hpd_callback_hpd_irq_type() -> (struct link_service)->dp_link_bandwidth_kbps [0]

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_irq_test.c dm_test_dmub_hpd_callback_hpd_type() -> (struct link_service)->dp_link_bandwidth_kbps [0]

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_irq_test.c dm_test_handle_hpd_irq_helper_debounce_release_prev() -> (struct link_service)->dp_link_bandwidth_kbps [0]

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_irq_test.c dm_test_handle_hpd_irq_helper_debounce_schedule() -> (struct link_service)->dp_link_bandwidth_kbps [0]

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_irq_test.c dm_test_handle_hpd_irq_helper_detect_false() -> (struct link_service)->dp_link_bandwidth_kbps [0]

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_irq_test.c dm_test_hdmi_hpd_debounce_reallow_idle() -> (struct link_service)->dp_link_bandwidth_kbps [0]

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_irq_test.c dm_test_hpd_rx_offload_work_automated_test() -> (struct link_service)->dp_link_bandwidth_kbps [0]

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_irq_test.c dm_test_hpd_rx_offload_work_link_loss() -> (struct link_service)->dp_link_bandwidth_kbps [0]

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_irq_test.c dm_test_hpd_rx_offload_work_no_connection() -> (struct link_service)->dp_link_bandwidth_kbps [0]

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_factory.c construct_link_service_validation() -> (struct link_service)->dp_link_bandwidth_kbps [5700442124585824256]

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_factory.c link_create_link_service() -> (struct link_service)->dp_link_bandwidth_kbps [0-u64max]

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_factory.c link_destroy_link_service() -> (struct link_service)->dp_link_bandwidth_kbps [min-max]

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c dm_mst_test_alloc_sideband_connector() -> (struct link_service)->dp_link_bandwidth_kbps [0]

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c dm_mst_test_aux_transfer_error_result() -> (struct link_service)->dp_link_bandwidth_kbps [0]

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c dm_mst_test_aux_transfer_hpd_discon_quirk() -> (struct link_service)->dp_link_bandwidth_kbps [0]

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c dm_mst_test_aux_transfer_non_ack_reply() -> (struct link_service)->dp_link_bandwidth_kbps [0]

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c dm_mst_test_aux_transfer_partial_write() -> (struct link_service)->dp_link_bandwidth_kbps [0]

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c dm_mst_test_initialize_dp_connector_mst() -> (struct link_service)->dp_link_bandwidth_kbps [0]

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c dm_mst_test_pbn_divider_uses_link_bandwidth() -> (struct link_service)->dp_link_bandwidth_kbps [0,4979005393006055424]