Erik Schmauss | 9585763 | 2018-03-14 16:13:07 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ |
Robert Moore | 44f6c01 | 2005-04-18 22:49:35 -0400 | [diff] [blame] | 2 | /****************************************************************************** |
| 3 | * |
| 4 | * Name: acnames.h - Global names and strings |
| 5 | * |
Bob Moore | 4441e55 | 2021-01-15 10:48:25 -0800 | [diff] [blame] | 6 | * Copyright (C) 2000 - 2021, Intel Corp. |
Robert Moore | 44f6c01 | 2005-04-18 22:49:35 -0400 | [diff] [blame] | 7 | * |
Erik Schmauss | 9585763 | 2018-03-14 16:13:07 -0700 | [diff] [blame] | 8 | *****************************************************************************/ |
Robert Moore | 44f6c01 | 2005-04-18 22:49:35 -0400 | [diff] [blame] | 9 | |
| 10 | #ifndef __ACNAMES_H__ |
| 11 | #define __ACNAMES_H__ |
| 12 | |
| 13 | /* Method names - these methods can appear anywhere in the namespace */ |
| 14 | |
Robert Moore | 44f6c01 | 2005-04-18 22:49:35 -0400 | [diff] [blame] | 15 | #define METHOD_NAME__ADR "_ADR" |
Zhang Rui | 25169b7 | 2011-11-16 17:03:54 +0800 | [diff] [blame] | 16 | #define METHOD_NAME__AEI "_AEI" |
Bob Moore | bf4994a | 2013-10-29 09:29:34 +0800 | [diff] [blame] | 17 | #define METHOD_NAME__BBN "_BBN" |
Jiang Liu | f4b57a3 | 2012-06-22 14:55:16 +0800 | [diff] [blame] | 18 | #define METHOD_NAME__CBA "_CBA" |
Bob Moore | bf4994a | 2013-10-29 09:29:34 +0800 | [diff] [blame] | 19 | #define METHOD_NAME__CID "_CID" |
Suravee Suthikulpanit | f65358e | 2015-07-01 14:44:04 +0800 | [diff] [blame] | 20 | #define METHOD_NAME__CLS "_CLS" |
Bob Moore | bf4994a | 2013-10-29 09:29:34 +0800 | [diff] [blame] | 21 | #define METHOD_NAME__CRS "_CRS" |
Bob Moore | 5f8b35b | 2014-10-10 10:39:24 +0800 | [diff] [blame] | 22 | #define METHOD_NAME__DDN "_DDN" |
Bob Moore | 89ceb98 | 2021-08-03 20:11:21 +0200 | [diff] [blame] | 23 | #define METHOD_NAME__DIS "_DIS" |
Bob Moore | 137c783 | 2017-08-03 14:27:35 +0800 | [diff] [blame] | 24 | #define METHOD_NAME__DMA "_DMA" |
Bob Moore | bf4994a | 2013-10-29 09:29:34 +0800 | [diff] [blame] | 25 | #define METHOD_NAME__HID "_HID" |
| 26 | #define METHOD_NAME__INI "_INI" |
Bob Moore | be030a5 | 2012-08-17 13:07:54 +0800 | [diff] [blame] | 27 | #define METHOD_NAME__PLD "_PLD" |
David E. Box | a9f65e0 | 2014-07-30 12:21:26 +0800 | [diff] [blame] | 28 | #define METHOD_NAME__DSD "_DSD" |
Bob Moore | bf4994a | 2013-10-29 09:29:34 +0800 | [diff] [blame] | 29 | #define METHOD_NAME__PRS "_PRS" |
| 30 | #define METHOD_NAME__PRT "_PRT" |
| 31 | #define METHOD_NAME__PRW "_PRW" |
Bob Moore | 36d3231 | 2014-09-02 08:27:05 +0800 | [diff] [blame] | 32 | #define METHOD_NAME__PS0 "_PS0" |
| 33 | #define METHOD_NAME__PS1 "_PS1" |
| 34 | #define METHOD_NAME__PS2 "_PS2" |
| 35 | #define METHOD_NAME__PS3 "_PS3" |
Bob Moore | bf4994a | 2013-10-29 09:29:34 +0800 | [diff] [blame] | 36 | #define METHOD_NAME__REG "_REG" |
| 37 | #define METHOD_NAME__SB_ "_SB_" |
| 38 | #define METHOD_NAME__SEG "_SEG" |
| 39 | #define METHOD_NAME__SRS "_SRS" |
| 40 | #define METHOD_NAME__STA "_STA" |
| 41 | #define METHOD_NAME__SUB "_SUB" |
| 42 | #define METHOD_NAME__UID "_UID" |
Robert Moore | 44f6c01 | 2005-04-18 22:49:35 -0400 | [diff] [blame] | 43 | |
| 44 | /* Method names - these methods must appear at the namespace root */ |
| 45 | |
Bob Moore | 4efeeec | 2012-03-21 09:42:45 +0800 | [diff] [blame] | 46 | #define METHOD_PATHNAME__PTS "\\_PTS" |
| 47 | #define METHOD_PATHNAME__SST "\\_SI._SST" |
| 48 | #define METHOD_PATHNAME__WAK "\\_WAK" |
Robert Moore | 44f6c01 | 2005-04-18 22:49:35 -0400 | [diff] [blame] | 49 | |
| 50 | /* Definitions of the predefined namespace names */ |
| 51 | |
Bob Moore | a18ecf4 | 2005-08-15 03:42:00 -0800 | [diff] [blame] | 52 | #define ACPI_UNKNOWN_NAME (u32) 0x3F3F3F3F /* Unknown name is "????" */ |
Bob Moore | a18ecf4 | 2005-08-15 03:42:00 -0800 | [diff] [blame] | 53 | #define ACPI_PREFIX_MIXED (u32) 0x69706341 /* "Acpi" */ |
| 54 | #define ACPI_PREFIX_LOWER (u32) 0x69706361 /* "acpi" */ |
Robert Moore | 44f6c01 | 2005-04-18 22:49:35 -0400 | [diff] [blame] | 55 | |
Bob Moore | 4032cc3 | 2018-05-08 14:06:11 -0700 | [diff] [blame] | 56 | /* Root name stuff */ |
| 57 | |
| 58 | #define ACPI_ROOT_NAME (u32) 0x5F5F5F5C /* Root name is "\___" */ |
| 59 | #define ACPI_ROOT_PATHNAME "\\___" |
| 60 | #define ACPI_NAMESPACE_ROOT "Namespace Root" |
Robert Moore | 44f6c01 | 2005-04-18 22:49:35 -0400 | [diff] [blame] | 61 | #define ACPI_NS_ROOT_PATH "\\" |
Robert Moore | 44f6c01 | 2005-04-18 22:49:35 -0400 | [diff] [blame] | 62 | |
Len Brown | 4be44fc | 2005-08-05 00:44:28 -0400 | [diff] [blame] | 63 | #endif /* __ACNAMES_H__ */ |