Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/gpu/drm/amd/amdgpu/atombios_dp.c, line 213
- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
- drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c
- drivers/gpu/drm/bridge/ite-it6505.c
- drivers/gpu/drm/bridge/synopsys/dw-dp.c, line 749
- drivers/gpu/drm/display/drm_dp_helper.c, line 159
- drivers/gpu/drm/hisilicon/hibmc/dp/dp_link.c, line 146
- drivers/gpu/drm/i915/display/intel_dp_link_training.c
- drivers/gpu/drm/msm/dp/dp_link.c
- drivers/gpu/drm/nouveau/nouveau_dp.c, line 378
- drivers/gpu/drm/radeon/atombios_dp.c, line 262
- drivers/gpu/drm/tegra/dp.c, line 503
- drivers/gpu/drm/xlnx/zynqmp_dp.c, line 701
Smatch caller information:
drivers/gpu/drm/nouveau/nouveau_dp.c nouveau_dp_train_link() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link_status | 4096-ptr_max |
| PARAM_VALUE | 1 | lane | 0-254 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &outp->dp.hpd_irq_lock | ||
| HALF_LOCKED2 | &dev->mode_config.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct nouveau_encoder)->dp.hpd_irq_lock |
drivers/gpu/drm/radeon/atombios_dp.c dp_get_adjust_train() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lane | 0-s32max |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| DATA_SOURCE | 0 | link_status | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xlnx/zynqmp_dp.c zynqmp_dp_adjust_train() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| DATA_SOURCE | 0 | link_status | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/bridge/synopsys/dw-dp.c dw_dp_link_get_adjustments() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lane | 0-2147483646 |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| DATA_SOURCE | 0 | link_status | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/tegra/dp.c drm_dp_link_get_adjustments() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lane | 0-30 |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| DATA_SOURCE | 0 | link_status | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/hisilicon/hibmc/dp/dp_link.c hibmc_dp_link_get_adjust_train() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link_status | 4096-ptr_max |
| PARAM_VALUE | 1 | lane | 0-1 |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| DATA_SOURCE | 0 | link_status | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/bridge/ite-it6505.c it6505_step_cr_train() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link_status | 4096-ptr_max |
| PARAM_VALUE | 1 | lane | 0-254 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/bridge/ite-it6505.c it6505_step_eq_train() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link_status | 4096-ptr_max |
| PARAM_VALUE | 1 | lane | 0-254 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/display/intel_dp_link_training.c intel_dp_adjust_request_changed() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link_status | 5496391060105056256 |
| PARAM_VALUE | 1 | lane | 0-254 |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| DATA_SOURCE | 0 | link_status | $1 |
drivers/gpu/drm/i915/display/intel_dp_link_training.c intel_dp_adjust_request_changed() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link_status | 956760557875818496 |
| PARAM_VALUE | 1 | lane | 0-254 |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| DATA_SOURCE | 0 | link_status | $2 |
drivers/gpu/drm/i915/display/intel_dp_link_training.c intel_dp_get_adjust_train() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lane | 0 |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| DATA_SOURCE | 0 | link_status | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &display->drm->mode_config.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/display/intel_dp_link_training.c intel_dp_get_adjust_train() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lane | 1 |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| DATA_SOURCE | 0 | link_status | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &display->drm->mode_config.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/display/intel_dp_link_training.c intel_dp_get_adjust_train() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lane | 2 |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| DATA_SOURCE | 0 | link_status | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &display->drm->mode_config.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/display/intel_dp_link_training.c intel_dp_get_adjust_train() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lane | 3 |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| DATA_SOURCE | 0 | link_status | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &display->drm->mode_config.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/display/intel_dp_link_training.c intel_dp_get_lane_adjust_vswing_preemph() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lane | (-1)-3 |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| DATA_SOURCE | 0 | link_status | $3 |
| DATA_SOURCE | 1 | lane | $4 [m] |
| HALF_LOCKED2 | &display->drm->mode_config.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/display/intel_dp_link_training.c intel_dp_get_lane_adjust_vswing_preemph() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lane | 0-254 |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| DATA_SOURCE | 0 | link_status | $3 |
| DATA_SOURCE | 1 | lane | $4 [m] |
| HALF_LOCKED2 | &display->drm->mode_config.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c analogix_dp_get_adjust_training_lane() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lane | 0-30 |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| DATA_SOURCE | 0 | link_status | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c analogix_dp_process_clock_recovery() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lane | 0-30 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/atombios_dp.c amdgpu_atombios_dp_get_adjust_train() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lane | 0-s32max |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| DATA_SOURCE | 0 | link_status | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c cdns_mhdp_adjust_requested_eq() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lane | 0-30 |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| DATA_SOURCE | 0 | link_status | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mhdp->link_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cdns_mhdp_device)->link_mutex |
drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c cdns_mhdp_get_adjust_train() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lane | 0-30 |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| DATA_SOURCE | 0 | link_status | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mhdp->link_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cdns_mhdp_device)->link_mutex |
drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c cdns_mhdp_validate_cr() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lane | 0-30 |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| DATA_SOURCE | 0 | link_status | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mhdp->link_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cdns_mhdp_device)->link_mutex |
drivers/gpu/drm/msm/dp/dp_link.c msm_dp_link_adjust_levels() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link_status | 2010640328764977152,7552199935509041152 |
| PARAM_VALUE | 1 | lane | 0-2097150 |
| BUF_SIZE | 0 | link_status | 6 |
| BUF_SIZE | 0 | link_status | 6 |
| CAPPED_DATA | 1 | lane | 1 |
| DATA_SOURCE | 0 | link_status | $1 |
drivers/gpu/drm/msm/dp/dp_link.c msm_dp_link_parse_vx_px() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *link_status | 0-255 |
| PARAM_VALUE | 1 | lane | 0 |
| BUF_SIZE | 0 | link_status | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bridge_connector->encoder->bridge_chain_mutex |
drivers/gpu/drm/msm/dp/dp_link.c msm_dp_link_parse_vx_px() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *link_status | 0-255 |
| PARAM_VALUE | 1 | lane | 1 |
| BUF_SIZE | 0 | link_status | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bridge_connector->encoder->bridge_chain_mutex |
drivers/gpu/drm/msm/dp/dp_link.c msm_dp_link_parse_vx_px() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *link_status | 0-255 |
| PARAM_VALUE | 1 | lane | 2 |
| BUF_SIZE | 0 | link_status | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bridge_connector->encoder->bridge_chain_mutex |
drivers/gpu/drm/msm/dp/dp_link.c msm_dp_link_parse_vx_px() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *link_status | 0-255 |
| PARAM_VALUE | 1 | lane | 3 |
| BUF_SIZE | 0 | link_status | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bridge_connector->encoder->bridge_chain_mutex |
drivers/gpu/drm/msm/dp/dp_link.c msm_dp_link_parse_vx_px() -> drm_dp_get_adjust_request_pre_emphasis()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *link_status | 0-255 |
| PARAM_VALUE | 1 | lane | 0 |
| BUF_SIZE | 0 | link_status | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bridge_connector->encoder->bridge_chain_mutex |