Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/media/cec/core/cec-adap.c, line 48 (as a function)
- include/media/cec.h, line 494 (as a function)
Referenced in 8 files:
- drivers/gpu/drm/display/drm_dp_cec.c, line 382
- drivers/gpu/drm/omapdrm/dss/hdmi4.c, line 482
- drivers/media/cec/core/cec-adap.c
- drivers/media/cec/core/cec-notifier.c, line 213
- drivers/media/i2c/adv7511-v4l2.c, line 1699
- drivers/media/i2c/tc358743.c, line 1903
- drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c, line 670
- drivers/media/test-drivers/vivid/vivid-vid-cap.c
Smatch caller information:
drivers/media/i2c/adv7511-v4l2.c adv7511_check_edid_status() -> cec_get_edid_phys_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edid | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0-2048 |
| PARAM_VALUE | 2 | offset | 0 |
| BUF_SIZE | 0 | edid | 2048 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/display/drm_dp_cec.c drm_dp_cec_set_edid() -> cec_get_edid_phys_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edid | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 256-32768 |
| PARAM_VALUE | 2 | offset | 0 |
| DATA_SOURCE | 0 | edid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &connector->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.mutex | ||
| TYPE_LOCK | (struct drm_mode_config)->connection_mutex |
drivers/media/cec/core/cec-notifier.c cec_notifier_set_phys_addr_from_edid() -> cec_get_edid_phys_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edid | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 256-32768 |
| PARAM_VALUE | 2 | offset | 0 |
| DATA_SOURCE | 0 | edid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bridge_connector->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &connector->dev->mode_config.connection_mutex |
drivers/media/cec/core/cec-adap.c cec_s_phys_addr_from_edid() -> cec_get_edid_phys_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edid | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 256-32768 |
| PARAM_VALUE | 2 | offset | 0 |
| BUF_SIZE | 0 | edid | (-1),256,512 |
| BUF_SIZE | 0 | edid | (-1),256,512 |
| DATA_SOURCE | 0 | edid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/test-drivers/vivid/vivid-vid-cap.c vidioc_s_edid() -> cec_get_edid_phys_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | offset | 0 |
| BUF_SIZE | 0 | edid | 256 |
| CAPPED_DATA | 1 | size | 1 |
| USER_DATA | 1 | size | 0-u32max[c] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_update_connected_outputs() -> cec_get_edid_phys_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | offset | 0 |
| BUF_SIZE | 0 | edid | 128 |
| USER_DATA | 1 | size | 0-u32max[c] |
drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c hdmirx_set_edid() -> cec_get_edid_phys_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 128-512 |
| PARAM_VALUE | 2 | offset | 0 |
| BUF_SIZE | 0 | edid | 256 |
| USER_DATA | 1 | size | 128-512[c] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/i2c/tc358743.c tc358743_s_edid() -> cec_get_edid_phys_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-1024 |
| PARAM_VALUE | 2 | offset | 0 |
| BUF_SIZE | 0 | edid | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/omapdrm/dss/hdmi4.c hdmi4_bridge_edid_read() -> cec_get_edid_phys_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edid | 4096-ptr_max |
| PARAM_VALUE | 2 | offset | 0 |
| DATA_SOURCE | 0 | edid | r drm_edid_raw |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bridge_connector->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &connector->dev->mode_config.connection_mutex |