eld 535 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c ret = drm_eld_size(connector->eld); eld 536 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c memcpy(buf, connector->eld, min(max_bytes, ret)); eld 689 drivers/gpu/drm/bridge/sii902x.c memcpy(buf, sii902x->connector.eld, eld 690 drivers/gpu/drm/bridge/sii902x.c min(sizeof(sii902x->connector.eld), len)); eld 327 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c ret = snd_pcm_hw_constraint_eld(runtime, dw->data.eld); eld 12 drivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h u8 *eld; eld 17 drivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h u8 *eld; eld 130 drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c memcpy(buf, audio->eld, min_t(size_t, MAX_ELD_BYTES, len)); eld 2825 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c audio.eld = hdmi->connector.eld; eld 2838 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c audio.eld = hdmi->connector.eld; eld 3992 drivers/gpu/drm/drm_edid.c connector->eld[DRM_ELD_SAD_COUNT_CONN_TYPE] |= DRM_ELD_SUPPORTS_AI; eld 4066 drivers/gpu/drm/drm_edid.c memset(connector->eld, 0, sizeof(connector->eld)); eld 4086 drivers/gpu/drm/drm_edid.c uint8_t *eld = connector->eld; eld 4104 drivers/gpu/drm/drm_edid.c mnl = get_monitor_name(edid, &eld[DRM_ELD_MONITOR_NAME_STRING]); eld 4105 drivers/gpu/drm/drm_edid.c DRM_DEBUG_KMS("ELD monitor %s\n", &eld[DRM_ELD_MONITOR_NAME_STRING]); eld 4107 drivers/gpu/drm/drm_edid.c eld[DRM_ELD_CEA_EDID_VER_MNL] = cea[1] << DRM_ELD_CEA_EDID_VER_SHIFT; eld 4108 drivers/gpu/drm/drm_edid.c eld[DRM_ELD_CEA_EDID_VER_MNL] |= mnl; eld 4110 drivers/gpu/drm/drm_edid.c eld[DRM_ELD_VER] = DRM_ELD_VER_CEA861D; eld 4112 drivers/gpu/drm/drm_edid.c eld[DRM_ELD_MANUFACTURER_NAME0] = edid->mfg_id[0]; eld 4113 drivers/gpu/drm/drm_edid.c eld[DRM_ELD_MANUFACTURER_NAME1] = edid->mfg_id[1]; eld 4114 drivers/gpu/drm/drm_edid.c eld[DRM_ELD_PRODUCT_CODE0] = edid->prod_code[0]; eld 4115 drivers/gpu/drm/drm_edid.c eld[DRM_ELD_PRODUCT_CODE1] = edid->prod_code[1]; eld 4136 drivers/gpu/drm/drm_edid.c memcpy(&eld[DRM_ELD_CEA_SAD(mnl, total_sad_count)], eld 4143 drivers/gpu/drm/drm_edid.c eld[DRM_ELD_SPEAKER] = db[1]; eld 4155 drivers/gpu/drm/drm_edid.c eld[DRM_ELD_SAD_COUNT_CONN_TYPE] |= total_sad_count << DRM_ELD_SAD_COUNT_SHIFT; eld 4159 drivers/gpu/drm/drm_edid.c eld[DRM_ELD_SAD_COUNT_CONN_TYPE] |= DRM_ELD_CONN_TYPE_DP; eld 4161 drivers/gpu/drm/drm_edid.c eld[DRM_ELD_SAD_COUNT_CONN_TYPE] |= DRM_ELD_CONN_TYPE_HDMI; eld 4163 drivers/gpu/drm/drm_edid.c eld[DRM_ELD_BASELINE_ELD_LEN] = eld 4164 drivers/gpu/drm/drm_edid.c DIV_ROUND_UP(drm_eld_calc_baseline_block_size(eld), 4); eld 4167 drivers/gpu/drm/drm_edid.c drm_eld_size(eld), total_sad_count); eld 1629 drivers/gpu/drm/exynos/exynos_hdmi.c memcpy(buf, connector->eld, min(sizeof(connector->eld), len)); eld 1152 drivers/gpu/drm/i2c/tda998x_drv.c memcpy(buf, priv->connector.eld, eld 1153 drivers/gpu/drm/i2c/tda998x_drv.c min(sizeof(priv->connector.eld), len)); eld 289 drivers/gpu/drm/i915/display/intel_audio.c const u8 *eld = connector->eld; eld 303 drivers/gpu/drm/i915/display/intel_audio.c for (i = 0; i < drm_eld_size(eld) / 4; i++) eld 304 drivers/gpu/drm/i915/display/intel_audio.c if (I915_READ(reg_edid) != *((const u32 *)eld + i)) eld 337 drivers/gpu/drm/i915/display/intel_audio.c const u8 *eld = connector->eld; eld 342 drivers/gpu/drm/i915/display/intel_audio.c DRM_DEBUG_KMS("Enable audio codec, %u bytes ELD\n", drm_eld_size(eld)); eld 361 drivers/gpu/drm/i915/display/intel_audio.c len = min(drm_eld_size(eld) / 4, len); eld 364 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(G4X_HDMIW_HDMIEDID, *((const u32 *)eld + i)); eld 509 drivers/gpu/drm/i915/display/intel_audio.c const u8 *eld = connector->eld; eld 514 drivers/gpu/drm/i915/display/intel_audio.c transcoder_name(cpu_transcoder), drm_eld_size(eld)); eld 537 drivers/gpu/drm/i915/display/intel_audio.c len = min(drm_eld_size(eld), 84); eld 539 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(HSW_AUD_EDID_DATA(cpu_transcoder), *((const u32 *)eld + i)); eld 607 drivers/gpu/drm/i915/display/intel_audio.c const u8 *eld = connector->eld; eld 613 drivers/gpu/drm/i915/display/intel_audio.c port_name(port), pipe_name(pipe), drm_eld_size(eld)); eld 656 drivers/gpu/drm/i915/display/intel_audio.c len = min(drm_eld_size(eld), 84); eld 658 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(hdmiw_hdmiedid, *((const u32 *)eld + i)); eld 700 drivers/gpu/drm/i915/display/intel_audio.c if (!connector->eld[0]) eld 710 drivers/gpu/drm/i915/display/intel_audio.c connector->eld[6] = drm_av_sync_delay(connector, adjusted_mode) / 2; eld 733 drivers/gpu/drm/i915/display/intel_audio.c intel_lpe_audio_notify(dev_priv, pipe, port, connector->eld, eld 1009 drivers/gpu/drm/i915/display/intel_audio.c const u8 *eld; eld 1024 drivers/gpu/drm/i915/display/intel_audio.c eld = intel_encoder->audio_connector->eld; eld 1025 drivers/gpu/drm/i915/display/intel_audio.c ret = drm_eld_size(eld); eld 1026 drivers/gpu/drm/i915/display/intel_audio.c memcpy(buf, eld, min(max_bytes, ret)); eld 322 drivers/gpu/drm/i915/display/intel_lpe_audio.c const void *eld, int ls_clock, bool dp_output) eld 339 drivers/gpu/drm/i915/display/intel_lpe_audio.c if (eld != NULL) { eld 340 drivers/gpu/drm/i915/display/intel_lpe_audio.c memcpy(ppdata->eld, eld, HDMI_MAX_ELD_BYTES); eld 349 drivers/gpu/drm/i915/display/intel_lpe_audio.c memset(ppdata->eld, 0, HDMI_MAX_ELD_BYTES); eld 20 drivers/gpu/drm/i915/display/intel_lpe_audio.h const void *eld, int ls_clock, bool dp_output); eld 1706 drivers/gpu/drm/i915/display/intel_sdvo.c u8 *eld = connector->eld; eld 1708 drivers/gpu/drm/i915/display/intel_sdvo.c eld[6] = drm_av_sync_delay(connector, adjusted_mode) / 2; eld 1714 drivers/gpu/drm/i915/display/intel_sdvo.c eld, drm_eld_size(eld)); eld 1645 drivers/gpu/drm/mediatek/mtk_hdmi.c memcpy(buf, hdmi->conn.eld, min(sizeof(hdmi->conn.eld), len)); eld 489 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_disp_sor_hda_eld_v0 eld; eld 511 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_disp_sor_hda_eld_v0 eld; eld 513 drivers/gpu/drm/nouveau/dispnv50/disp.c u8 data[sizeof(nv_connector->base.eld)]; eld 526 drivers/gpu/drm/nouveau/dispnv50/disp.c memcpy(args.data, nv_connector->base.eld, sizeof(args.data)); eld 90 drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h void (*eld)(struct nvkm_ior *, u8 *data, u8 size); eld 158 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c ior->func->hda.eld(ior, data, size); eld 179 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c .eld = gf119_hda_eld, eld 45 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgk104.c .eld = gf119_hda_eld, eld 59 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm107.c .eld = gf119_hda_eld, eld 117 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.c .eld = gf119_hda_eld, eld 61 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgt215.c .eld = gt215_hda_eld, eld 105 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c .eld = gf119_hda_eld, eld 45 drivers/gpu/drm/nouveau/nvkm/engine/disp/sormcp89.c .eld = gt215_hda_eld, eld 90 drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.c .eld = gf119_hda_eld, eld 847 drivers/gpu/drm/rockchip/cdn-dp-core.c memcpy(buf, dp->connector.eld, min(sizeof(dp->connector.eld), len)); eld 1216 drivers/gpu/drm/sti/sti_hdmi.c memcpy(buf, connector->eld, min(sizeof(connector->eld), len)); eld 601 drivers/gpu/drm/tegra/hdmi.c size_t length = drm_eld_size(hdmi->output.connector.eld), i; eld 605 drivers/gpu/drm/tegra/hdmi.c tegra_hdmi_writel(hdmi, i << 8 | hdmi->output.connector.eld[i], eld 2143 drivers/gpu/drm/tegra/sor.c size_t length = drm_eld_size(sor->output.connector.eld), i; eld 2146 drivers/gpu/drm/tegra/sor.c tegra_sor_writel(sor, i << 8 | sor->output.connector.eld[i], eld 790 drivers/gpu/drm/vc4/vc4_hdmi.c hdmi->connector->eld); eld 957 drivers/gpu/drm/vc4/vc4_hdmi.c uinfo->count = sizeof(hdmi->connector->eld); eld 968 drivers/gpu/drm/vc4/vc4_hdmi.c memcpy(ucontrol->value.bytes.data, hdmi->connector->eld, eld 969 drivers/gpu/drm/vc4/vc4_hdmi.c sizeof(hdmi->connector->eld)); eld 464 drivers/gpu/drm/zte/zx_hdmi.c memcpy(buf, connector->eld, min(sizeof(connector->eld), len)); eld 1308 include/drm/drm_connector.h uint8_t eld[MAX_ELD_BYTES]; eld 384 include/drm/drm_edid.h static inline int drm_eld_mnl(const uint8_t *eld) eld 386 include/drm/drm_edid.h return (eld[DRM_ELD_CEA_EDID_VER_MNL] & DRM_ELD_MNL_MASK) >> DRM_ELD_MNL_SHIFT; eld 393 include/drm/drm_edid.h static inline const uint8_t *drm_eld_sad(const uint8_t *eld) eld 397 include/drm/drm_edid.h ver = (eld[DRM_ELD_VER] & DRM_ELD_VER_MASK) >> DRM_ELD_VER_SHIFT; eld 401 include/drm/drm_edid.h mnl = drm_eld_mnl(eld); eld 405 include/drm/drm_edid.h return eld + DRM_ELD_CEA_SAD(mnl, 0); eld 412 include/drm/drm_edid.h static inline int drm_eld_sad_count(const uint8_t *eld) eld 414 include/drm/drm_edid.h return (eld[DRM_ELD_SAD_COUNT_CONN_TYPE] & DRM_ELD_SAD_COUNT_MASK) >> eld 425 include/drm/drm_edid.h static inline int drm_eld_calc_baseline_block_size(const uint8_t *eld) eld 428 include/drm/drm_edid.h drm_eld_mnl(eld) + drm_eld_sad_count(eld) * 3; eld 441 include/drm/drm_edid.h static inline int drm_eld_size(const uint8_t *eld) eld 443 include/drm/drm_edid.h return DRM_ELD_HEADER_BLOCK_SIZE + eld[DRM_ELD_BASELINE_ELD_LEN] * 4; eld 453 include/drm/drm_edid.h static inline u8 drm_eld_get_spk_alloc(const uint8_t *eld) eld 455 include/drm/drm_edid.h return eld[DRM_ELD_SPEAKER] & DRM_ELD_SPEAKER_MASK; eld 465 include/drm/drm_edid.h static inline u8 drm_eld_get_conn_type(const uint8_t *eld) eld 467 include/drm/drm_edid.h return eld[DRM_ELD_SAD_COUNT_CONN_TYPE] & DRM_ELD_CONN_TYPE_MASK; eld 35 include/drm/intel_lpe_audio.h u8 eld[HDMI_MAX_ELD_BYTES]; eld 5 include/sound/pcm_drm_eld.h int snd_pcm_hw_constraint_eld(struct snd_pcm_runtime *runtime, void *eld); eld 31 sound/core/pcm_drm_eld.c const u8 *sad, *eld = rule->private; eld 33 sound/core/pcm_drm_eld.c sad = drm_eld_sad(eld); eld 37 sound/core/pcm_drm_eld.c for (i = drm_eld_sad_count(eld); i > 0; i--, sad += 3) { eld 60 sound/core/pcm_drm_eld.c const u8 *sad, *eld = rule->private; eld 62 sound/core/pcm_drm_eld.c sad = drm_eld_sad(eld); eld 72 sound/core/pcm_drm_eld.c for (i = drm_eld_sad_count(eld); i > 0; i--, sad += 3) eld 80 sound/core/pcm_drm_eld.c int snd_pcm_hw_constraint_eld(struct snd_pcm_runtime *runtime, void *eld) eld 85 sound/core/pcm_drm_eld.c eld_limit_rates, eld, eld 91 sound/core/pcm_drm_eld.c eld_limit_channels, eld, eld 442 sound/pci/hda/hda_eld.c void snd_hdmi_print_eld_info(struct hdmi_eld *eld, eld 445 sound/pci/hda/hda_eld.c struct parsed_hdmi_eld *e = &eld->info; eld 463 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "monitor_present\t\t%d\n", eld->monitor_present); eld 464 sound/pci/hda/hda_eld.c snd_iprintf(buffer, "eld_valid\t\t%d\n", eld->eld_valid); eld 465 sound/pci/hda/hda_eld.c if (!eld->eld_valid) eld 490 sound/pci/hda/hda_eld.c void snd_hdmi_write_eld_info(struct hdmi_eld *eld, eld 493 sound/pci/hda/hda_eld.c struct parsed_hdmi_eld *e = &eld->info; eld 509 sound/pci/hda/hda_eld.c eld->monitor_present = val; eld 511 sound/pci/hda/hda_eld.c eld->eld_valid = val; eld 711 sound/pci/hda/hda_local.h void snd_hdmi_print_eld_info(struct hdmi_eld *eld, eld 713 sound/pci/hda/hda_local.h void snd_hdmi_write_eld_info(struct hdmi_eld *eld, eld 333 sound/pci/hda/patch_hdmi.c struct hdmi_eld *eld; eld 346 sound/pci/hda/patch_hdmi.c eld = &per_pin->sink_eld; eld 347 sound/pci/hda/patch_hdmi.c uinfo->count = eld->eld_valid ? eld->eld_size : 0; eld 360 sound/pci/hda/patch_hdmi.c struct hdmi_eld *eld; eld 374 sound/pci/hda/patch_hdmi.c eld = &per_pin->sink_eld; eld 375 sound/pci/hda/patch_hdmi.c if (eld->eld_size > ARRAY_SIZE(ucontrol->value.bytes.data) || eld 376 sound/pci/hda/patch_hdmi.c eld->eld_size > ELD_MAX_SIZE) { eld 384 sound/pci/hda/patch_hdmi.c if (eld->eld_valid) eld 385 sound/pci/hda/patch_hdmi.c memcpy(ucontrol->value.bytes.data, eld->eld_buffer, eld 386 sound/pci/hda/patch_hdmi.c eld->eld_size); eld 720 sound/pci/hda/patch_hdmi.c struct hdmi_eld *eld; eld 732 sound/pci/hda/patch_hdmi.c eld = &per_pin->sink_eld; eld 735 sound/pci/hda/patch_hdmi.c eld->info.spk_alloc, channels, eld 752 sound/pci/hda/patch_hdmi.c eld->info.conn_type); eld 1209 sound/pci/hda/patch_hdmi.c struct hdmi_eld *eld; eld 1269 sound/pci/hda/patch_hdmi.c eld = &per_pin->sink_eld; eld 1271 sound/pci/hda/patch_hdmi.c if (!static_hdmi_pcm && eld->eld_valid) { eld 1272 sound/pci/hda/patch_hdmi.c snd_hdmi_eld_update_pcm_info(&eld->info, hinfo); eld 1449 sound/pci/hda/patch_hdmi.c struct hdmi_eld *eld) eld 1460 sound/pci/hda/patch_hdmi.c if (eld->eld_valid) { eld 1474 sound/pci/hda/patch_hdmi.c if (eld->eld_valid) eld 1475 sound/pci/hda/patch_hdmi.c snd_hdmi_show_eld(codec, &eld->info); eld 1477 sound/pci/hda/patch_hdmi.c eld_changed = (pin_eld->eld_valid != eld->eld_valid); eld 1478 sound/pci/hda/patch_hdmi.c eld_changed |= (pin_eld->monitor_present != eld->monitor_present); eld 1479 sound/pci/hda/patch_hdmi.c if (!eld_changed && eld->eld_valid && pin_eld->eld_valid) eld 1480 sound/pci/hda/patch_hdmi.c if (pin_eld->eld_size != eld->eld_size || eld 1481 sound/pci/hda/patch_hdmi.c memcmp(pin_eld->eld_buffer, eld->eld_buffer, eld 1482 sound/pci/hda/patch_hdmi.c eld->eld_size) != 0) eld 1486 sound/pci/hda/patch_hdmi.c pin_eld->monitor_present = eld->monitor_present; eld 1487 sound/pci/hda/patch_hdmi.c pin_eld->eld_valid = eld->eld_valid; eld 1488 sound/pci/hda/patch_hdmi.c pin_eld->eld_size = eld->eld_size; eld 1489 sound/pci/hda/patch_hdmi.c if (eld->eld_valid) eld 1490 sound/pci/hda/patch_hdmi.c memcpy(pin_eld->eld_buffer, eld->eld_buffer, eld 1491 sound/pci/hda/patch_hdmi.c eld->eld_size); eld 1492 sound/pci/hda/patch_hdmi.c pin_eld->info = eld->info; eld 1501 sound/pci/hda/patch_hdmi.c if (eld->eld_valid && !old_eld_valid && per_pin->setup) { eld 1521 sound/pci/hda/patch_hdmi.c struct hdmi_eld *eld = &spec->temp_eld; eld 1538 sound/pci/hda/patch_hdmi.c eld->monitor_present = !!(present & AC_PINSENSE_PRESENCE); eld 1539 sound/pci/hda/patch_hdmi.c if (eld->monitor_present) eld 1540 sound/pci/hda/patch_hdmi.c eld->eld_valid = !!(present & AC_PINSENSE_ELDV); eld 1542 sound/pci/hda/patch_hdmi.c eld->eld_valid = false; eld 1546 sound/pci/hda/patch_hdmi.c codec->addr, pin_nid, eld->monitor_present, eld->eld_valid); eld 1548 sound/pci/hda/patch_hdmi.c if (eld->eld_valid) { eld 1549 sound/pci/hda/patch_hdmi.c if (spec->ops.pin_get_eld(codec, pin_nid, eld->eld_buffer, eld 1550 sound/pci/hda/patch_hdmi.c &eld->eld_size) < 0) eld 1551 sound/pci/hda/patch_hdmi.c eld->eld_valid = false; eld 1553 sound/pci/hda/patch_hdmi.c if (snd_hdmi_parse_eld(codec, &eld->info, eld->eld_buffer, eld 1554 sound/pci/hda/patch_hdmi.c eld->eld_size) < 0) eld 1555 sound/pci/hda/patch_hdmi.c eld->eld_valid = false; eld 1557 sound/pci/hda/patch_hdmi.c if (!eld->eld_valid && repoll) eld 1564 sound/pci/hda/patch_hdmi.c update_eld(codec, per_pin, eld); eld 1566 sound/pci/hda/patch_hdmi.c ret = !repoll || !eld->monitor_present || eld->eld_valid; eld 1571 sound/pci/hda/patch_hdmi.c jack->pin_sense = (eld->monitor_present && eld->eld_valid) ? eld 1611 sound/pci/hda/patch_hdmi.c struct hdmi_eld *eld = &spec->temp_eld; eld 1617 sound/pci/hda/patch_hdmi.c eld->monitor_present = false; eld 1619 sound/pci/hda/patch_hdmi.c per_pin->dev_id, &eld->monitor_present, eld 1620 sound/pci/hda/patch_hdmi.c eld->eld_buffer, ELD_MAX_SIZE); eld 1623 sound/pci/hda/patch_hdmi.c if (snd_hdmi_parse_eld(codec, &eld->info, eld 1624 sound/pci/hda/patch_hdmi.c eld->eld_buffer, size) < 0) eld 1629 sound/pci/hda/patch_hdmi.c eld->eld_valid = true; eld 1630 sound/pci/hda/patch_hdmi.c eld->eld_size = size; eld 1632 sound/pci/hda/patch_hdmi.c eld->eld_valid = false; eld 1633 sound/pci/hda/patch_hdmi.c eld->eld_size = 0; eld 1640 sound/pci/hda/patch_hdmi.c changed = update_eld(codec, per_pin, eld); eld 1645 sound/pci/hda/patch_hdmi.c (eld->monitor_present && eld->eld_valid) ? eld 89 sound/soc/codecs/hdac_hdmi.c struct hdac_hdmi_eld eld; eld 312 sound/soc/codecs/hdac_hdmi.c void *eld) eld 316 sound/soc/codecs/hdac_hdmi.c const u8 *sad, *eld_buf = eld; eld 378 sound/soc/codecs/hdac_hdmi.c ca = snd_hdac_channel_allocation(hdev, port->eld.info.spk_alloc, eld 387 sound/soc/codecs/hdac_hdmi.c eld_buf = port->eld.eld_buffer; eld 550 sound/soc/codecs/hdac_hdmi.c port->eld.monitor_present && eld 551 sound/soc/codecs/hdac_hdmi.c port->eld.eld_valid) eld 610 sound/soc/codecs/hdac_hdmi.c if ((!port->eld.monitor_present) || eld 611 sound/soc/codecs/hdac_hdmi.c (!port->eld.eld_valid)) { eld 615 sound/soc/codecs/hdac_hdmi.c port->eld.monitor_present, port->eld.eld_valid, eld 624 sound/soc/codecs/hdac_hdmi.c port->eld.eld_buffer); eld 629 sound/soc/codecs/hdac_hdmi.c port->eld.eld_buffer); eld 940 sound/soc/codecs/hdac_hdmi.c if (port->eld.monitor_present && port->eld.eld_valid) { eld 1230 sound/soc/codecs/hdac_hdmi.c ver = (port->eld.eld_buffer[DRM_ELD_VER] & DRM_ELD_VER_MASK) eld 1238 sound/soc/codecs/hdac_hdmi.c mnl = (port->eld.eld_buffer[DRM_ELD_CEA_EDID_VER_MNL] & eld 1246 sound/soc/codecs/hdac_hdmi.c port->eld.info.spk_alloc = port->eld.eld_buffer[DRM_ELD_SPEAKER]; eld 1268 sound/soc/codecs/hdac_hdmi.c port->eld.monitor_present = false; eld 1274 sound/soc/codecs/hdac_hdmi.c &port->eld.monitor_present, eld 1275 sound/soc/codecs/hdac_hdmi.c port->eld.eld_buffer, eld 1285 sound/soc/codecs/hdac_hdmi.c port->eld.eld_valid = true; eld 1286 sound/soc/codecs/hdac_hdmi.c port->eld.eld_size = size; eld 1288 sound/soc/codecs/hdac_hdmi.c port->eld.eld_valid = false; eld 1289 sound/soc/codecs/hdac_hdmi.c port->eld.eld_size = 0; eld 1294 sound/soc/codecs/hdac_hdmi.c if (!port->eld.monitor_present || !port->eld.eld_valid) { eld 1313 sound/soc/codecs/hdac_hdmi.c if (port->eld.monitor_present && port->eld.eld_valid) { eld 1320 sound/soc/codecs/hdac_hdmi.c port->eld.eld_buffer, port->eld.eld_size, false); eld 2022 sound/soc/codecs/hdac_hdmi.c if (!port || !port->eld.eld_valid) eld 2025 sound/soc/codecs/hdac_hdmi.c return port->eld.info.spk_alloc; eld 274 sound/soc/codecs/hdmi-codec.c uint8_t eld[MAX_ELD_BYTES]; eld 295 sound/soc/codecs/hdmi-codec.c uinfo->count = FIELD_SIZEOF(struct hdmi_codec_priv, eld); eld 306 sound/soc/codecs/hdmi-codec.c memcpy(ucontrol->value.bytes.data, hcp->eld, sizeof(hcp->eld)); eld 333 sound/soc/codecs/hdmi-codec.c spk_alloc = drm_eld_get_spk_alloc(hcp->eld); eld 351 sound/soc/codecs/hdmi-codec.c spk_alloc = drm_eld_get_spk_alloc(hcp->eld); eld 407 sound/soc/codecs/hdmi-codec.c hcp->eld, sizeof(hcp->eld)); eld 411 sound/soc/codecs/hdmi-codec.c hcp->eld); eld 437 sound/x86/intel_hdmi_audio.c if (intelhaddata->eld[DRM_ELD_SPEAKER] & (1 << i)) eld 484 sound/x86/intel_hdmi_audio.c intelhaddata->eld[DRM_ELD_SPEAKER]); eld 495 sound/x86/intel_hdmi_audio.c eld_high = intelhaddata->eld[DRM_ELD_SPEAKER] & eld_high_mask; eld 502 sound/x86/intel_hdmi_audio.c intelhaddata->eld[DRM_ELD_SPEAKER] &= eld 510 sound/x86/intel_hdmi_audio.c if (intelhaddata->eld[DRM_ELD_SPEAKER] & (1 << i)) eld 1480 sound/x86/intel_hdmi_audio.c memcpy(ucontrol->value.bytes.data, intelhaddata->eld, eld 1576 sound/x86/intel_hdmi_audio.c memset(ctx->eld, 0, sizeof(ctx->eld)); /* clear the old ELD */ eld 1590 sound/x86/intel_hdmi_audio.c memcpy(ctx->eld, ppdata->eld, sizeof(ctx->eld)); eld 106 sound/x86/intel_hdmi_audio.h unsigned char eld[HDMI_MAX_ELD_BYTES];