Home
last modified time | relevance | path

Searched refs:eld (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/sound/pci/hda/
Dhda_eld.c321 int snd_hdmi_get_eld(struct hdmi_eld *eld, in snd_hdmi_get_eld() argument
346 buf = eld->eld_buffer; in snd_hdmi_get_eld()
375 ret = hdmi_update_eld(eld, buf, size); in snd_hdmi_get_eld()
599 int snd_hda_eld_proc_new(struct hda_codec *codec, struct hdmi_eld *eld, in snd_hda_eld_proc_new() argument
611 snd_info_set_text_ops(entry, eld, hdmi_print_eld_info); in snd_hda_eld_proc_new()
614 eld->proc_entry = entry; in snd_hda_eld_proc_new()
619 void snd_hda_eld_proc_free(struct hda_codec *codec, struct hdmi_eld *eld) in snd_hda_eld_proc_free() argument
621 if (!codec->bus->shutdown && eld->proc_entry) { in snd_hda_eld_proc_free()
622 snd_device_free(codec->bus->card, eld->proc_entry); in snd_hda_eld_proc_free()
623 eld->proc_entry = NULL; in snd_hda_eld_proc_free()
[all …]
Dpatch_hdmi.c482 static int hdmi_channel_allocation(struct hdmi_eld *eld, int channels) in hdmi_channel_allocation() argument
502 if (eld->spk_alloc & (1 << i)) in hdmi_channel_allocation()
527 snd_print_channel_allocation(eld->spk_alloc, buf, sizeof(buf)); in hdmi_channel_allocation()
708 struct hdmi_eld *eld; in hdmi_setup_audio_infoframe() local
712 eld = &spec->pins[pin_idx].sink_eld; in hdmi_setup_audio_infoframe()
713 if (!eld->monitor_present) in hdmi_setup_audio_infoframe()
716 ca = hdmi_channel_allocation(eld, channels); in hdmi_setup_audio_infoframe()
719 if (eld->conn_type == 0) { /* HDMI */ in hdmi_setup_audio_infoframe()
728 } else if (eld->conn_type == 1) { /* DisplayPort */ in hdmi_setup_audio_infoframe()
890 struct hdmi_eld *eld; in hdmi_pcm_open() local
[all …]
Dhda_local.h684 void snd_hdmi_show_eld(struct hdmi_eld *eld);
685 void snd_hdmi_eld_update_pcm_info(struct hdmi_eld *eld,
689 int snd_hda_eld_proc_new(struct hda_codec *codec, struct hdmi_eld *eld,
691 void snd_hda_eld_proc_free(struct hda_codec *codec, struct hdmi_eld *eld);
694 struct hdmi_eld *eld, in snd_hda_eld_proc_new() argument
700 struct hdmi_eld *eld) in snd_hda_eld_proc_free() argument
/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnouveau_hdmi.c104 if (nv_connector->base.eld[0]) { in nouveau_audio_mode_set()
105 u8 *eld = nv_connector->base.eld; in nouveau_audio_mode_set() local
106 for (i = 0; i < eld[2] * 4; i++) in nouveau_audio_mode_set()
107 nv_wr32(dev, 0x61c440 + or, (i << 8) | eld[i]); in nouveau_audio_mode_set()
108 for (i = eld[2] * 4; i < 0x60; i++) in nouveau_audio_mode_set()
Dnvd0_display.c1105 if (nv_connector->base.eld[0]) { in nvd0_audio_mode_set()
1106 u8 *eld = nv_connector->base.eld; in nvd0_audio_mode_set() local
1108 for (i = 0; i < eld[2] * 4; i++) in nvd0_audio_mode_set()
1109 nv_wr32(dev, 0x10ec00 + or, (i << 8) | eld[i]); in nvd0_audio_mode_set()
1110 for (i = eld[2] * 4; i < 0x60; i++) in nvd0_audio_mode_set()
/linux-3.4.99/drivers/gpu/drm/
Ddrm_edid.c1409 connector->eld[5] |= (db[6] >> 7) << 1; /* Supports_AI */ in parse_hdmi_vsdb()
1456 uint8_t *eld = connector->eld; in drm_edid_to_eld() local
1464 memset(eld, 0, sizeof(connector->eld)); in drm_edid_to_eld()
1477 eld[20 + mnl] = name[mnl]; in drm_edid_to_eld()
1479 eld[4] = (cea[1] << 5) | mnl; in drm_edid_to_eld()
1480 DRM_DEBUG_KMS("ELD monitor %s\n", eld + 20); in drm_edid_to_eld()
1482 eld[0] = 2 << 3; /* ELD version: 2 */ in drm_edid_to_eld()
1484 eld[16] = edid->mfg_id[0]; in drm_edid_to_eld()
1485 eld[17] = edid->mfg_id[1]; in drm_edid_to_eld()
1486 eld[18] = edid->prod_code[0]; in drm_edid_to_eld()
[all …]
/linux-3.4.99/Documentation/sound/alsa/
DProcfile.txt182 card*/eld#*
187 Some ELD fields may be modified by doing `echo name hex_value > eld#*`.
/linux-3.4.99/drivers/gpu/drm/i915/
Dintel_display.c6137 uint8_t *eld = connector->eld; in intel_eld_uptodate() local
6143 if (!eld[0]) in intel_eld_uptodate()
6153 for (i = 0; i < eld[2]; i++) in intel_eld_uptodate()
6154 if (I915_READ(reg_edid) != *((uint32_t *)eld + i)) in intel_eld_uptodate()
6164 uint8_t *eld = connector->eld; in g4x_write_eld() local
6187 if (!eld[0]) in g4x_write_eld()
6190 len = min_t(uint8_t, eld[2], len); in g4x_write_eld()
6193 I915_WRITE(G4X_HDMIW_HDMIEDID, *((uint32_t *)eld + i)); in g4x_write_eld()
6204 uint8_t *eld = connector->eld; in ironlake_write_eld() local
6247 eld[5] |= (1 << 2); /* Conn_Type, 0x1 = DisplayPort */ in ironlake_write_eld()
[all …]
/linux-3.4.99/include/drm/
Ddrm_crtc.h584 uint8_t eld[MAX_ELD_BYTES]; member