/device/soc/rockchip/common/sdk_linux/include/drm/ |
D | drm_edid.h | 412 static inline int drm_eld_mnl(const uint8_t *eld) in drm_eld_mnl() argument 414 return (eld[DRM_ELD_CEA_EDID_VER_MNL] & DRM_ELD_MNL_MASK) >> DRM_ELD_MNL_SHIFT; in drm_eld_mnl() 421 static inline const uint8_t *drm_eld_sad(const uint8_t *eld) in drm_eld_sad() argument 425 ver = (eld[DRM_ELD_VER] & DRM_ELD_VER_MASK) >> DRM_ELD_VER_SHIFT; in drm_eld_sad() 430 mnl = drm_eld_mnl(eld); in drm_eld_sad() 435 return eld + DRM_ELD_CEA_SAD(mnl, 0); in drm_eld_sad() 442 static inline int drm_eld_sad_count(const uint8_t *eld) in drm_eld_sad_count() argument 444 return (eld[DRM_ELD_SAD_COUNT_CONN_TYPE] & DRM_ELD_SAD_COUNT_MASK) >> DRM_ELD_SAD_COUNT_SHIFT; in drm_eld_sad_count() 454 static inline int drm_eld_calc_baseline_block_size(const uint8_t *eld) in drm_eld_calc_baseline_block_size() argument 456 …LD_MONITOR_NAME_STRING - DRM_ELD_HEADER_BLOCK_SIZE + drm_eld_mnl(eld) + drm_eld_sad_count(eld) * 3; in drm_eld_calc_baseline_block_size() [all …]
|
D | drm_connector.h | 1438 uint8_t eld[MAX_ELD_BYTES]; member
|
/device/soc/rockchip/rk3588/kernel/include/linux/ |
D | dw-hdmi-audio.h | 13 u8 *eld; member 18 u8 *eld; member
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi-audio.h | 13 u8 *eld; member 18 u8 *eld; member
|
D | dw-hdmi-qp-audio.h | 17 u8 *eld; member 22 u8 *eld; member
|
D | dw-hdmi-qp-i2s-audio.c | 168 memcpy(buf, audio->eld, min_t(size_t, MAX_ELD_BYTES, len)); in dw_hdmi_qp_i2s_get_eld()
|
D | dw-hdmi-qp.c | 2281 audio.eld = hdmi->connector.eld; in __dw_hdmi_probe()
|
/device/soc/rockchip/common/vendor/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi-qp-audio.h | 17 u8 *eld; member 22 u8 *eld; member
|
D | dw-hdmi-qp-i2s-audio.c | 161 memcpy(buf, audio->eld, min_t(size_t, MAX_ELD_BYTES, len)); in dw_hdmi_qp_i2s_get_eld()
|
D | dw-hdmi-qp.c | 2390 audio.eld = hdmi->connector.eld; in _dw_hdmi_probe()
|
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/bridge/ |
D | dw-hdmi-qp-audio.h | 17 u8 *eld; member 22 u8 *eld; member
|
D | dw-hdmi-qp-i2s-audio.c | 157 memcpy(buf, audio->eld, min_t(size_t, MAX_ELD_BYTES, len)); in dw_hdmi_qp_i2s_get_eld()
|
D | dw-hdmi-qp.c | 2478 audio.eld = hdmi->connector.eld; in __dw_hdmi_probe()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
D | drm_edid.c | 4398 connector->eld[DRM_ELD_SAD_COUNT_CONN_TYPE] |= DRM_ELD_SUPPORTS_AI; in drm_parse_hdmi_vsdb_audio() 4478 memset(connector->eld, 0, sizeof(connector->eld)); in clear_eld() 4498 uint8_t *eld = connector->eld; in drm_edid_to_eld() local 4517 mnl = get_monitor_name(edid, &eld[DRM_ELD_MONITOR_NAME_STRING]); in drm_edid_to_eld() 4518 DRM_DEBUG_KMS("ELD monitor %s\n", &eld[DRM_ELD_MONITOR_NAME_STRING]); in drm_edid_to_eld() 4520 eld[DRM_ELD_CEA_EDID_VER_MNL] = cea[1] << DRM_ELD_CEA_EDID_VER_SHIFT; in drm_edid_to_eld() 4521 eld[DRM_ELD_CEA_EDID_VER_MNL] |= mnl; in drm_edid_to_eld() 4523 eld[DRM_ELD_VER] = DRM_ELD_VER_CEA861D; in drm_edid_to_eld() 4525 eld[DRM_ELD_MANUFACTURER_NAME0] = edid->mfg_id[0]; in drm_edid_to_eld() 4526 eld[DRM_ELD_MANUFACTURER_NAME1] = edid->mfg_id[1]; in drm_edid_to_eld() [all …]
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
D | cdn-dp-core.c | 811 memcpy(buf, dp->connector.eld, min(sizeof(dp->connector.eld), len)); in cdn_dp_audio_get_eld()
|
D | dw-dp.c | 2210 memcpy(buf, connector->eld, min(sizeof(connector->eld), len)); in dw_dp_audio_get_eld()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi.c | 1233 return hdmi->curr_conn->eld; in hdmi_audio_get_eld() 4671 audio.eld = hdmi->connector.eld; in dw_hdmi_probe() 4684 audio.eld = hdmi->connector.eld; in dw_hdmi_probe()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/analogix/ |
D | analogix_dp_core.c | 1771 memcpy(buf, dp->connector.eld, min(sizeof(dp->connector.eld), len)); in analogix_dp_audio_get_eld()
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
D | dw-dp.c | 2241 memcpy(buf, connector->eld, min(sizeof(connector->eld), len)); in dw_dp_audio_get_eld()
|
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/ |
D | dw-dp.c | 2540 memcpy(buf, connector->eld, min(sizeof(connector->eld), len)); in dw_dp_audio_get_eld()
|
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/ |
D | kernel.patch | 8092 + memcpy(buf, dp->connector.eld, min(sizeof(dp->connector.eld), len)); 10217 + u8 *eld; 10222 + u8 *eld; 10815 - return hdmi->curr_conn->eld; 12513 + audio.eld = hdmi->connector.eld; 12522 + audio.eld = hdmi->connector.eld;
|