s3c6400-ac97.h 1009 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * s3c24xx-ac97.c -- ALSA Soc Audio Layer
  3. *
  4. * (c) 2007 Wolfson Microelectronics PLC.
  5. * Author: Graeme Gregory
  6. * graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
  7. *
  8. * This program is free software; you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public License as published by the
  10. * Free Software Foundation; either version 2 of the License, or (at your
  11. * option) any later version.
  12. *
  13. * Revision history
  14. * 10th Nov 2006 Initial version.
  15. */
  16. #ifndef S3C6400AC97_H_
  17. #define S3C6400AC97_H_
  18. //#define AC_CMD_ADDR(x) (x << 16)
  19. //#define AC_CMD_DATA(x) (x & 0xffff)
  20. extern struct snd_soc_cpu_dai s3c6400_ac97_dai[];
  21. #if 0
  22. #define AC97_RECORD_GAIN 0x001c
  23. #define AC97_POWER_CONTROL 0x0026
  24. #define AC97_EXTENDED_MODEM_ID 0x003C
  25. #define AC97_EXTEND_MODEM_STAT 0x003E
  26. #define AC97_PHONE_VOL 0x000c // TAD Input (mono)
  27. #define AC97_PCBEEP_VOL 0x000a // none
  28. #endif
  29. #endif /*S3C6400AC97_H_*/