Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 15 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c, line 3144
- drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
- drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c, line 3059
- drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c, line 1007
- drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.c
- drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio_fixed_vs_pe_retimer.c, line 133
- drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dpia.c
- drivers/gpu/drm/amd/display/dc/link/link_dpms.c, line 536
- drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c
- drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_phy.c
- drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c, line 815
- drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c, line 1269
- drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c, line 1876
- drivers/gpu/drm/amd/display/dc/resource/dcn42/dcn42_resource.c, line 1672
- drivers/gpu/drm/amd/display/dc/resource/dcn42b/dcn42b_resource.c, line 1647
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c dp_get_max_link_cap() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->res_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->res_pool->funcs->link_encs_assign | 0,5262900683136417792 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c dp_get_max_link_enc_cap() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->res_pool | 4096-ptr_max |
| BUF_SIZE | 0 | link | (-1),1616 |
| BUF_SIZE | 0 | link | (-1),1616 |
| DATA_SOURCE | 0 | link | $0 |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c dp_is_fec_supported() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->res_pool | 4096-ptr_max |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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/amdgpu_dm/amdgpu_dm_connector.c amdgpu_dm_connector_init_helper() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | link | $3 |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_phy.c dp_set_fec_enable() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_phy.c dp_set_fec_ready() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/hwss/link_hwss_dio.c disable_dio_link_output() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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/link/hwss/link_hwss_dio.c enable_dio_dp_link_output() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->res_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->res_pool | 4096-ptr_max |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/hwss/link_hwss_dio.c reset_dio_stream_encoder() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| 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/link/hwss/link_hwss_dio.c set_dio_dp_lane_settings() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/hwss/link_hwss_dio.c set_dio_dp_link_test_pattern() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->res_pool->res_cap->num_dig_link_enc | 0,3,5 |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | link->ctx->dc->res_pool->pipe_count |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/hwss/link_hwss_dio.c setup_dio_stream_encoder() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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/link/hwss/link_hwss_dio.c update_dio_stream_allocation_table() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| DATA_SOURCE | 0 | link | $0 |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c get_link_encoder() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/amd/amdgpu/../display/dc/link/hwss/link_hwss_dio_fixed_vs_pe_retimer.c set_dio_fixed_vs_pe_retimer_dp_link_test_pattern() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->res_pool->res_cap->num_dig_link_enc | 0,3,5 |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | link->ctx->dc->res_pool->pipe_count |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn20/dcn20_resource.c get_pixel_clock_parameters() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn401/dcn401_resource.c dcn401_build_pipe_pix_clk_params() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dce110/dce110_hwseq.c dce110_disable_stream() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dce110/dce110_hwseq.c power_down_encoders() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
58030d6fa8df3e6e decide_eq_training_pattern() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/hwss/link_hwss_dpia.c disable_dpia_link_output() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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/link/hwss/link_hwss_dpia.c enable_dpia_link_output() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->res_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->res_pool | 4096-ptr_max |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/hwss/link_hwss_dpia.c set_dio_dpia_link_test_pattern() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc->res_pool->res_cap->num_dig_link_enc | 0,3,5 |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | link->ctx->dc->res_pool->pipe_count |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/hwss/link_hwss_dpia.c update_dpia_stream_allocation_table() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| DATA_SOURCE | 0 | link | $0 |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn60/dcn60_resource.c dcn60_build_pipe_pix_clk_params() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn42b/dcn42b_resource.c dcn42b_build_pipe_pix_clk_params() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn401/dcn401_hwseq.c dcn401_enable_stream() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn42/dcn42_resource.c dcn42_build_pipe_pix_clk_params() -> link_enc_cfg_get_link_enc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |