Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 14 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c, line 929
- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c, line 1052
- drivers/gpu/drm/bridge/inno-hdmi.c, line 634
- drivers/gpu/drm/bridge/synopsys/dw-dp.c, line 1268
- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c, line 2262
- drivers/gpu/drm/display/drm_hdmi_helper.c, line 217
- drivers/gpu/drm/display/drm_hdmi_state_helper.c, line 406
- drivers/gpu/drm/drm_edid.c
- drivers/gpu/drm/drm_modes.c
- drivers/gpu/drm/mediatek/mtk_hdmi.c, line 912
- drivers/gpu/drm/meson/meson_encoder_hdmi.c
- drivers/gpu/drm/rockchip/rk3066_hdmi.c
- drivers/gpu/drm/stm/ltdc.c, line 1012
- drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c
Smatch caller information:
drivers/gpu/drm/display/drm_hdmi_state_helper.c sink_supports_format_bpc() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 0,4096-ptr_max |
| BUF_SIZE | 0 | to_match | (-1),120 |
| BUF_SIZE | 0 | to_match | (-1),120 |
| DATA_SOURCE | 0 | to_match | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c fill_stream_properties_from_drm_display_mode() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | to_match | $1 |
drivers/gpu/drm/drm_edid.c add_alternate_cea_modes() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| CAPPED_DATA | 0 | &to_match->head | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &connector->dev->mode_config.connection_mutex |
drivers/gpu/drm/drm_edid.c drm_default_rgb_quant_range() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | to_match | (-1),120 |
| BUF_SIZE | 0 | to_match | (-1),120 |
| DATA_SOURCE | 0 | to_match | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | to_match->clock | |
| NO_OVERFLOW_SIMPLE | 0 | to_match->crtc_clock | |
| HALF_LOCKED2 | &hdmi->mutex |
drivers/gpu/drm/drm_edid.c drm_mode_cea_vic() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| BUF_SIZE | 0 | to_match | (-1),120 |
| BUF_SIZE | 0 | to_match | (-1),120 |
| DATA_SOURCE | 0 | to_match | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | to_match->clock | |
| NO_OVERFLOW_SIMPLE | 0 | to_match->crtc_clock | |
| HALF_LOCKED2 | &anx78xx->lock | ||
| HALF_LOCKED2 | &hdata->mutex | ||
| HALF_LOCKED2 | &hdmi->audio_lock | ||
| HALF_LOCKED2 | &hdmi->mutex | ||
| HALF_LOCKED2 | &priv->audio_mutex | ||
| HALF_LOCKED2 | &sii902x->mutex |
drivers/gpu/drm/meson/meson_encoder_hdmi.c meson_encoder_hdmi_atomic_enable() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| BUF_SIZE | 0 | to_match | 120 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/meson/meson_encoder_hdmi.c meson_encoder_hdmi_mode_valid() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| DATA_SOURCE | 0 | to_match | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &first_bridge->encoder->bridge_chain_mutex | ||
| TYPE_LOCK | (struct drm_encoder)->bridge_chain_mutex |
drivers/gpu/drm/meson/meson_encoder_hdmi.c meson_encoder_hdmi_set_vclk() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| BUF_SIZE | 0 | to_match | 120 |
| DATA_SOURCE | 0 | to_match | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c dw_hdmi_setup() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| DATA_SOURCE | 0 | to_match | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdmi->mutex | ||
| TYPE_LOCK | (struct dw_hdmi)->mutex |
drivers/gpu/drm/mediatek/mtk_hdmi.c mtk_hdmi_bridge_mode_valid() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| DATA_SOURCE | 0 | to_match | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | to_match->clock | |
| LOCK2 | &first_bridge->encoder->bridge_chain_mutex | ||
| TYPE_LOCK | (struct drm_encoder)->bridge_chain_mutex |
drivers/gpu/drm/bridge/synopsys/dw-dp.c dw_dp_video_enable() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| BUF_SIZE | 0 | to_match | 120 |
| BIT_INFO | 0 | to_match->flags | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c drm_test_check_broadcast_rgb_auto_cea_mode() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| DATA_SOURCE | 0 | to_match | r find_preferred_mode |
drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c drm_test_check_broadcast_rgb_full_cea_mode() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| DATA_SOURCE | 0 | to_match | r find_preferred_mode |
drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c drm_test_check_broadcast_rgb_limited_cea_mode() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| DATA_SOURCE | 0 | to_match | r find_preferred_mode |
drivers/gpu/drm/bridge/inno-hdmi.c inno_hdmi_config_video_csc() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| DATA_SOURCE | 0 | to_match | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/stm/ltdc.c ltdc_crtc_mode_set_nofb() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| BUF_SIZE | 0 | to_match | 120 |
| BIT_INFO | 0 | to_match->flags | 0x0,0xffffffff |
| 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/display/drm_hdmi_helper.c drm_hdmi_compute_mode_clock() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| BUF_SIZE | 0 | to_match | (-1),120 |
| BUF_SIZE | 0 | to_match | (-1),120 |
| DATA_SOURCE | 0 | to_match | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex |
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c analogix_dp_bridge_mode_set() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| DATA_SOURCE | 0 | to_match | $2 |
| BIT_INFO | 0 | to_match->flags | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/drm_modes.c drm_mode_is_420_also() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| BUF_SIZE | 0 | to_match | (-1),120 |
| BUF_SIZE | 0 | to_match | (-1),120 |
| DATA_SOURCE | 0 | to_match | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | to_match->clock | |
| NO_OVERFLOW_SIMPLE | 0 | to_match->crtc_clock | |
| HALF_LOCKED2 | &drm->mode_config.mutex | ||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &hdmi->mutex |
drivers/gpu/drm/drm_modes.c drm_mode_is_420_only() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | to_match | (-1),120 |
| BUF_SIZE | 0 | to_match | (-1),120 |
| DATA_SOURCE | 0 | to_match | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | to_match->clock | |
| NO_OVERFLOW_SIMPLE | 0 | to_match->crtc_clock | |
| HALF_LOCKED2 | &dpu_enc->enc_lock | ||
| HALF_LOCKED2 | &drm->mode_config.mutex | ||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &hdmi->mutex |
drivers/gpu/drm/rockchip/rk3066_hdmi.c rk3066_hdmi_bridge_mode_valid() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| DATA_SOURCE | 0 | to_match | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &first_bridge->encoder->bridge_chain_mutex | ||
| TYPE_LOCK | (struct drm_encoder)->bridge_chain_mutex |
drivers/gpu/drm/rockchip/rk3066_hdmi.c rk3066_hdmi_setup() -> drm_match_cea_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_match | 4096-ptr_max |
| BUF_SIZE | 0 | to_match | 120 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |