ad1980.h 468 B

1234567891011121314151617181920212223
  1. /*
  2. * ad1980.h -- ad1980 Soc Audio driver
  3. */
  4. #ifndef _AD1980_H
  5. #define _AD1980_H
  6. /* Bit definition of Power-Down Control/Status Register */
  7. #define ADC 0x0001
  8. #define DAC 0x0002
  9. #define ANL 0x0004
  10. #define REF 0x0008
  11. #define PR0 0x0100
  12. #define PR1 0x0200
  13. #define PR2 0x0400
  14. #define PR3 0x0800
  15. #define PR4 0x1000
  16. #define PR5 0x2000
  17. #define PR6 0x4000
  18. extern struct snd_soc_dai ad1980_dai;
  19. extern struct snd_soc_codec_device soc_codec_dev_ad1980;
  20. #endif