lm4857.h 827 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * lm4857.h -- ALSA Soc Audio Layer
  3. *
  4. * Copyright 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. * 18th Jun 2007 Initial version.
  15. */
  16. #ifndef LM4857_H_
  17. #define LM4857_H_
  18. /* The register offsets in the cache array */
  19. #define LM4857_MVOL 0
  20. #define LM4857_LVOL 1
  21. #define LM4857_RVOL 2
  22. #define LM4857_CTRL 3
  23. /* the shifts required to set these bits */
  24. #define LM4857_3D 5
  25. #define LM4857_WAKEUP 5
  26. #define LM4857_EPGAIN 4
  27. #endif /*LM4857_H_*/