aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 1a69743160ce..ef94c9122c6d 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -570,6 +570,7 @@ struct hda_codec {
570 u32 *wcaps; 570 u32 *wcaps;
571 571
572 struct hda_cache_rec amp_cache; /* cache for amp access */ 572 struct hda_cache_rec amp_cache; /* cache for amp access */
573 struct hda_cache_rec cmd_cache; /* cache for other commands */
573 574
574 struct mutex spdif_mutex; 575 struct mutex spdif_mutex;
575 unsigned int spdif_status; /* IEC958 status bits */ 576 unsigned int spdif_status; /* IEC958 status bits */
@@ -620,6 +621,13 @@ void snd_hda_sequence_write(struct hda_codec *codec,
620/* unsolicited event */ 621/* unsolicited event */
621int snd_hda_queue_unsol_event(struct hda_bus *bus, u32 res, u32 res_ex); 622int snd_hda_queue_unsol_event(struct hda_bus *bus, u32 res, u32 res_ex);
622 623
624/* cached write */
625int snd_hda_codec_write_cache(struct hda_codec *codec, hda_nid_t nid,
626 int direct, unsigned int verb, unsigned int parm);
627void snd_hda_sequence_write_cache(struct hda_codec *codec,
628 const struct hda_verb *seq);
629void snd_hda_codec_resume_cache(struct hda_codec *codec);
630
623/* 631/*
624 * Mixer 632 * Mixer
625 */ 633 */