cs5345.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. cs5345.h - definition for cs5345 inputs and outputs
  3. Copyright (C) 2007 Hans Verkuil (hverkuil@xs4all.nl)
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  15. */
  16. #ifndef _CS5345_H_
  17. #define _CS5345_H_
  18. /* CS5345 HW inputs */
  19. #define CS5345_IN_MIC 0
  20. #define CS5345_IN_1 1
  21. #define CS5345_IN_2 2
  22. #define CS5345_IN_3 3
  23. #define CS5345_IN_4 4
  24. #define CS5345_IN_5 5
  25. #define CS5345_IN_6 6
  26. #define CS5345_MCLK_1 0x00
  27. #define CS5345_MCLK_1_5 0x10
  28. #define CS5345_MCLK_2 0x20
  29. #define CS5345_MCLK_3 0x30
  30. #define CS5345_MCLK_4 0x40
  31. #endif