acnames.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
  2. /******************************************************************************
  3. *
  4. * Name: acnames.h - Global names and strings
  5. *
  6. * Copyright (C) 2000 - 2018, Intel Corp.
  7. *
  8. *****************************************************************************/
  9. #ifndef __ACNAMES_H__
  10. #define __ACNAMES_H__
  11. /* Method names - these methods can appear anywhere in the namespace */
  12. #define METHOD_NAME__ADR "_ADR"
  13. #define METHOD_NAME__AEI "_AEI"
  14. #define METHOD_NAME__BBN "_BBN"
  15. #define METHOD_NAME__CBA "_CBA"
  16. #define METHOD_NAME__CID "_CID"
  17. #define METHOD_NAME__CLS "_CLS"
  18. #define METHOD_NAME__CRS "_CRS"
  19. #define METHOD_NAME__DDN "_DDN"
  20. #define METHOD_NAME__DMA "_DMA"
  21. #define METHOD_NAME__HID "_HID"
  22. #define METHOD_NAME__INI "_INI"
  23. #define METHOD_NAME__PLD "_PLD"
  24. #define METHOD_NAME__DSD "_DSD"
  25. #define METHOD_NAME__PRS "_PRS"
  26. #define METHOD_NAME__PRT "_PRT"
  27. #define METHOD_NAME__PRW "_PRW"
  28. #define METHOD_NAME__PS0 "_PS0"
  29. #define METHOD_NAME__PS1 "_PS1"
  30. #define METHOD_NAME__PS2 "_PS2"
  31. #define METHOD_NAME__PS3 "_PS3"
  32. #define METHOD_NAME__REG "_REG"
  33. #define METHOD_NAME__SB_ "_SB_"
  34. #define METHOD_NAME__SEG "_SEG"
  35. #define METHOD_NAME__SRS "_SRS"
  36. #define METHOD_NAME__STA "_STA"
  37. #define METHOD_NAME__SUB "_SUB"
  38. #define METHOD_NAME__UID "_UID"
  39. /* Method names - these methods must appear at the namespace root */
  40. #define METHOD_PATHNAME__PTS "\\_PTS"
  41. #define METHOD_PATHNAME__SST "\\_SI._SST"
  42. #define METHOD_PATHNAME__WAK "\\_WAK"
  43. /* Definitions of the predefined namespace names */
  44. #define ACPI_UNKNOWN_NAME (u32) 0x3F3F3F3F /* Unknown name is "????" */
  45. #define ACPI_PREFIX_MIXED (u32) 0x69706341 /* "Acpi" */
  46. #define ACPI_PREFIX_LOWER (u32) 0x69706361 /* "acpi" */
  47. /* Root name stuff */
  48. #define ACPI_ROOT_NAME (u32) 0x5F5F5F5C /* Root name is "\___" */
  49. #define ACPI_ROOT_PATHNAME "\\___"
  50. #define ACPI_NAMESPACE_ROOT "Namespace Root"
  51. #define ACPI_NS_ROOT_PATH "\\"
  52. #endif /* __ACNAMES_H__ */