mc13783.h 1.5 KB

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