nomadik.h 758 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * nomadik.h
  3. *
  4. * Copyright (C) ST-Ericsson SA 2013
  5. * Author: Gabriel Fernandez <gabriel.fernandez@st.com> for ST-Ericsson.
  6. * License terms: GNU General Public License (GPL), version 2
  7. */
  8. #define INPUT_NOPULL 0
  9. #define INPUT_PULLUP 1
  10. #define INPUT_PULLDOWN 2
  11. #define OUTPUT_LOW 0
  12. #define OUTPUT_HIGH 1
  13. #define DIR_OUTPUT 2
  14. #define SLPM_DISABLED 0
  15. #define SLPM_ENABLED 1
  16. #define SLPM_INPUT_NOPULL 0
  17. #define SLPM_INPUT_PULLUP 1
  18. #define SLPM_INPUT_PULLDOWN 2
  19. #define SLPM_DIR_INPUT 3
  20. #define SLPM_OUTPUT_LOW 0
  21. #define SLPM_OUTPUT_HIGH 1
  22. #define SLPM_DIR_OUTPUT 2
  23. #define SLPM_WAKEUP_DISABLE 0
  24. #define SLPM_WAKEUP_ENABLE 1
  25. #define GPIOMODE_DISABLED 0
  26. #define GPIOMODE_ENABLED 1
  27. #define SLPM_PDIS_DISABLED 0
  28. #define SLPM_PDIS_ENABLED 1