amp.h 902 B

12345678910111213141516171819202122232425262728293031323334
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. #ifndef __SOUND_AMP_H
  3. #define __SOUND_AMP_H
  4. /*
  5. * ALSA driver for VIA VT1724 (Envy24HT)
  6. *
  7. * Lowlevel functions for Advanced Micro Peripherals Ltd AUDIO2000
  8. *
  9. * Copyright (c) 2000 Jaroslav Kysela <[email protected]>
  10. */
  11. #define AMP_AUDIO2000_DEVICE_DESC "{AMP Ltd,AUDIO2000},"\
  12. "{Chaintech,AV-710},"
  13. #if 0
  14. #define VT1724_SUBDEVICE_AUDIO2000 0x12142417 /* Advanced Micro Peripherals Ltd AUDIO2000 */
  15. #else
  16. #define VT1724_SUBDEVICE_AUDIO2000 0x00030003 /* a dummy ID for AMP Audio2000 */
  17. #endif
  18. #define VT1724_SUBDEVICE_AV710 0x12142417 /* AV710 - the same ID with Audio2000! */
  19. /* WM8728 on I2C for AV710 */
  20. #define WM_DEV 0x36
  21. #define WM_ATTEN_L 0x00
  22. #define WM_ATTEN_R 0x01
  23. #define WM_DAC_CTRL 0x02
  24. #define WM_INT_CTRL 0x03
  25. extern struct snd_ice1712_card_info snd_vt1724_amp_cards[];
  26. #endif /* __SOUND_AMP_H */