aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r--sound/pci/hda/hda_local.h27
1 files changed, 9 insertions, 18 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h
index 2e7493ef8ee0..d398b648bb5d 100644
--- a/sound/pci/hda/hda_local.h
+++ b/sound/pci/hda/hda_local.h
@@ -428,6 +428,7 @@ enum {
428 HDA_FIXUP_ACT_PROBE, 428 HDA_FIXUP_ACT_PROBE,
429 HDA_FIXUP_ACT_INIT, 429 HDA_FIXUP_ACT_INIT,
430 HDA_FIXUP_ACT_BUILD, 430 HDA_FIXUP_ACT_BUILD,
431 HDA_FIXUP_ACT_FREE,
431}; 432};
432 433
433int snd_hda_add_verbs(struct hda_codec *codec, const struct hda_verb *list); 434int snd_hda_add_verbs(struct hda_codec *codec, const struct hda_verb *list);
@@ -751,10 +752,6 @@ struct hdmi_eld {
751 int eld_size; 752 int eld_size;
752 char eld_buffer[ELD_MAX_SIZE]; 753 char eld_buffer[ELD_MAX_SIZE];
753 struct parsed_hdmi_eld info; 754 struct parsed_hdmi_eld info;
754 struct mutex lock;
755#ifdef CONFIG_PROC_FS
756 struct snd_info_entry *proc_entry;
757#endif
758}; 755};
759 756
760int snd_hdmi_get_eld_size(struct hda_codec *codec, hda_nid_t nid); 757int snd_hdmi_get_eld_size(struct hda_codec *codec, hda_nid_t nid);
@@ -766,21 +763,15 @@ void snd_hdmi_show_eld(struct parsed_hdmi_eld *e);
766void snd_hdmi_eld_update_pcm_info(struct parsed_hdmi_eld *e, 763void snd_hdmi_eld_update_pcm_info(struct parsed_hdmi_eld *e,
767 struct hda_pcm_stream *hinfo); 764 struct hda_pcm_stream *hinfo);
768 765
766int snd_hdmi_get_eld_ati(struct hda_codec *codec, hda_nid_t nid,
767 unsigned char *buf, int *eld_size,
768 bool rev3_or_later);
769
769#ifdef CONFIG_PROC_FS 770#ifdef CONFIG_PROC_FS
770int snd_hda_eld_proc_new(struct hda_codec *codec, struct hdmi_eld *eld, 771void snd_hdmi_print_eld_info(struct hdmi_eld *eld,
771 int index); 772 struct snd_info_buffer *buffer);
772void snd_hda_eld_proc_free(struct hda_codec *codec, struct hdmi_eld *eld); 773void snd_hdmi_write_eld_info(struct hdmi_eld *eld,
773#else 774 struct snd_info_buffer *buffer);
774static inline int snd_hda_eld_proc_new(struct hda_codec *codec,
775 struct hdmi_eld *eld,
776 int index)
777{
778 return 0;
779}
780static inline void snd_hda_eld_proc_free(struct hda_codec *codec,
781 struct hdmi_eld *eld)
782{
783}
784#endif 775#endif
785 776
786#define SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE 80 777#define SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE 80