Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/mediatek/mtk_hdmi.c
- drivers/gpu/drm/mediatek/mtk_hdmi_common.c, line 229
- drivers/gpu/drm/mediatek/mtk_hdmi_v2.c
Smatch caller information:
drivers/gpu/drm/mediatek/mtk_hdmi.c mtk_hdmi_bridge_atomic_disable() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &encoder->bridge_chain_mutex |
drivers/gpu/drm/mediatek/mtk_hdmi.c mtk_hdmi_bridge_atomic_enable() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| BUF_SIZE | 0 | b | (-1)-0,600 |
| BUF_SIZE | 0 | b | (-1)-0,600 |
| DATA_SOURCE | 0 | b | $0 |
| 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/mediatek/mtk_hdmi.c mtk_hdmi_bridge_atomic_post_disable() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| BUF_SIZE | 0 | b | (-1)-0,600 |
| BUF_SIZE | 0 | b | (-1)-0,600 |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex | ||
| TYPE_LOCK | (struct drm_encoder)->bridge_chain_mutex |
drivers/gpu/drm/mediatek/mtk_hdmi.c mtk_hdmi_bridge_atomic_pre_enable() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/mediatek/mtk_hdmi.c mtk_hdmi_bridge_attach() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
drivers/gpu/drm/mediatek/mtk_hdmi.c mtk_hdmi_bridge_detect() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| BUF_SIZE | 0 | b | (-1),752 |
| BUF_SIZE | 0 | b | (-1),752 |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &connector->dev->mode_config.connection_mutex |
drivers/gpu/drm/mediatek/mtk_hdmi.c mtk_hdmi_bridge_edid_read() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| BIT_INFO | 0 | b->ops | 0x2,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bridge_connector->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &connector->dev->mode_config.connection_mutex |
drivers/gpu/drm/mediatek/mtk_hdmi.c mtk_hdmi_bridge_mode_valid() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| BUF_SIZE | 0 | b | (-1)-0,600 |
| BUF_SIZE | 0 | b | (-1)-0,600 |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &first_bridge->encoder->bridge_chain_mutex | ||
| TYPE_LOCK | (struct drm_encoder)->bridge_chain_mutex |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_bridge_attach() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_bridge_detach() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_bridge_detect() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| BUF_SIZE | 0 | b | (-1),752 |
| BUF_SIZE | 0 | b | (-1),752 |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &connector->dev->mode_config.connection_mutex |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_bridge_disable() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &encoder->bridge_chain_mutex |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_bridge_enable() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| BUF_SIZE | 0 | b | (-1)-0,600 |
| BUF_SIZE | 0 | b | (-1)-0,600 |
| DATA_SOURCE | 0 | b | $0 |
| 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/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_bridge_post_disable() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| BUF_SIZE | 0 | b | (-1)-0,600 |
| BUF_SIZE | 0 | b | (-1)-0,600 |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex | ||
| TYPE_LOCK | (struct drm_encoder)->bridge_chain_mutex |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_bridge_pre_enable() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_debugfs_init() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &connector->mutex | ||
| HALF_LOCKED2 | &device->clients_lock | ||
| TYPE_LOCK | (struct drm_connector)->mutex |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_hdmi_clear_audio_infoframe() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &connector->hdmi.infoframes.lock | ||
| TYPE_LOCK | (struct drm_connector_hdmi)->infoframes.lock |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_hdmi_clear_avi_infoframe() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &connector->hdmi.infoframes.lock | ||
| TYPE_LOCK | (struct drm_connector_hdmi)->infoframes.lock |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_hdmi_clear_hdmi_infoframe() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &connector->hdmi.infoframes.lock | ||
| TYPE_LOCK | (struct drm_connector_hdmi)->infoframes.lock |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_hdmi_clear_spd_infoframe() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &connector->hdmi.infoframes.lock | ||
| TYPE_LOCK | (struct drm_connector_hdmi)->infoframes.lock |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_hdmi_write_audio_infoframe() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &connector->hdmi.infoframes.lock |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_hdmi_write_avi_infoframe() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &connector->hdmi.infoframes.lock | ||
| HALF_LOCKED2 | &vc4_hdmi->mutex | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct drm_connector_hdmi)->infoframes.lock |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_hdmi_write_hdmi_infoframe() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &connector->hdmi.infoframes.lock | ||
| HALF_LOCKED2 | &vc4_hdmi->mutex | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct drm_connector_hdmi)->infoframes.lock |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_hdmi_write_spd_infoframe() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &connector->hdmi.infoframes.lock | ||
| HALF_LOCKED2 | &vc4_hdmi->mutex | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct drm_connector_hdmi)->infoframes.lock |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_hpd_disable() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| BIT_INFO | 0 | b->ops | 0x4,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &b->hpd_state_mutex | |
| TYPE_LOCK | (struct drm_bridge)->hpd_state_mutex |
drivers/gpu/drm/mediatek/mtk_hdmi_v2.c mtk_hdmi_v2_hpd_enable() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| DATA_SOURCE | 0 | b | $0 |
| BIT_INFO | 0 | b->ops | 0x4,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | b->dev->num_crtcs | |
| LOCK2 | 0 | &b->hpd_state_mutex | |
| TYPE_LOCK | (struct drm_bridge)->hpd_state_mutex |
drivers/gpu/drm/mediatek/mtk_hdmi_common.c mtk_hdmi_bridge_mode_set() -> hdmi_ctx_from_bridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| BUF_SIZE | 0 | b | (-1)-0,600 |
| BUF_SIZE | 0 | b | (-1)-0,600 |
| DATA_SOURCE | 0 | b | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex |