Defined in 1 files as a function:
Referenced in 12 files:
- drivers/gpu/drm/amd/amdgpu/atombios_dp.c, line 261
- drivers/gpu/drm/bridge/analogix/analogix-anx6345.c, line 190
- drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c, line 703
- drivers/gpu/drm/bridge/synopsys/dw-dp.c, line 536
- drivers/gpu/drm/bridge/tc358767.c, line 850
- drivers/gpu/drm/i915/display/intel_dp.c
- drivers/gpu/drm/mediatek/mtk_dp.c, line 1824
- drivers/gpu/drm/msm/dp/dp_panel.c, line 190
- drivers/gpu/drm/radeon/atombios_dp.c, line 309
- drivers/gpu/drm/rockchip/cdn-dp-core.c
- drivers/gpu/drm/tegra/dp.c, line 186
- drivers/gpu/drm/xlnx/zynqmp_dp.c, line 1709
Smatch caller information:
drivers/gpu/drm/msm/dp/dp_panel.c msm_dp_panel_read_dpcd() -> drm_dp_max_lane_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dpcd | 4096-ptr_max |
| BUF_SIZE | 0 | dpcd | 15 |
| BUF_SIZE | 0 | dpcd | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bridge_connector->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/rockchip/cdn-dp-core.c cdn_dp_bridge_mode_valid() -> drm_dp_max_lane_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | dpcd | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &first_bridge->encoder->bridge_chain_mutex | ||
| TYPE_LOCK | (struct drm_encoder)->bridge_chain_mutex |
drivers/gpu/drm/rockchip/cdn-dp-core.c cdn_dp_check_link_status() -> drm_dp_max_lane_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | dpcd | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dp->lock | ||
| TYPE_LOCK | (struct cdn_dp_device)->lock |
drivers/gpu/drm/radeon/atombios_dp.c radeon_dp_get_dp_link_config() -> drm_dp_max_lane_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | dpcd | 15 |
| BUF_SIZE | 0 | dpcd | 15 |
| DATA_SOURCE | 0 | dpcd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xlnx/zynqmp_dp.c __zynqmp_dp_bridge_detect() -> drm_dp_max_lane_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | dpcd | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/gpu/drm/bridge/tc358767.c tc_get_display_props() -> drm_dp_max_lane_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dpcd | 4096-ptr_max |
| BUF_SIZE | 0 | dpcd | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/display/intel_dp.c intel_edp_mso_init() -> drm_dp_max_lane_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *dpcd | 0-255 |
| BUF_SIZE | 0 | dpcd | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &display->drm->mode_config.mutex | ||
| TYPE_LOCK | (struct drm_mode_config)->mutex |
drivers/gpu/drm/i915/display/intel_dp.c intel_edp_mso_init() -> drm_dp_max_lane_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *dpcd | 0-255 |
| BUF_SIZE | 0 | dpcd | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &display->drm->mode_config.mutex | ||
| TYPE_LOCK | (struct drm_mode_config)->mutex |
drivers/gpu/drm/i915/display/intel_dp.c max_dprx_lane_count() -> drm_dp_max_lane_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | dpcd | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/bridge/analogix/analogix-anx6345.c anx6345_dp_link_training() -> drm_dp_max_lane_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dpcd | 4096-ptr_max |
| BUF_SIZE | 0 | dpcd | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &commit->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &commit->dev->mode_config.connection_mutex.mutex | ||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex |
drivers/gpu/drm/bridge/synopsys/dw-dp.c dw_dp_link_parse() -> drm_dp_max_lane_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | dpcd | 15 |
| MEM_ZERO | 0 | dpcd | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &connector->dev->mode_config.connection_mutex |
drivers/gpu/drm/tegra/dp.c drm_dp_link_probe() -> drm_dp_max_lane_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dpcd | 8951694700048379904 |
| BUF_SIZE | 0 | dpcd | 15 |
| 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/analogix/analogix-anx78xx.c anx78xx_dp_link_training() -> drm_dp_max_lane_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dpcd | 4096-ptr_max |
| BUF_SIZE | 0 | dpcd | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &anx78xx->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct anx78xx)->lock |
drivers/gpu/drm/amd/amdgpu/atombios_dp.c amdgpu_atombios_dp_get_dp_link_config() -> drm_dp_max_lane_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | dpcd | 15 |
| BUF_SIZE | 0 | dpcd | 15 |
| DATA_SOURCE | 0 | dpcd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/mediatek/mtk_dp.c mtk_dp_training() -> drm_dp_max_lane_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dpcd | 4096-ptr_max |
| BUF_SIZE | 0 | dpcd | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING |