hda_patch.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * HDA Patches - included by hda_codec.c
  3. */
  4. /* Realtek codecs */
  5. extern struct hda_codec_preset snd_hda_preset_realtek[];
  6. /* C-Media codecs */
  7. extern struct hda_codec_preset snd_hda_preset_cmedia[];
  8. /* Analog Devices codecs */
  9. extern struct hda_codec_preset snd_hda_preset_analog[];
  10. /* SigmaTel codecs */
  11. extern struct hda_codec_preset snd_hda_preset_sigmatel[];
  12. /* SiLabs 3054/3055 modem codecs */
  13. extern struct hda_codec_preset snd_hda_preset_si3054[];
  14. /* ATI HDMI codecs */
  15. extern struct hda_codec_preset snd_hda_preset_atihdmi[];
  16. /* Conexant audio codec */
  17. extern struct hda_codec_preset snd_hda_preset_conexant[];
  18. /* VIA codecs */
  19. extern struct hda_codec_preset snd_hda_preset_via[];
  20. static const struct hda_codec_preset *hda_preset_tables[] = {
  21. #ifdef CONFIG_SND_HDA_CODEC_REALTEK
  22. snd_hda_preset_realtek,
  23. #endif
  24. #ifdef CONFIG_SND_HDA_CODEC_CMEDIA
  25. snd_hda_preset_cmedia,
  26. #endif
  27. #ifdef CONFIG_SND_HDA_CODEC_ANALOG
  28. snd_hda_preset_analog,
  29. #endif
  30. #ifdef CONFIG_SND_HDA_CODEC_SIGMATEL
  31. snd_hda_preset_sigmatel,
  32. #endif
  33. #ifdef CONFIG_SND_HDA_CODEC_SI3054
  34. snd_hda_preset_si3054,
  35. #endif
  36. #ifdef CONFIG_SND_HDA_CODEC_ATIHDMI
  37. snd_hda_preset_atihdmi,
  38. #endif
  39. #ifdef CONFIG_SND_HDA_CODEC_CONEXANT
  40. snd_hda_preset_conexant,
  41. #endif
  42. #ifdef CONFIG_SND_HDA_CODEC_VIA
  43. snd_hda_preset_via,
  44. #endif
  45. NULL
  46. };