xref: /dflybsd-src/sys/contrib/dev/acpica/source/common/ahpredef.c (revision 01d5d5df55caa9c47886aef5197b8c4301cc621b)
10d02842fSSascha Wildner /******************************************************************************
20d02842fSSascha Wildner  *
30d02842fSSascha Wildner  * Module Name: ahpredef - Table of all known ACPI predefined names
40d02842fSSascha Wildner  *
50d02842fSSascha Wildner  *****************************************************************************/
60d02842fSSascha Wildner 
7b4315fc7SSascha Wildner /******************************************************************************
8b4315fc7SSascha Wildner  *
9b4315fc7SSascha Wildner  * 1. Copyright Notice
10b4315fc7SSascha Wildner  *
11383048acSSascha Wildner  * Some or all of this work - Copyright (c) 1999 - 2021, Intel Corp.
120d02842fSSascha Wildner  * All rights reserved.
130d02842fSSascha Wildner  *
14b4315fc7SSascha Wildner  * 2. License
15b4315fc7SSascha Wildner  *
16b4315fc7SSascha Wildner  * 2.1. This is your license from Intel Corp. under its intellectual property
17b4315fc7SSascha Wildner  * rights. You may have additional license terms from the party that provided
18b4315fc7SSascha Wildner  * you this software, covering your right to use that party's intellectual
19b4315fc7SSascha Wildner  * property rights.
20b4315fc7SSascha Wildner  *
21b4315fc7SSascha Wildner  * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
22b4315fc7SSascha Wildner  * copy of the source code appearing in this file ("Covered Code") an
23b4315fc7SSascha Wildner  * irrevocable, perpetual, worldwide license under Intel's copyrights in the
24b4315fc7SSascha Wildner  * base code distributed originally by Intel ("Original Intel Code") to copy,
25b4315fc7SSascha Wildner  * make derivatives, distribute, use and display any portion of the Covered
26b4315fc7SSascha Wildner  * Code in any form, with the right to sublicense such rights; and
27b4315fc7SSascha Wildner  *
28b4315fc7SSascha Wildner  * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
29b4315fc7SSascha Wildner  * license (with the right to sublicense), under only those claims of Intel
30b4315fc7SSascha Wildner  * patents that are infringed by the Original Intel Code, to make, use, sell,
31b4315fc7SSascha Wildner  * offer to sell, and import the Covered Code and derivative works thereof
32b4315fc7SSascha Wildner  * solely to the minimum extent necessary to exercise the above copyright
33b4315fc7SSascha Wildner  * license, and in no event shall the patent license extend to any additions
34b4315fc7SSascha Wildner  * to or modifications of the Original Intel Code. No other license or right
35b4315fc7SSascha Wildner  * is granted directly or by implication, estoppel or otherwise;
36b4315fc7SSascha Wildner  *
37b4315fc7SSascha Wildner  * The above copyright and patent license is granted only if the following
38b4315fc7SSascha Wildner  * conditions are met:
39b4315fc7SSascha Wildner  *
40b4315fc7SSascha Wildner  * 3. Conditions
41b4315fc7SSascha Wildner  *
42b4315fc7SSascha Wildner  * 3.1. Redistribution of Source with Rights to Further Distribute Source.
43b4315fc7SSascha Wildner  * Redistribution of source code of any substantial portion of the Covered
44b4315fc7SSascha Wildner  * Code or modification with rights to further distribute source must include
45b4315fc7SSascha Wildner  * the above Copyright Notice, the above License, this list of Conditions,
46b4315fc7SSascha Wildner  * and the following Disclaimer and Export Compliance provision. In addition,
47b4315fc7SSascha Wildner  * Licensee must cause all Covered Code to which Licensee contributes to
48b4315fc7SSascha Wildner  * contain a file documenting the changes Licensee made to create that Covered
49b4315fc7SSascha Wildner  * Code and the date of any change. Licensee must include in that file the
50b4315fc7SSascha Wildner  * documentation of any changes made by any predecessor Licensee. Licensee
51b4315fc7SSascha Wildner  * must include a prominent statement that the modification is derived,
52b4315fc7SSascha Wildner  * directly or indirectly, from Original Intel Code.
53b4315fc7SSascha Wildner  *
54b4315fc7SSascha Wildner  * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
55b4315fc7SSascha Wildner  * Redistribution of source code of any substantial portion of the Covered
56b4315fc7SSascha Wildner  * Code or modification without rights to further distribute source must
57b4315fc7SSascha Wildner  * include the following Disclaimer and Export Compliance provision in the
58b4315fc7SSascha Wildner  * documentation and/or other materials provided with distribution. In
59b4315fc7SSascha Wildner  * addition, Licensee may not authorize further sublicense of source of any
60b4315fc7SSascha Wildner  * portion of the Covered Code, and must include terms to the effect that the
61b4315fc7SSascha Wildner  * license from Licensee to its licensee is limited to the intellectual
62b4315fc7SSascha Wildner  * property embodied in the software Licensee provides to its licensee, and
63b4315fc7SSascha Wildner  * not to intellectual property embodied in modifications its licensee may
64b4315fc7SSascha Wildner  * make.
65b4315fc7SSascha Wildner  *
66b4315fc7SSascha Wildner  * 3.3. Redistribution of Executable. Redistribution in executable form of any
67b4315fc7SSascha Wildner  * substantial portion of the Covered Code or modification must reproduce the
68b4315fc7SSascha Wildner  * above Copyright Notice, and the following Disclaimer and Export Compliance
69b4315fc7SSascha Wildner  * provision in the documentation and/or other materials provided with the
70b4315fc7SSascha Wildner  * distribution.
71b4315fc7SSascha Wildner  *
72b4315fc7SSascha Wildner  * 3.4. Intel retains all right, title, and interest in and to the Original
73b4315fc7SSascha Wildner  * Intel Code.
74b4315fc7SSascha Wildner  *
75b4315fc7SSascha Wildner  * 3.5. Neither the name Intel nor any other trademark owned or controlled by
76b4315fc7SSascha Wildner  * Intel shall be used in advertising or otherwise to promote the sale, use or
77b4315fc7SSascha Wildner  * other dealings in products derived from or relating to the Covered Code
78b4315fc7SSascha Wildner  * without prior written authorization from Intel.
79b4315fc7SSascha Wildner  *
80b4315fc7SSascha Wildner  * 4. Disclaimer and Export Compliance
81b4315fc7SSascha Wildner  *
82b4315fc7SSascha Wildner  * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
83b4315fc7SSascha Wildner  * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
84b4315fc7SSascha Wildner  * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
85b4315fc7SSascha Wildner  * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
86b4315fc7SSascha Wildner  * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
87b4315fc7SSascha Wildner  * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
88b4315fc7SSascha Wildner  * PARTICULAR PURPOSE.
89b4315fc7SSascha Wildner  *
90b4315fc7SSascha Wildner  * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
91b4315fc7SSascha Wildner  * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
92b4315fc7SSascha Wildner  * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
93b4315fc7SSascha Wildner  * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
94b4315fc7SSascha Wildner  * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
95b4315fc7SSascha Wildner  * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
96b4315fc7SSascha Wildner  * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
97b4315fc7SSascha Wildner  * LIMITED REMEDY.
98b4315fc7SSascha Wildner  *
99b4315fc7SSascha Wildner  * 4.3. Licensee shall not export, either directly or indirectly, any of this
100b4315fc7SSascha Wildner  * software or system incorporating such software without first obtaining any
101b4315fc7SSascha Wildner  * required license or other approval from the U. S. Department of Commerce or
102b4315fc7SSascha Wildner  * any other agency or department of the United States Government. In the
103b4315fc7SSascha Wildner  * event Licensee exports any such software from the United States or
104b4315fc7SSascha Wildner  * re-exports any such software from a foreign destination, Licensee shall
105b4315fc7SSascha Wildner  * ensure that the distribution and export/re-export of the software is in
106b4315fc7SSascha Wildner  * compliance with all laws, regulations, orders, or other restrictions of the
107b4315fc7SSascha Wildner  * U.S. Export Administration Regulations. Licensee agrees that neither it nor
108b4315fc7SSascha Wildner  * any of its subsidiaries will export/re-export any technical data, process,
109b4315fc7SSascha Wildner  * software, or service, directly or indirectly, to any country for which the
110b4315fc7SSascha Wildner  * United States government or any agency thereof requires an export license,
111b4315fc7SSascha Wildner  * other governmental approval, or letter of assurance, without first obtaining
112b4315fc7SSascha Wildner  * such license, approval or letter.
113b4315fc7SSascha Wildner  *
114b4315fc7SSascha Wildner  *****************************************************************************
115b4315fc7SSascha Wildner  *
116b4315fc7SSascha Wildner  * Alternatively, you may choose to be licensed under the terms of the
117b4315fc7SSascha Wildner  * following license:
118b4315fc7SSascha Wildner  *
1190d02842fSSascha Wildner  * Redistribution and use in source and binary forms, with or without
1200d02842fSSascha Wildner  * modification, are permitted provided that the following conditions
1210d02842fSSascha Wildner  * are met:
1220d02842fSSascha Wildner  * 1. Redistributions of source code must retain the above copyright
1230d02842fSSascha Wildner  *    notice, this list of conditions, and the following disclaimer,
1240d02842fSSascha Wildner  *    without modification.
1250d02842fSSascha Wildner  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
1260d02842fSSascha Wildner  *    substantially similar to the "NO WARRANTY" disclaimer below
1270d02842fSSascha Wildner  *    ("Disclaimer") and any redistribution must be conditioned upon
1280d02842fSSascha Wildner  *    including a substantially similar Disclaimer requirement for further
1290d02842fSSascha Wildner  *    binary redistribution.
1300d02842fSSascha Wildner  * 3. Neither the names of the above-listed copyright holders nor the names
1310d02842fSSascha Wildner  *    of any contributors may be used to endorse or promote products derived
1320d02842fSSascha Wildner  *    from this software without specific prior written permission.
1330d02842fSSascha Wildner  *
134b4315fc7SSascha Wildner  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
135b4315fc7SSascha Wildner  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
136b4315fc7SSascha Wildner  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
137b4315fc7SSascha Wildner  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
138b4315fc7SSascha Wildner  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
139b4315fc7SSascha Wildner  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
140b4315fc7SSascha Wildner  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
141b4315fc7SSascha Wildner  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
142b4315fc7SSascha Wildner  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
143b4315fc7SSascha Wildner  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
144b4315fc7SSascha Wildner  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
145b4315fc7SSascha Wildner  *
146b4315fc7SSascha Wildner  * Alternatively, you may choose to be licensed under the terms of the
1470d02842fSSascha Wildner  * GNU General Public License ("GPL") version 2 as published by the Free
1480d02842fSSascha Wildner  * Software Foundation.
1490d02842fSSascha Wildner  *
150b4315fc7SSascha Wildner  *****************************************************************************/
1510d02842fSSascha Wildner 
1520d02842fSSascha Wildner #include "acpi.h"
1530d02842fSSascha Wildner #include "accommon.h"
1540d02842fSSascha Wildner 
155d4972a9cSSascha Wildner #define _COMPONENT          ACPI_UTILITIES
156d4972a9cSSascha Wildner         ACPI_MODULE_NAME    ("ahpredef")
157d4972a9cSSascha Wildner 
1580d02842fSSascha Wildner /*
1590d02842fSSascha Wildner  * iASL only needs a partial table (short descriptions only).
1600d02842fSSascha Wildner  * AcpiHelp needs the full table.
1610d02842fSSascha Wildner  */
1620d02842fSSascha Wildner #ifdef ACPI_ASL_COMPILER
1630d02842fSSascha Wildner #define AH_PREDEF(Name, ShortDesc, LongDesc) {Name, ShortDesc}
1640d02842fSSascha Wildner #else
1650d02842fSSascha Wildner #define AH_PREDEF(Name, ShortDesc, LongDesc) {Name, ShortDesc, LongDesc}
1660d02842fSSascha Wildner #endif
1670d02842fSSascha Wildner 
1680d02842fSSascha Wildner /*
1690d02842fSSascha Wildner  * Predefined ACPI names, with short description and return value.
1700d02842fSSascha Wildner  * This table was extracted directly from the ACPI specification.
1710d02842fSSascha Wildner  */
1720d02842fSSascha Wildner const AH_PREDEFINED_NAME    AslPredefinedInfo[] =
1730d02842fSSascha Wildner {
174ef944814SSascha Wildner     AH_PREDEF ("_ACx",    "Active Cooling, x=0-9", "Returns the active cooling policy threshold values"),
1750d02842fSSascha Wildner     AH_PREDEF ("_ADR",    "Address", "Returns address of a device on parent bus, and resource field"),
1760d02842fSSascha Wildner     AH_PREDEF ("_AEI",    "ACPI Event Interrupts", "Returns a list of GPIO events to be used as ACPI events"),
1770d02842fSSascha Wildner     AH_PREDEF ("_ALC",    "Ambient Light Chromaticity", "Returns the ambient light color chromaticity"),
1780d02842fSSascha Wildner     AH_PREDEF ("_ALI",    "Ambient Light Illuminance", "Returns the ambient light brightness"),
1790d02842fSSascha Wildner     AH_PREDEF ("_ALN",    "Alignment", "Base alignment, Resource Descriptor field"),
1800d02842fSSascha Wildner     AH_PREDEF ("_ALP",    "Ambient Light Polling", "Returns the ambient light sensor polling frequency"),
1810d02842fSSascha Wildner     AH_PREDEF ("_ALR",    "Ambient Light Response", "Returns the ambient light brightness to display brightness mappings"),
1820d02842fSSascha Wildner     AH_PREDEF ("_ALT",    "Ambient Light Temperature", "Returns the ambient light color temperature"),
183ef944814SSascha Wildner     AH_PREDEF ("_ALx",    "Active List, x=0-9", "Returns a list of active cooling device objects"),
1840d02842fSSascha Wildner     AH_PREDEF ("_ART",    "Active Cooling Relationship Table", "Returns thermal relationship information between platform devices and fan devices"),
1850d02842fSSascha Wildner     AH_PREDEF ("_ASI",    "Address Space Id", "Resource Descriptor field"),
1860d02842fSSascha Wildner     AH_PREDEF ("_ASZ",    "Access Size", "Resource Descriptor field"),
1870d02842fSSascha Wildner     AH_PREDEF ("_ATT",    "Type-Specific Attribute", "Resource Descriptor field"),
1880d02842fSSascha Wildner     AH_PREDEF ("_BAS",    "Base Address", "Range base address, Resource Descriptor field"),
1890d02842fSSascha Wildner     AH_PREDEF ("_BBN",    "BIOS Bus Number", "Returns the PCI bus number returned by the BIOS"),
1900d02842fSSascha Wildner     AH_PREDEF ("_BCL",    "Brightness Control Levels", "Returns a list of supported brightness control levels"),
1910d02842fSSascha Wildner     AH_PREDEF ("_BCM",    "Brightness Control Method", "Sets the brightness level of the display device"),
1920d02842fSSascha Wildner     AH_PREDEF ("_BCT",    "Battery Charge Time", "Returns time remaining to complete charging battery"),
1930d02842fSSascha Wildner     AH_PREDEF ("_BDN",    "BIOS Dock Name", "Returns the Dock ID returned by the BIOS"),
1940d02842fSSascha Wildner     AH_PREDEF ("_BFS",    "Back From Sleep", "Inform AML of a wake event"),
1950d02842fSSascha Wildner     AH_PREDEF ("_BIF",    "Battery Information", "Returns a Control Method Battery information block"),
1960d02842fSSascha Wildner     AH_PREDEF ("_BIX",    "Battery Information Extended", "Returns a Control Method Battery extended information block"),
1970d02842fSSascha Wildner     AH_PREDEF ("_BLT",    "Battery Level Threshold", "Set battery level threshold preferences"),
1980d02842fSSascha Wildner     AH_PREDEF ("_BM_",    "Bus Master", "Resource Descriptor field"),
1990d02842fSSascha Wildner     AH_PREDEF ("_BMA",    "Battery Measurement Averaging Interval", "Sets battery measurement averaging interval"),
2000d02842fSSascha Wildner     AH_PREDEF ("_BMC",    "Battery Maintenance Control", "Sets battery maintenance and control features"),
2010d02842fSSascha Wildner     AH_PREDEF ("_BMD",    "Battery Maintenance Data", "Returns battery maintenance, control, and state data"),
2020d02842fSSascha Wildner     AH_PREDEF ("_BMS",    "Battery Measurement Sampling Time", "Sets the battery measurement sampling time"),
203*01d5d5dfSSascha Wildner     AH_PREDEF ("_BPC",    "Battery Power Characteristics", "Returns static values used to configure power threshold support in the platform firmware"),
204*01d5d5dfSSascha Wildner     AH_PREDEF ("_BPS",    "Battery Power State", "Returns the power delivery capabilities of the battery at the present time"),
205*01d5d5dfSSascha Wildner     AH_PREDEF ("_BPT",    "Battery Power Threshold", "Set a relative battery peak power capability change threshold"),
2060d02842fSSascha Wildner     AH_PREDEF ("_BQC",    "Brightness Query Current", "Returns the current display brightness level"),
2070d02842fSSascha Wildner     AH_PREDEF ("_BST",    "Battery Status", "Returns a Control Method Battery status block"),
208896f2e3aSSascha Wildner     AH_PREDEF ("_BTH",    "Battery Throttle Limit", "Thermal limit for charging and discharging"),
2090d02842fSSascha Wildner     AH_PREDEF ("_BTM",    "Battery Time", "Returns the battery runtime"),
2100d02842fSSascha Wildner     AH_PREDEF ("_BTP",    "Battery Trip Point", "Sets a Control Method Battery trip point"),
2110d02842fSSascha Wildner     AH_PREDEF ("_CBA",    "Configuration Base Address", "Sets the base address for a PCI Express host bridge"),
212*01d5d5dfSSascha Wildner     AH_PREDEF ("_CBR",    "CXL Host Bridge Register Info", "Get the memory location of CXL Host Bridge Registers"),
213066b6da2SSascha Wildner     AH_PREDEF ("_CCA",    "Cache Coherency Attribute", "Returns a device's support level for cache coherency"),
2140d02842fSSascha Wildner     AH_PREDEF ("_CDM",    "Clock Domain", "Returns a logical processor's clock domain identifier"),
2150d02842fSSascha Wildner     AH_PREDEF ("_CID",    "Compatible ID", "Returns a device's Plug and Play Compatible ID list"),
2160d02842fSSascha Wildner     AH_PREDEF ("_CLS",    "Class Code", "Returns PCI class code and subclass"),
2170d02842fSSascha Wildner     AH_PREDEF ("_CPC",    "Continuous Performance Control", "Returns a list of performance control interfaces"),
218896f2e3aSSascha Wildner     AH_PREDEF ("_CR3",    "Warm/Standby Temperature", "Temperature for a fast low power state"),
2190d02842fSSascha Wildner     AH_PREDEF ("_CRS",    "Current Resource Settings", "Returns the current resource settings for a device"),
2200d02842fSSascha Wildner     AH_PREDEF ("_CRT",    "Critical Temperature", "Returns the shutdown critical temperature"),
2210d02842fSSascha Wildner     AH_PREDEF ("_CSD",    "C-State Dependencies", "Returns a list of C-state dependencies"),
2220d02842fSSascha Wildner     AH_PREDEF ("_CST",    "C-States", "Returns a list of supported C-states"),
2230d02842fSSascha Wildner     AH_PREDEF ("_CWS",    "Clear Wake Alarm Status", "Clear the status of wake alarms"),
2240d02842fSSascha Wildner     AH_PREDEF ("_DBT",    "Debounce Timeout", "Timeout value, Resource Descriptor field"),
2250d02842fSSascha Wildner     AH_PREDEF ("_DCK",    "Dock Present", "Sets docking isolation. Presence indicates device is a docking station"),
2260d02842fSSascha Wildner     AH_PREDEF ("_DCS",    "Display Current Status", "Returns status of the display output device"),
2270d02842fSSascha Wildner     AH_PREDEF ("_DDC",    "Display Data Current", "Returns the EDID for the display output device"),
2280d02842fSSascha Wildner     AH_PREDEF ("_DDN",    "DOS Device Name", "Returns a device logical name"),
2290d02842fSSascha Wildner     AH_PREDEF ("_DEC",    "Decode", "Device decoding type, Resource Descriptor field"),
2300d02842fSSascha Wildner     AH_PREDEF ("_DEP",    "Dependencies", "Returns a list of operation region dependencies"),
2310d02842fSSascha Wildner     AH_PREDEF ("_DGS",    "Display Graphics State", "Return the current state of the output device"),
2320d02842fSSascha Wildner     AH_PREDEF ("_DIS",    "Disable Device", "Disables a device"),
2330d02842fSSascha Wildner     AH_PREDEF ("_DLM",    "Device Lock Mutex", "Defines mutex for OS/AML sharing"),
2340d02842fSSascha Wildner     AH_PREDEF ("_DMA",    "Direct Memory Access", "Returns device current resources for DMA transactions, and resource field"),
2350d02842fSSascha Wildner     AH_PREDEF ("_DOD",    "Display Output Devices", "Enumerate all devices attached to the display adapter"),
2360d02842fSSascha Wildner     AH_PREDEF ("_DOS",    "Disable Output Switching", "Sets the display output switching mode"),
2370d02842fSSascha Wildner     AH_PREDEF ("_DPL",    "Device Selection Polarity", "Polarity of Device Selection signal, Resource Descriptor field"),
2380d02842fSSascha Wildner     AH_PREDEF ("_DRS",    "Drive Strength", "Drive Strength setting for GPIO connection, Resource Descriptor field"),
239066b6da2SSascha Wildner     AH_PREDEF ("_DSD",    "Device-Specific Data", "Returns a list of device property information"),
2400d02842fSSascha Wildner     AH_PREDEF ("_DSM",    "Device-Specific Method", "Executes device-specific functions"),
2410d02842fSSascha Wildner     AH_PREDEF ("_DSS",    "Device Set State", "Sets the display device state"),
2420d02842fSSascha Wildner     AH_PREDEF ("_DSW",    "Device Sleep Wake", "Sets the sleep and wake transition states for a device"),
2430d02842fSSascha Wildner     AH_PREDEF ("_DTI",    "Device Temperature Indication", "Conveys native device temperature to the platform"),
244ef944814SSascha Wildner     AH_PREDEF ("_Exx",    "Edge-Triggered GPE, xx=0x00-0xFF", "Method executed as a result of a general-purpose event"),
2450d02842fSSascha Wildner     AH_PREDEF ("_EC_",    "Embedded Controller", "returns EC offset and query information"),
2460d02842fSSascha Wildner     AH_PREDEF ("_EDL",    "Eject Device List", "Returns a list of devices that are dependent on a device (docking)"),
2470d02842fSSascha Wildner     AH_PREDEF ("_EJD",    "Ejection Dependent Device", "Returns the name of dependent (parent) device (docking)"),
248ef944814SSascha Wildner     AH_PREDEF ("_EJx",    "Eject Device, x=0-9", "Begin or cancel a device ejection request (docking)"),
2490d02842fSSascha Wildner     AH_PREDEF ("_END",    "Endianness", "Endian orientation, Resource Descriptor field"),
2500d02842fSSascha Wildner     AH_PREDEF ("_EVT",    "Event", "Event method for GPIO events"),
2510d02842fSSascha Wildner     AH_PREDEF ("_FDE",    "Floppy Disk Enumerate", "Returns floppy disk configuration information"),
2520d02842fSSascha Wildner     AH_PREDEF ("_FDI",    "Floppy Drive Information", "Returns a floppy drive information block"),
2530d02842fSSascha Wildner     AH_PREDEF ("_FDM",    "Floppy Drive Mode", "Sets a floppy drive speed"),
2540d02842fSSascha Wildner     AH_PREDEF ("_FIF",    "Fan Information", "Returns fan device information"),
2557c9678bcSSascha Wildner     AH_PREDEF ("_FIT",    "Firmware Interface Table", "Returns a list of NFIT structures"),
2560d02842fSSascha Wildner     AH_PREDEF ("_FIX",    "Fixed Register Resource Provider", "Returns a list of devices that implement FADT register blocks"),
2570d02842fSSascha Wildner     AH_PREDEF ("_FLC",    "Flow Control", "Flow control, Resource Descriptor field"),
2580d02842fSSascha Wildner     AH_PREDEF ("_FPS",    "Fan Performance States", "Returns a list of supported fan performance states"),
2590d02842fSSascha Wildner     AH_PREDEF ("_FSL",    "Fan Set Level", "Control method that sets the fan device's speed level (performance state)"),
2600d02842fSSascha Wildner     AH_PREDEF ("_FST",    "Fan Status", "Returns current status information for a fan device"),
2611093ca81SSascha Wildner     AH_PREDEF ("_FUN",    "Function Number", "Resource descriptor field"),
2620d02842fSSascha Wildner     AH_PREDEF ("_GAI",    "Get Averaging Interval", "Returns the power meter averaging interval"),
2630d02842fSSascha Wildner     AH_PREDEF ("_GCP",    "Get Capabilities", "Get device time capabilities"),
2640d02842fSSascha Wildner     AH_PREDEF ("_GHL",    "Get Hardware Limit", "Returns the hardware limit enforced by the power meter"),
2650d02842fSSascha Wildner     AH_PREDEF ("_GL_",    "Global Lock", "OS-defined Global Lock mutex object"),
2660d02842fSSascha Wildner     AH_PREDEF ("_GLK",    "Get Global Lock Requirement", "Returns a device's Global Lock requirement for device access"),
2670d02842fSSascha Wildner     AH_PREDEF ("_GPD",    "Get Post Data", "Returns the value of the VGA device that will be posted at boot"),
2680d02842fSSascha Wildner     AH_PREDEF ("_GPE",    "General Purpose Events", "Predefined scope (\\_GPE) or SCI number for EC"),
2690d02842fSSascha Wildner     AH_PREDEF ("_GRA",    "Granularity", "Address space granularity, Resource Descriptor field"),
2700d02842fSSascha Wildner     AH_PREDEF ("_GRT",    "Get Real Time", "Returns current time-of-day from a time/alarm device"),
2710d02842fSSascha Wildner     AH_PREDEF ("_GSB",    "Global System Interrupt Base", "Returns the GSB for a I/O APIC device"),
2720d02842fSSascha Wildner     AH_PREDEF ("_GTF",    "Get Task File", "Returns a list of ATA commands to restore a drive to default state"),
2730d02842fSSascha Wildner     AH_PREDEF ("_GTM",    "Get Timing Mode", "Returns a list of IDE controller timing information"),
2740d02842fSSascha Wildner     AH_PREDEF ("_GTS",    "Going To Sleep", "Inform AML of pending sleep"),
2750d02842fSSascha Wildner     AH_PREDEF ("_GWS",    "Get Wake Status", "Return status of wake alarms"),
2760d02842fSSascha Wildner     AH_PREDEF ("_HE_",    "High-Edge", "Interrupt triggering, Resource Descriptor field"),
2770d02842fSSascha Wildner     AH_PREDEF ("_HID",    "Hardware ID", "Returns a device's Plug and Play Hardware ID"),
2781093ca81SSascha Wildner     AH_PREDEF ("_HMA",    "Heterogeneous Memory Attributes", "Returns a list of HMAT structures."),
2790d02842fSSascha Wildner     AH_PREDEF ("_HOT",    "Hot Temperature", "Returns the critical temperature for sleep (entry to S4)"),
2800d02842fSSascha Wildner     AH_PREDEF ("_HPP",    "Hot Plug Parameters", "Returns a list of hot-plug information for a PCI device"),
2810d02842fSSascha Wildner     AH_PREDEF ("_HPX",    "Hot Plug Parameter Extensions", "Returns a list of hot-plug information for a PCI device. Supersedes _HPP"),
2820d02842fSSascha Wildner     AH_PREDEF ("_HRV",    "Hardware Revision", "Returns a hardware revision value"),
2830d02842fSSascha Wildner     AH_PREDEF ("_IFT",    "IPMI Interface Type", "See the Intelligent Platform Management Interface Specification"),
2840d02842fSSascha Wildner     AH_PREDEF ("_INI",    "Initialize", "Performs device specific initialization"),
2850d02842fSSascha Wildner     AH_PREDEF ("_INT",    "Interrupts", "Interrupt mask bits, Resource Descriptor field"),
2860d02842fSSascha Wildner     AH_PREDEF ("_IOR",    "I/O Restriction", "Restriction type, Resource Descriptor field"),
2870d02842fSSascha Wildner     AH_PREDEF ("_IRC",    "Inrush Current", "Presence indicates that a device has a significant inrush current draw"),
288ef944814SSascha Wildner     AH_PREDEF ("_Lxx",    "Level-Triggered GPE, xx=0x00-0xFF", "Control method executed as a result of a general-purpose event"),
2890d02842fSSascha Wildner     AH_PREDEF ("_LCK",    "Lock Device", "Locks or unlocks a device (docking)"),
2900d02842fSSascha Wildner     AH_PREDEF ("_LEN",    "Length", "Range length, Resource Descriptor field"),
2910d02842fSSascha Wildner     AH_PREDEF ("_LID",    "Lid Status", "Returns the open/closed status of the lid on a mobile system"),
2920d02842fSSascha Wildner     AH_PREDEF ("_LIN",    "Lines In Use", "Handshake lines, Resource Descriptor field"),
2930d02842fSSascha Wildner     AH_PREDEF ("_LL_",    "Low Level", "Interrupt polarity, Resource Descriptor field"),
2949e1c0880SSascha Wildner     AH_PREDEF ("_LPD",    "Low Power Dependencies", "Returns a list of dependencies for low power idle entry"),
295896f2e3aSSascha Wildner     AH_PREDEF ("_LPI",    "Low Power Idle States", "Returns a list of supported low power idle states"),
2961093ca81SSascha Wildner     AH_PREDEF ("_LSI",    "Label Storage Information", "Returns information about the Label Storage Area associated with the NVDIMM object."),
2971093ca81SSascha Wildner     AH_PREDEF ("_LSR",    "Label Storage Read", "Returns label data from the Label Storage Area of the NVDIMM object."),
2981093ca81SSascha Wildner     AH_PREDEF ("_LSW",    "Label Storage Write", "Writes label data in to the Label Storage Area of the NVDIMM object."),
2990d02842fSSascha Wildner     AH_PREDEF ("_MAF",    "Maximum Address Fixed", "Resource Descriptor field"),
3000d02842fSSascha Wildner     AH_PREDEF ("_MAT",    "Multiple APIC Table Entry", "Returns a list of MADT APIC structure entries"),
3010d02842fSSascha Wildner     AH_PREDEF ("_MAX",    "Maximum Base Address", "Resource Descriptor field"),
3020d02842fSSascha Wildner     AH_PREDEF ("_MBM",    "Memory Bandwidth Monitoring Data", "Returns bandwidth monitoring data for a memory device"),
3030d02842fSSascha Wildner     AH_PREDEF ("_MEM",    "Memory Attributes", "Resource Descriptor field"),
3040d02842fSSascha Wildner     AH_PREDEF ("_MIF",    "Minimum Address Fixed", "Resource Descriptor field"),
3050d02842fSSascha Wildner     AH_PREDEF ("_MIN",    "Minimum Base Address", "Resource Descriptor field"),
3060d02842fSSascha Wildner     AH_PREDEF ("_MLS",    "Multiple Language String", "Returns a device description in multiple languages"),
3070d02842fSSascha Wildner     AH_PREDEF ("_MOD",    "Mode", "Interrupt mode, Resource Descriptor field"),
3080d02842fSSascha Wildner     AH_PREDEF ("_MSG",    "Message", "Sets the system message waiting status indicator"),
3090d02842fSSascha Wildner     AH_PREDEF ("_MSM",    "Memory Set Monitoring", "Sets bandwidth monitoring parameters for a memory device"),
310896f2e3aSSascha Wildner     AH_PREDEF ("_MTL",    "Minimum Throttle Limit", "Returns the minimum throttle limit for a thermal zone"),
3110d02842fSSascha Wildner     AH_PREDEF ("_MTP",    "Memory Type", "Resource Descriptor field"),
31200ffa116SSascha Wildner     AH_PREDEF ("_NBS",    "NVDIMM Boot Status", "Returns information about NVDIMM device’s status at boot time"),
31300ffa116SSascha Wildner     AH_PREDEF ("_NCH",    "NVDIMM Current Health Information", "Returns current health information of the NVDIMM device"),
31400ffa116SSascha Wildner     AH_PREDEF ("_NIC",    "NVDIMM Health Error Injection Capabilities", "Returns health error injection capabilities that are supported by the platform"),
31500ffa116SSascha Wildner     AH_PREDEF ("_NIG",    "NVDIMM Inject Health Error Status","Returns currently active health errors and their error attributes that are injected by _NIH"),
31600ffa116SSascha Wildner     AH_PREDEF ("_NIH",    "NVDIMM Inject/Clear Health Errors", "Returns the status of injecting or clearing Health Errors"),
3170d02842fSSascha Wildner     AH_PREDEF ("_NTT",    "Notification Temperature Threshold", "Returns a threshold for device temperature change that requires platform notification"),
3180d02842fSSascha Wildner     AH_PREDEF ("_OFF",    "Power Off", "Sets a power resource to the off state"),
3190d02842fSSascha Wildner     AH_PREDEF ("_ON_",    "Power On", "Sets a power resource to the on state"),
3200d02842fSSascha Wildner     AH_PREDEF ("_OS_",    "Operating System", "Returns a string that identifies the operating system"),
3210d02842fSSascha Wildner     AH_PREDEF ("_OSC",    "Operating System Capabilities", "Inform AML of host features and capabilities"),
3220d02842fSSascha Wildner     AH_PREDEF ("_OSI",    "Operating System Interfaces", "Returns supported interfaces, behaviors, and features"),
3230d02842fSSascha Wildner     AH_PREDEF ("_OST",    "OSPM Status Indication", "Inform AML of event processing status"),
3240d02842fSSascha Wildner     AH_PREDEF ("_PAI",    "Power Averaging Interval", "Sets the averaging interval for a power meter"),
3250d02842fSSascha Wildner     AH_PREDEF ("_PAR",    "Parity", "Parity bits, Resource Descriptor field"),
3260d02842fSSascha Wildner     AH_PREDEF ("_PCL",    "Power Consumer List", "Returns a list of devices powered by a power source"),
3270d02842fSSascha Wildner     AH_PREDEF ("_PCT",    "Performance Control", "Returns processor performance control and status registers"),
3280d02842fSSascha Wildner     AH_PREDEF ("_PDC",    "Processor Driver Capabilities", "Inform AML of processor driver capabilities"),
3290d02842fSSascha Wildner     AH_PREDEF ("_PDL",    "P-state Depth Limit", "Returns the lowest available performance P-state"),
3300d02842fSSascha Wildner     AH_PREDEF ("_PHA",    "Clock Phase", "Clock phase, Resource Descriptor field"),
3310d02842fSSascha Wildner     AH_PREDEF ("_PIC",    "Interrupt Model", "Inform AML of the interrupt model in use"),
3320d02842fSSascha Wildner     AH_PREDEF ("_PIF",    "Power Source Information", "Returns a Power Source information block"),
3330d02842fSSascha Wildner     AH_PREDEF ("_PIN",    "Pin List", "Pin list, Resource Descriptor field"),
3340d02842fSSascha Wildner     AH_PREDEF ("_PLD",    "Physical Location of Device", "Returns a device's physical location information"),
3350d02842fSSascha Wildner     AH_PREDEF ("_PMC",    "Power Meter Capabilities", "Returns a list of Power Meter capabilities info"),
3360d02842fSSascha Wildner     AH_PREDEF ("_PMD",    "Power Metered Devices", "Returns a list of devices that are measured by the power meter device"),
3370d02842fSSascha Wildner     AH_PREDEF ("_PMM",    "Power Meter Measurement", "Returns the current value of the Power Meter"),
3380d02842fSSascha Wildner     AH_PREDEF ("_POL",    "Polarity", "Interrupt polarity, Resource Descriptor field"),
33934bf0d2dSSascha Wildner     AH_PREDEF ("_PPC",    "Performance Present Capabilities", "Returns a list of the performance states currently supported by the platform"),
3400d02842fSSascha Wildner     AH_PREDEF ("_PPE",    "Polling for Platform Error", "Returns the polling interval to retrieve Corrected Platform Error information"),
3410d02842fSSascha Wildner     AH_PREDEF ("_PPI",    "Pin Configuration", "Resource Descriptor field"),
3420d02842fSSascha Wildner     AH_PREDEF ("_PR",     "Processor", "Predefined scope for processor objects"),
3430d02842fSSascha Wildner     AH_PREDEF ("_PR0",    "Power Resources for D0", "Returns a list of dependent power resources to enter state D0 (fully on)"),
3440d02842fSSascha Wildner     AH_PREDEF ("_PR1",    "Power Resources for D1", "Returns a list of dependent power resources to enter state D1"),
3450d02842fSSascha Wildner     AH_PREDEF ("_PR2",    "Power Resources for D2", "Returns a list of dependent power resources to enter state D2"),
3460d02842fSSascha Wildner     AH_PREDEF ("_PR3",    "Power Resources for D3hot", "Returns a list of dependent power resources to enter state D3hot"),
3470d02842fSSascha Wildner     AH_PREDEF ("_PRE",    "Power Resources for Enumeration", "Returns a list of dependent power resources to enumerate devices on a bus"),
3480d02842fSSascha Wildner     AH_PREDEF ("_PRL",    "Power Source Redundancy List", "Returns a list of power source devices in the same redundancy grouping"),
349896f2e3aSSascha Wildner     AH_PREDEF ("_PRR",    "Power Resource for Reset", "Execute a reset on a device"),
3500d02842fSSascha Wildner     AH_PREDEF ("_PRS",    "Possible Resource Settings", "Returns a list of a device's possible resource settings"),
3510d02842fSSascha Wildner     AH_PREDEF ("_PRT",    "PCI Routing Table", "Returns a list of PCI interrupt mappings"),
3520d02842fSSascha Wildner     AH_PREDEF ("_PRW",    "Power Resources for Wake", "Returns a list of dependent power resources for waking"),
3530d02842fSSascha Wildner     AH_PREDEF ("_PS0",    "Power State 0", "Sets a device's power state to D0 (device fully on)"),
3540d02842fSSascha Wildner     AH_PREDEF ("_PS1",    "Power State 1", "Sets a device's power state to D1"),
3550d02842fSSascha Wildner     AH_PREDEF ("_PS2",    "Power State 2", "Sets a device's power state to D2"),
3560d02842fSSascha Wildner     AH_PREDEF ("_PS3",    "Power State 3", "Sets a device's power state to D3 (device off)"),
3570d02842fSSascha Wildner     AH_PREDEF ("_PSC",    "Power State Current", "Returns a device's current power state"),
3580d02842fSSascha Wildner     AH_PREDEF ("_PSD",    "Power State Dependencies", "Returns processor P-State dependencies"),
3590d02842fSSascha Wildner     AH_PREDEF ("_PSE",    "Power State for Enumeration", "Put a bus into enumeration power mode"),
3600d02842fSSascha Wildner     AH_PREDEF ("_PSL",    "Passive List", "Returns a list of passive cooling device objects"),
3610d02842fSSascha Wildner     AH_PREDEF ("_PSR",    "Power Source", "Returns the power source device currently in use"),
3620d02842fSSascha Wildner     AH_PREDEF ("_PSS",    "Performance Supported States", "Returns a list of supported processor performance states"),
3630d02842fSSascha Wildner     AH_PREDEF ("_PSV",    "Passive Temperature", "Returns the passive trip point temperature"),
3640d02842fSSascha Wildner     AH_PREDEF ("_PSW",    "Power State Wake", "Sets a device's wake function"),
3650d02842fSSascha Wildner     AH_PREDEF ("_PTC",    "Processor Throttling Control", "Returns throttling control and status registers"),
3660d02842fSSascha Wildner     AH_PREDEF ("_PTP",    "Power Trip Points", "Sets trip points for the Power Meter device"),
3670d02842fSSascha Wildner     AH_PREDEF ("_PTS",    "Prepare To Sleep", "Inform the platform of an impending sleep transition"),
3680d02842fSSascha Wildner     AH_PREDEF ("_PUR",    "Processor Utilization Request", "Returns the number of processors that the platform would like to idle"),
3690d02842fSSascha Wildner     AH_PREDEF ("_PXM",    "Device Proximity", "Returns a device's proximity domain identifier"),
370ef944814SSascha Wildner     AH_PREDEF ("_Qxx",    "EC Query, xx=0x00-0xFF", "Embedded Controller query and SMBus Alarm control method"),
3710d02842fSSascha Wildner     AH_PREDEF ("_RBO",    "Register Bit Offset", "Resource Descriptor field"),
3720d02842fSSascha Wildner     AH_PREDEF ("_RBW",    "Register Bit Width", "Resource Descriptor field"),
373896f2e3aSSascha Wildner     AH_PREDEF ("_RDI",    "Resource Dependencies for Idle", "Returns a list of dependencies for idle states"),
3740d02842fSSascha Wildner     AH_PREDEF ("_REG",    "Region Availability", "Inform AML code of an operation region availability change"),
37525ca8c79SSascha Wildner     AH_PREDEF ("_REV",    "Supported Integer Width", "Returns the supported integer width (<= 1: 32 bits only, >=2: both 32 and 64 bits"),
3760d02842fSSascha Wildner     AH_PREDEF ("_RMV",    "Removal Status", "Returns a device's removal ability status (docking)"),
3770d02842fSSascha Wildner     AH_PREDEF ("_RNG",    "Range", "Memory range type, Resource Descriptor field"),
378896f2e3aSSascha Wildner     AH_PREDEF ("_RST",    "Device Reset", "Executes a reset on a device"),
3790d02842fSSascha Wildner     AH_PREDEF ("_ROM",    "Read-Only Memory", "Returns a copy of the ROM data for a display device"),
3800d02842fSSascha Wildner     AH_PREDEF ("_RT_",    "Resource Type", "Resource Descriptor field"),
3810d02842fSSascha Wildner     AH_PREDEF ("_RTV",    "Relative Temperature Values", "Returns temperature value information"),
3820d02842fSSascha Wildner     AH_PREDEF ("_RW_",    "Read-Write Status", "Resource Descriptor field"),
3830d02842fSSascha Wildner     AH_PREDEF ("_RXL",    "Receive Buffer Size", "Serial channel buffer, Resource Descriptor field"),
3840d02842fSSascha Wildner     AH_PREDEF ("_S0_",    "S0 System State", "Returns values to enter the system into the S0 state"),
3850d02842fSSascha Wildner     AH_PREDEF ("_S1_",    "S1 System State", "Returns values to enter the system into the S1 state"),
3860d02842fSSascha Wildner     AH_PREDEF ("_S2_",    "S2 System State", "Returns values to enter the system into the S2 state"),
3870d02842fSSascha Wildner     AH_PREDEF ("_S3_",    "S3 System State", "Returns values to enter the system into the S3 state"),
3880d02842fSSascha Wildner     AH_PREDEF ("_S4_",    "S4 System State", "Returns values to enter the system into the S4 state"),
3890d02842fSSascha Wildner     AH_PREDEF ("_S5_",    "S5 System State", "Returns values to enter the system into the S5 state"),
3900d02842fSSascha Wildner     AH_PREDEF ("_S1D",    "S1 Device State", "Returns the highest D-state supported by a device when in the S1 state"),
3910d02842fSSascha Wildner     AH_PREDEF ("_S2D",    "S2 Device State", "Returns the highest D-state supported by a device when in the S2 state"),
3920d02842fSSascha Wildner     AH_PREDEF ("_S3D",    "S3 Device State", "Returns the highest D-state supported by a device when in the S3 state"),
3930d02842fSSascha Wildner     AH_PREDEF ("_S4D",    "S4 Device State", "Returns the highest D-state supported by a device when in the S4 state"),
3940d02842fSSascha Wildner     AH_PREDEF ("_S0W",    "S0 Device Wake State", "Returns the lowest D-state that the device can wake itself from S0"),
3950d02842fSSascha Wildner     AH_PREDEF ("_S1W",    "S1 Device Wake State", "Returns the lowest D-state for this device that can wake the system from S1"),
3960d02842fSSascha Wildner     AH_PREDEF ("_S2W",    "S2 Device Wake State", "Returns the lowest D-state for this device that can wake the system from S2"),
3970d02842fSSascha Wildner     AH_PREDEF ("_S3W",    "S3 Device Wake State", "Returns the lowest D-state for this device that can wake the system from S3"),
3980d02842fSSascha Wildner     AH_PREDEF ("_S4W",    "S4 Device Wake State", "Returns the lowest D-state for this device that can wake the system from S4"),
3990d02842fSSascha Wildner     AH_PREDEF ("_SB_",    "System Bus", "Predefined scope for device and bus objects"),
400c5a52fd3SSascha Wildner     AH_PREDEF ("_SBA",    "SM Bus Alert information", "Returns info on an SMBus alert"),
401c5a52fd3SSascha Wildner     AH_PREDEF ("_SBI",    "SM Bus General information", "Returns info on an SMBus segment"),
402c5a52fd3SSascha Wildner     AH_PREDEF ("_SBR",    "SM Bus Data read", "Reads Byte, Word, or Block data from an SMBus segment"),
403c5a52fd3SSascha Wildner     AH_PREDEF ("_SBT",    "SM Bus Data transfer", "Performs data transfer to/from an SMBus segment. Implements ProcessCall protocol"),
404c5a52fd3SSascha Wildner     AH_PREDEF ("_SBW",    "SM Bus Data write", "Writes Byte, Word, or Block data to an SMBus segment"),
4050d02842fSSascha Wildner     AH_PREDEF ("_SBS",    "Smart Battery Subsystem", "Returns the subsystem configuration"),
4060d02842fSSascha Wildner     AH_PREDEF ("_SCP",    "Set Cooling Policy", "Sets the cooling policy (active or passive)"),
4070d02842fSSascha Wildner     AH_PREDEF ("_SDD",    "Set Device Data", "Sets data for a SATA device"),
4080d02842fSSascha Wildner     AH_PREDEF ("_SEG",    "PCI Segment", "Returns a device's PCI Segment Group number"),
4090d02842fSSascha Wildner     AH_PREDEF ("_SHL",    "Set Hardware Limit", "Sets the hardware limit enforced by the Power Meter"),
41000ffa116SSascha Wildner     AH_PREDEF ("_SHR",    "Shareable", "Interrupt share status, Resource Descriptor field"),
4110d02842fSSascha Wildner     AH_PREDEF ("_SI_",    "System Indicators", "Predefined scope"),
4120d02842fSSascha Wildner     AH_PREDEF ("_SIZ",    "Size", "DMA transfer size, Resource Descriptor field"),
4130d02842fSSascha Wildner     AH_PREDEF ("_SLI",    "System Locality Information", "Returns a list of NUMA system localities"),
4140d02842fSSascha Wildner     AH_PREDEF ("_SLV",    "Slave Mode", "Mode setting, Resource Descriptor field"),
4150d02842fSSascha Wildner     AH_PREDEF ("_SPD",    "Set Post Device", "Sets which video device will be posted at boot"),
4160d02842fSSascha Wildner     AH_PREDEF ("_SPE",    "Speed", "Connection speed, Resource Descriptor field"),
4170d02842fSSascha Wildner     AH_PREDEF ("_SRS",    "Set Resource Settings", "Sets a device's resource allocation"),
4180d02842fSSascha Wildner     AH_PREDEF ("_SRT",    "Set Real Time", "Sets the current time for a time/alarm device"),
4190d02842fSSascha Wildner     AH_PREDEF ("_SRV",    "IPMI Spec Revision", "See the Intelligent Platform Management Interface Specification"),
4200d02842fSSascha Wildner     AH_PREDEF ("_SST",    "System Status", "Sets the system status indicator"),
4210d02842fSSascha Wildner     AH_PREDEF ("_STA",    "Status", "Returns the current status of a Device or Power Resource"),
4220d02842fSSascha Wildner     AH_PREDEF ("_STB",    "Stop Bits", "Serial channel stop bits, Resource Descriptor field"),
4230d02842fSSascha Wildner     AH_PREDEF ("_STM",    "Set Timing Mode", "Sets an IDE controller transfer timings"),
4240d02842fSSascha Wildner     AH_PREDEF ("_STP",    "Set Expired Timer Wake Policy", "Sets expired timer policies of the wake alarm device"),
4250d02842fSSascha Wildner     AH_PREDEF ("_STR",    "Description String", "Returns a device's description string"),
4260d02842fSSascha Wildner     AH_PREDEF ("_STV",    "Set Timer Value", "Set timer values of the wake alarm device"),
4270d02842fSSascha Wildner     AH_PREDEF ("_SUB",    "Subsystem ID", "Returns the subsystem ID for a device"),
4280d02842fSSascha Wildner     AH_PREDEF ("_SUN",    "Slot User Number", "Returns the slot unique ID number"),
4290d02842fSSascha Wildner     AH_PREDEF ("_SWS",    "System Wake Source", "Returns the source event that caused the system to wake"),
430ef944814SSascha Wildner     AH_PREDEF ("_T_x",    "Emitted by ASL Compiler, x=0-9, A-Z", "Reserved for use by ASL compilers"),
4310d02842fSSascha Wildner     AH_PREDEF ("_TC1",    "Thermal Constant 1", "Returns TC1 for the passive cooling formula"),
4320d02842fSSascha Wildner     AH_PREDEF ("_TC2",    "Thermal Constant 2", "Returns TC2 for the passive cooling formula"),
4330d02842fSSascha Wildner     AH_PREDEF ("_TDL",    "T-State Depth Limit", "Returns the _TSS entry number of the lowest power throttling state"),
434896f2e3aSSascha Wildner     AH_PREDEF ("_TFP",    "Thermal Fast Sampling Period", "Returns the sampling period for passive cooling"),
4350d02842fSSascha Wildner     AH_PREDEF ("_TIP",    "Expired Timer Wake Policy", "Returns timer policies of the wake alarm device"),
4360d02842fSSascha Wildner     AH_PREDEF ("_TIV",    "Timer Values", "Returns remaining time of the wake alarm device"),
4370d02842fSSascha Wildner     AH_PREDEF ("_TMP",    "Temperature", "Returns a thermal zone's current temperature"),
4380d02842fSSascha Wildner     AH_PREDEF ("_TPC",    "Throttling Present Capabilities", "Returns the current number of supported throttling states"),
4390d02842fSSascha Wildner     AH_PREDEF ("_TPT",    "Trip Point Temperature", "Inform AML that a device's embedded temperature sensor has crossed a temperature trip point"),
4400d02842fSSascha Wildner     AH_PREDEF ("_TRA",    "Translation", "Address translation offset, Resource Descriptor field"),
4410d02842fSSascha Wildner     AH_PREDEF ("_TRS",    "Translation Sparse", "Sparse/dense flag, Resource Descriptor field"),
4420d02842fSSascha Wildner     AH_PREDEF ("_TRT",    "Thermal Relationship Table", "Returns thermal relationships between platform devices"),
4430d02842fSSascha Wildner     AH_PREDEF ("_TSD",    "Throttling State Dependencies", "Returns a list of T-state dependencies"),
4440d02842fSSascha Wildner     AH_PREDEF ("_TSF",    "Type-Specific Flags", "Resource Descriptor field"),
445896f2e3aSSascha Wildner     AH_PREDEF ("_TSN",    "Thermal Sensor Device", "Returns a reference to a thermal sensor"),
4460d02842fSSascha Wildner     AH_PREDEF ("_TSP",    "Thermal Sampling Period", "Returns the thermal sampling period for passive cooling"),
4470d02842fSSascha Wildner     AH_PREDEF ("_TSS",    "Throttling Supported States", "Returns supported throttling state information"),
4480d02842fSSascha Wildner     AH_PREDEF ("_TST",    "Temperature Sensor Threshold", "Returns the minimum separation for a device's temperature trip points"),
4490d02842fSSascha Wildner     AH_PREDEF ("_TTP",    "Translation Type", "Translation/static flag, Resource Descriptor field"),
4500d02842fSSascha Wildner     AH_PREDEF ("_TTS",    "Transition To State", "Inform AML of an S-state transition"),
4510d02842fSSascha Wildner     AH_PREDEF ("_TXL",    "Transmit Buffer Size", "Serial Channel buffer, Resource Descriptor field"),
4520d02842fSSascha Wildner     AH_PREDEF ("_TYP",    "Type", "DMA channel type (speed), Resource Descriptor field"),
4530d02842fSSascha Wildner     AH_PREDEF ("_TZ_",    "Thermal Zone", "Predefined scope: ACPI 1.0"),
4540d02842fSSascha Wildner     AH_PREDEF ("_TZD",    "Thermal Zone Devices", "Returns a list of device names associated with a Thermal Zone"),
4550d02842fSSascha Wildner     AH_PREDEF ("_TZM",    "Thermal Zone Member", "Returns a reference to the thermal zone of which a device is a member"),
4560d02842fSSascha Wildner     AH_PREDEF ("_TZP",    "Thermal Zone Polling", "Returns a Thermal zone's polling frequency"),
4570d02842fSSascha Wildner     AH_PREDEF ("_UID",    "Unique ID", "Return a device's unique persistent ID"),
4580d02842fSSascha Wildner     AH_PREDEF ("_UPC",    "USB Port Capabilities", "Returns a list of USB port capabilities"),
4590d02842fSSascha Wildner     AH_PREDEF ("_UPD",    "User Presence Detect", "Returns user detection information"),
4600d02842fSSascha Wildner     AH_PREDEF ("_UPP",    "User Presence Polling", "Returns the recommended user presence polling interval"),
4611093ca81SSascha Wildner     AH_PREDEF ("_VAL",    "Pin Configuration Value", "Resource Descriptor field"),
4620d02842fSSascha Wildner     AH_PREDEF ("_VEN",    "Vendor Data", "Resource Descriptor field"),
4630d02842fSSascha Wildner     AH_PREDEF ("_VPO",    "Video Post Options", "Returns the implemented video post options"),
464ef944814SSascha Wildner     AH_PREDEF ("_Wxx",    "Wake Event, xx=0x00-0xFF", "Method executed as a result of a wake event"),
4657c9678bcSSascha Wildner     AH_PREDEF ("_WAK",    "Wake", "Inform AML that the system has just awakened"),
4667c9678bcSSascha Wildner     AH_PREDEF ("_WPC",    "Wireless Power Calibration", "Calibrate power and notify wireless device"),
4677c9678bcSSascha Wildner     AH_PREDEF ("_WPP",    "Wireless Power Polling", "Get recommended polling interval"),
4680d02842fSSascha Wildner     AH_PREDEF (NULL,      NULL, NULL)
4690d02842fSSascha Wildner };
470d4972a9cSSascha Wildner 
471d4972a9cSSascha Wildner 
472d4972a9cSSascha Wildner /*******************************************************************************
473d4972a9cSSascha Wildner  *
474d4972a9cSSascha Wildner  * FUNCTION:    AcpiAhMatchPredefinedName
475d4972a9cSSascha Wildner  *
476d4972a9cSSascha Wildner  * PARAMETERS:  Nameseg                 - Predefined name string
477d4972a9cSSascha Wildner  *
478d4972a9cSSascha Wildner  * RETURN:      ID info struct. NULL if Nameseg not found
479d4972a9cSSascha Wildner  *
480d4972a9cSSascha Wildner  * DESCRIPTION: Lookup a predefined name.
481d4972a9cSSascha Wildner  *
482d4972a9cSSascha Wildner  ******************************************************************************/
483d4972a9cSSascha Wildner 
484d4972a9cSSascha Wildner const AH_PREDEFINED_NAME *
AcpiAhMatchPredefinedName(char * Nameseg)485d4972a9cSSascha Wildner AcpiAhMatchPredefinedName (
486d4972a9cSSascha Wildner     char                        *Nameseg)
487d4972a9cSSascha Wildner {
488d4972a9cSSascha Wildner     const AH_PREDEFINED_NAME    *Info;
489d4972a9cSSascha Wildner 
490d4972a9cSSascha Wildner 
4911093ca81SSascha Wildner     /* Nameseg must start with an underscore */
4921093ca81SSascha Wildner 
4931093ca81SSascha Wildner     if (*Nameseg != '_')
4941093ca81SSascha Wildner     {
4951093ca81SSascha Wildner         return (NULL);
4961093ca81SSascha Wildner     }
4971093ca81SSascha Wildner 
4981093ca81SSascha Wildner     /* Search for a match in the predefined name table */
4991093ca81SSascha Wildner 
500d4972a9cSSascha Wildner     for (Info = AslPredefinedInfo; Info->Name; Info++)
501d4972a9cSSascha Wildner     {
502c1776041SSascha Wildner         if (ACPI_COMPARE_NAMESEG (Nameseg, Info->Name))
503d4972a9cSSascha Wildner         {
504d4972a9cSSascha Wildner             return (Info);
505d4972a9cSSascha Wildner         }
506d4972a9cSSascha Wildner     }
507d4972a9cSSascha Wildner 
508d4972a9cSSascha Wildner     return (NULL);
509d4972a9cSSascha Wildner }
510