mc13783.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2011
  4. * Helmut Raiger, HALE electronic GmbH, helmut.raiger@hale.at
  5. */
  6. #ifndef __MC13783_H__
  7. #define __MC13783_H__
  8. /* REG_MODE_0 */
  9. #define VAUDIOEN (1 << 0)
  10. #define VAUDIOSTBY (1 << 1)
  11. #define VAUDIOMODE (1 << 2)
  12. #define VIOHIEN (1 << 3)
  13. #define VIOHISTBY (1 << 4)
  14. #define VIOHIMODE (1 << 5)
  15. #define VIOLOEN (1 << 6)
  16. #define VIOLOSTBY (1 << 7)
  17. #define VIOLOMODE (1 << 8)
  18. #define VDIGEN (1 << 9)
  19. #define VDIGSTBY (1 << 10)
  20. #define VDIGMODE (1 << 11)
  21. #define VGENEN (1 << 12)
  22. #define VGENSTBY (1 << 13)
  23. #define VGENMODE (1 << 14)
  24. #define VRFDIGEN (1 << 15)
  25. #define VRFDIGSTBY (1 << 16)
  26. #define VRFDIGMODE (1 << 17)
  27. #define VRFREFEN (1 << 18)
  28. #define VRFREFSTBY (1 << 19)
  29. #define VRFREFMODE (1 << 20)
  30. #define VRFCPEN (1 << 21)
  31. #define VRFCPSTBY (1 << 22)
  32. #define VRFCPMODE (1 << 23)
  33. /* REG_MODE_1 */
  34. #define VSIMEN (1 << 0)
  35. #define VSIMSTBY (1 << 1)
  36. #define VSIMMODE (1 << 2)
  37. #define VESIMEN (1 << 3)
  38. #define VESIMSTBY (1 << 4)
  39. #define VESIMMODE (1 << 5)
  40. #define VCAMEN (1 << 6)
  41. #define VCAMSTBY (1 << 7)
  42. #define VCAMMODE (1 << 8)
  43. #define VRFBGEN (1 << 9)
  44. #define VRFBGSTBY (1 << 10)
  45. #define VVIBEN (1 << 11)
  46. #define VRF1EN (1 << 12)
  47. #define VRF1STBY (1 << 13)
  48. #define VRF1MODE (1 << 14)
  49. #define VRF2EN (1 << 15)
  50. #define VRF2STBY (1 << 16)
  51. #define VRF2MODE (1 << 17)
  52. #define VMMC1EN (1 << 18)
  53. #define VMMC1STBY (1 << 19)
  54. #define VMMC1MODE (1 << 20)
  55. #define VMMC2EN (1 << 21)
  56. #define VMMC2STBY (1 << 22)
  57. #define VMMC2MODE (1 << 23)
  58. #endif