xref: /freebsd/sys/contrib/dev/acpica/common/ahpredef.c (revision 58308fadece25ae4c12bd2f4dce3d73d9c23be43)
1f38b0f21SJung-uk Kim /******************************************************************************
2f38b0f21SJung-uk Kim  *
3f38b0f21SJung-uk Kim  * Module Name: ahpredef - Table of all known ACPI predefined names
4f38b0f21SJung-uk Kim  *
5f38b0f21SJung-uk Kim  *****************************************************************************/
6f38b0f21SJung-uk Kim 
70d84335fSJung-uk Kim /******************************************************************************
80d84335fSJung-uk Kim  *
90d84335fSJung-uk Kim  * 1. Copyright Notice
100d84335fSJung-uk Kim  *
11*58308fadSJung-uk Kim  * Some or all of this work - Copyright (c) 1999 - 2025, Intel Corp.
12f38b0f21SJung-uk Kim  * All rights reserved.
13f38b0f21SJung-uk Kim  *
140d84335fSJung-uk Kim  * 2. License
150d84335fSJung-uk Kim  *
160d84335fSJung-uk Kim  * 2.1. This is your license from Intel Corp. under its intellectual property
170d84335fSJung-uk Kim  * rights. You may have additional license terms from the party that provided
180d84335fSJung-uk Kim  * you this software, covering your right to use that party's intellectual
190d84335fSJung-uk Kim  * property rights.
200d84335fSJung-uk Kim  *
210d84335fSJung-uk Kim  * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
220d84335fSJung-uk Kim  * copy of the source code appearing in this file ("Covered Code") an
230d84335fSJung-uk Kim  * irrevocable, perpetual, worldwide license under Intel's copyrights in the
240d84335fSJung-uk Kim  * base code distributed originally by Intel ("Original Intel Code") to copy,
250d84335fSJung-uk Kim  * make derivatives, distribute, use and display any portion of the Covered
260d84335fSJung-uk Kim  * Code in any form, with the right to sublicense such rights; and
270d84335fSJung-uk Kim  *
280d84335fSJung-uk Kim  * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
290d84335fSJung-uk Kim  * license (with the right to sublicense), under only those claims of Intel
300d84335fSJung-uk Kim  * patents that are infringed by the Original Intel Code, to make, use, sell,
310d84335fSJung-uk Kim  * offer to sell, and import the Covered Code and derivative works thereof
320d84335fSJung-uk Kim  * solely to the minimum extent necessary to exercise the above copyright
330d84335fSJung-uk Kim  * license, and in no event shall the patent license extend to any additions
340d84335fSJung-uk Kim  * to or modifications of the Original Intel Code. No other license or right
350d84335fSJung-uk Kim  * is granted directly or by implication, estoppel or otherwise;
360d84335fSJung-uk Kim  *
370d84335fSJung-uk Kim  * The above copyright and patent license is granted only if the following
380d84335fSJung-uk Kim  * conditions are met:
390d84335fSJung-uk Kim  *
400d84335fSJung-uk Kim  * 3. Conditions
410d84335fSJung-uk Kim  *
420d84335fSJung-uk Kim  * 3.1. Redistribution of Source with Rights to Further Distribute Source.
430d84335fSJung-uk Kim  * Redistribution of source code of any substantial portion of the Covered
440d84335fSJung-uk Kim  * Code or modification with rights to further distribute source must include
450d84335fSJung-uk Kim  * the above Copyright Notice, the above License, this list of Conditions,
460d84335fSJung-uk Kim  * and the following Disclaimer and Export Compliance provision. In addition,
470d84335fSJung-uk Kim  * Licensee must cause all Covered Code to which Licensee contributes to
480d84335fSJung-uk Kim  * contain a file documenting the changes Licensee made to create that Covered
490d84335fSJung-uk Kim  * Code and the date of any change. Licensee must include in that file the
500d84335fSJung-uk Kim  * documentation of any changes made by any predecessor Licensee. Licensee
510d84335fSJung-uk Kim  * must include a prominent statement that the modification is derived,
520d84335fSJung-uk Kim  * directly or indirectly, from Original Intel Code.
530d84335fSJung-uk Kim  *
540d84335fSJung-uk Kim  * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
550d84335fSJung-uk Kim  * Redistribution of source code of any substantial portion of the Covered
560d84335fSJung-uk Kim  * Code or modification without rights to further distribute source must
570d84335fSJung-uk Kim  * include the following Disclaimer and Export Compliance provision in the
580d84335fSJung-uk Kim  * documentation and/or other materials provided with distribution. In
590d84335fSJung-uk Kim  * addition, Licensee may not authorize further sublicense of source of any
600d84335fSJung-uk Kim  * portion of the Covered Code, and must include terms to the effect that the
610d84335fSJung-uk Kim  * license from Licensee to its licensee is limited to the intellectual
620d84335fSJung-uk Kim  * property embodied in the software Licensee provides to its licensee, and
630d84335fSJung-uk Kim  * not to intellectual property embodied in modifications its licensee may
640d84335fSJung-uk Kim  * make.
650d84335fSJung-uk Kim  *
660d84335fSJung-uk Kim  * 3.3. Redistribution of Executable. Redistribution in executable form of any
670d84335fSJung-uk Kim  * substantial portion of the Covered Code or modification must reproduce the
680d84335fSJung-uk Kim  * above Copyright Notice, and the following Disclaimer and Export Compliance
690d84335fSJung-uk Kim  * provision in the documentation and/or other materials provided with the
700d84335fSJung-uk Kim  * distribution.
710d84335fSJung-uk Kim  *
720d84335fSJung-uk Kim  * 3.4. Intel retains all right, title, and interest in and to the Original
730d84335fSJung-uk Kim  * Intel Code.
740d84335fSJung-uk Kim  *
750d84335fSJung-uk Kim  * 3.5. Neither the name Intel nor any other trademark owned or controlled by
760d84335fSJung-uk Kim  * Intel shall be used in advertising or otherwise to promote the sale, use or
770d84335fSJung-uk Kim  * other dealings in products derived from or relating to the Covered Code
780d84335fSJung-uk Kim  * without prior written authorization from Intel.
790d84335fSJung-uk Kim  *
800d84335fSJung-uk Kim  * 4. Disclaimer and Export Compliance
810d84335fSJung-uk Kim  *
820d84335fSJung-uk Kim  * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
830d84335fSJung-uk Kim  * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
840d84335fSJung-uk Kim  * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
850d84335fSJung-uk Kim  * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
860d84335fSJung-uk Kim  * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
870d84335fSJung-uk Kim  * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
880d84335fSJung-uk Kim  * PARTICULAR PURPOSE.
890d84335fSJung-uk Kim  *
900d84335fSJung-uk Kim  * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
910d84335fSJung-uk Kim  * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
920d84335fSJung-uk Kim  * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
930d84335fSJung-uk Kim  * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
940d84335fSJung-uk Kim  * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
950d84335fSJung-uk Kim  * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
960d84335fSJung-uk Kim  * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
970d84335fSJung-uk Kim  * LIMITED REMEDY.
980d84335fSJung-uk Kim  *
990d84335fSJung-uk Kim  * 4.3. Licensee shall not export, either directly or indirectly, any of this
1000d84335fSJung-uk Kim  * software or system incorporating such software without first obtaining any
1010d84335fSJung-uk Kim  * required license or other approval from the U. S. Department of Commerce or
1020d84335fSJung-uk Kim  * any other agency or department of the United States Government. In the
1030d84335fSJung-uk Kim  * event Licensee exports any such software from the United States or
1040d84335fSJung-uk Kim  * re-exports any such software from a foreign destination, Licensee shall
1050d84335fSJung-uk Kim  * ensure that the distribution and export/re-export of the software is in
1060d84335fSJung-uk Kim  * compliance with all laws, regulations, orders, or other restrictions of the
1070d84335fSJung-uk Kim  * U.S. Export Administration Regulations. Licensee agrees that neither it nor
1080d84335fSJung-uk Kim  * any of its subsidiaries will export/re-export any technical data, process,
1090d84335fSJung-uk Kim  * software, or service, directly or indirectly, to any country for which the
1100d84335fSJung-uk Kim  * United States government or any agency thereof requires an export license,
1110d84335fSJung-uk Kim  * other governmental approval, or letter of assurance, without first obtaining
1120d84335fSJung-uk Kim  * such license, approval or letter.
1130d84335fSJung-uk Kim  *
1140d84335fSJung-uk Kim  *****************************************************************************
1150d84335fSJung-uk Kim  *
1160d84335fSJung-uk Kim  * Alternatively, you may choose to be licensed under the terms of the
1170d84335fSJung-uk Kim  * following license:
1180d84335fSJung-uk Kim  *
119f38b0f21SJung-uk Kim  * Redistribution and use in source and binary forms, with or without
120f38b0f21SJung-uk Kim  * modification, are permitted provided that the following conditions
121f38b0f21SJung-uk Kim  * are met:
122f38b0f21SJung-uk Kim  * 1. Redistributions of source code must retain the above copyright
123f38b0f21SJung-uk Kim  *    notice, this list of conditions, and the following disclaimer,
124f38b0f21SJung-uk Kim  *    without modification.
125f38b0f21SJung-uk Kim  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
126f38b0f21SJung-uk Kim  *    substantially similar to the "NO WARRANTY" disclaimer below
127f38b0f21SJung-uk Kim  *    ("Disclaimer") and any redistribution must be conditioned upon
128f38b0f21SJung-uk Kim  *    including a substantially similar Disclaimer requirement for further
129f38b0f21SJung-uk Kim  *    binary redistribution.
130f38b0f21SJung-uk Kim  * 3. Neither the names of the above-listed copyright holders nor the names
131f38b0f21SJung-uk Kim  *    of any contributors may be used to endorse or promote products derived
132f38b0f21SJung-uk Kim  *    from this software without specific prior written permission.
133f38b0f21SJung-uk Kim  *
1340d84335fSJung-uk Kim  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1350d84335fSJung-uk Kim  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1360d84335fSJung-uk Kim  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1370d84335fSJung-uk Kim  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1380d84335fSJung-uk Kim  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1390d84335fSJung-uk Kim  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1400d84335fSJung-uk Kim  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1410d84335fSJung-uk Kim  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1420d84335fSJung-uk Kim  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1430d84335fSJung-uk Kim  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1440d84335fSJung-uk Kim  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1450d84335fSJung-uk Kim  *
1460d84335fSJung-uk Kim  * Alternatively, you may choose to be licensed under the terms of the
147f38b0f21SJung-uk Kim  * GNU General Public License ("GPL") version 2 as published by the Free
148f38b0f21SJung-uk Kim  * Software Foundation.
149f38b0f21SJung-uk Kim  *
1500d84335fSJung-uk Kim  *****************************************************************************/
151f38b0f21SJung-uk Kim 
152f38b0f21SJung-uk Kim #include <contrib/dev/acpica/include/acpi.h>
153f38b0f21SJung-uk Kim #include <contrib/dev/acpica/include/accommon.h>
154f38b0f21SJung-uk Kim 
155313a0c13SJung-uk Kim #define _COMPONENT          ACPI_UTILITIES
156313a0c13SJung-uk Kim         ACPI_MODULE_NAME    ("ahpredef")
157313a0c13SJung-uk Kim 
158f38b0f21SJung-uk Kim /*
159f38b0f21SJung-uk Kim  * iASL only needs a partial table (short descriptions only).
160f38b0f21SJung-uk Kim  * AcpiHelp needs the full table.
161f38b0f21SJung-uk Kim  */
162f38b0f21SJung-uk Kim #ifdef ACPI_ASL_COMPILER
163f38b0f21SJung-uk Kim #define AH_PREDEF(Name, ShortDesc, LongDesc) {Name, ShortDesc}
164f38b0f21SJung-uk Kim #else
165f38b0f21SJung-uk Kim #define AH_PREDEF(Name, ShortDesc, LongDesc) {Name, ShortDesc, LongDesc}
166f38b0f21SJung-uk Kim #endif
167f38b0f21SJung-uk Kim 
168f38b0f21SJung-uk Kim /*
169f38b0f21SJung-uk Kim  * Predefined ACPI names, with short description and return value.
170f38b0f21SJung-uk Kim  * This table was extracted directly from the ACPI specification.
171f38b0f21SJung-uk Kim  */
172f38b0f21SJung-uk Kim const AH_PREDEFINED_NAME    AslPredefinedInfo[] =
173f38b0f21SJung-uk Kim {
17490b566fdSJung-uk Kim     AH_PREDEF ("_ACx",    "Active Cooling, x=0-9", "Returns the active cooling policy threshold values"),
1759c7c683cSJung-uk Kim     AH_PREDEF ("_ADR",    "Address", "Returns address of a device on parent bus, and resource field"),
176f38b0f21SJung-uk Kim     AH_PREDEF ("_AEI",    "ACPI Event Interrupts", "Returns a list of GPIO events to be used as ACPI events"),
177f38b0f21SJung-uk Kim     AH_PREDEF ("_ALC",    "Ambient Light Chromaticity", "Returns the ambient light color chromaticity"),
178f38b0f21SJung-uk Kim     AH_PREDEF ("_ALI",    "Ambient Light Illuminance", "Returns the ambient light brightness"),
179f38b0f21SJung-uk Kim     AH_PREDEF ("_ALN",    "Alignment", "Base alignment, Resource Descriptor field"),
180f38b0f21SJung-uk Kim     AH_PREDEF ("_ALP",    "Ambient Light Polling", "Returns the ambient light sensor polling frequency"),
181f38b0f21SJung-uk Kim     AH_PREDEF ("_ALR",    "Ambient Light Response", "Returns the ambient light brightness to display brightness mappings"),
182f38b0f21SJung-uk Kim     AH_PREDEF ("_ALT",    "Ambient Light Temperature", "Returns the ambient light color temperature"),
18390b566fdSJung-uk Kim     AH_PREDEF ("_ALx",    "Active List, x=0-9", "Returns a list of active cooling device objects"),
184f38b0f21SJung-uk Kim     AH_PREDEF ("_ART",    "Active Cooling Relationship Table", "Returns thermal relationship information between platform devices and fan devices"),
185f38b0f21SJung-uk Kim     AH_PREDEF ("_ASI",    "Address Space Id", "Resource Descriptor field"),
186f38b0f21SJung-uk Kim     AH_PREDEF ("_ASZ",    "Access Size", "Resource Descriptor field"),
187f38b0f21SJung-uk Kim     AH_PREDEF ("_ATT",    "Type-Specific Attribute", "Resource Descriptor field"),
188f38b0f21SJung-uk Kim     AH_PREDEF ("_BAS",    "Base Address", "Range base address, Resource Descriptor field"),
189f38b0f21SJung-uk Kim     AH_PREDEF ("_BBN",    "BIOS Bus Number", "Returns the PCI bus number returned by the BIOS"),
190f38b0f21SJung-uk Kim     AH_PREDEF ("_BCL",    "Brightness Control Levels", "Returns a list of supported brightness control levels"),
191f38b0f21SJung-uk Kim     AH_PREDEF ("_BCM",    "Brightness Control Method", "Sets the brightness level of the display device"),
192f38b0f21SJung-uk Kim     AH_PREDEF ("_BCT",    "Battery Charge Time", "Returns time remaining to complete charging battery"),
193f38b0f21SJung-uk Kim     AH_PREDEF ("_BDN",    "BIOS Dock Name", "Returns the Dock ID returned by the BIOS"),
194f38b0f21SJung-uk Kim     AH_PREDEF ("_BFS",    "Back From Sleep", "Inform AML of a wake event"),
195f38b0f21SJung-uk Kim     AH_PREDEF ("_BIF",    "Battery Information", "Returns a Control Method Battery information block"),
196f38b0f21SJung-uk Kim     AH_PREDEF ("_BIX",    "Battery Information Extended", "Returns a Control Method Battery extended information block"),
197f38b0f21SJung-uk Kim     AH_PREDEF ("_BLT",    "Battery Level Threshold", "Set battery level threshold preferences"),
198f38b0f21SJung-uk Kim     AH_PREDEF ("_BM_",    "Bus Master", "Resource Descriptor field"),
199f38b0f21SJung-uk Kim     AH_PREDEF ("_BMA",    "Battery Measurement Averaging Interval", "Sets battery measurement averaging interval"),
200f38b0f21SJung-uk Kim     AH_PREDEF ("_BMC",    "Battery Maintenance Control", "Sets battery maintenance and control features"),
201f38b0f21SJung-uk Kim     AH_PREDEF ("_BMD",    "Battery Maintenance Data", "Returns battery maintenance, control, and state data"),
202f38b0f21SJung-uk Kim     AH_PREDEF ("_BMS",    "Battery Measurement Sampling Time", "Sets the battery measurement sampling time"),
203cfd1ed46SJung-uk Kim     AH_PREDEF ("_BPC",    "Battery Power Characteristics", "Returns static values used to configure power threshold support in the platform firmware"),
204cfd1ed46SJung-uk Kim     AH_PREDEF ("_BPS",    "Battery Power State", "Returns the power delivery capabilities of the battery at the present time"),
205cfd1ed46SJung-uk Kim     AH_PREDEF ("_BPT",    "Battery Power Threshold", "Set a relative battery peak power capability change threshold"),
206f38b0f21SJung-uk Kim     AH_PREDEF ("_BQC",    "Brightness Query Current", "Returns the current display brightness level"),
207f38b0f21SJung-uk Kim     AH_PREDEF ("_BST",    "Battery Status", "Returns a Control Method Battery status block"),
208a371a5fdSJung-uk Kim     AH_PREDEF ("_BTH",    "Battery Throttle Limit", "Thermal limit for charging and discharging"),
209f38b0f21SJung-uk Kim     AH_PREDEF ("_BTM",    "Battery Time", "Returns the battery runtime"),
210f38b0f21SJung-uk Kim     AH_PREDEF ("_BTP",    "Battery Trip Point", "Sets a Control Method Battery trip point"),
211f38b0f21SJung-uk Kim     AH_PREDEF ("_CBA",    "Configuration Base Address", "Sets the base address for a PCI Express host bridge"),
212cfd1ed46SJung-uk Kim     AH_PREDEF ("_CBR",    "CXL Host Bridge Register Info", "Get the memory location of CXL Host Bridge Registers"),
213313a0c13SJung-uk Kim     AH_PREDEF ("_CCA",    "Cache Coherency Attribute", "Returns a device's support level for cache coherency"),
214f38b0f21SJung-uk Kim     AH_PREDEF ("_CDM",    "Clock Domain", "Returns a logical processor's clock domain identifier"),
215f38b0f21SJung-uk Kim     AH_PREDEF ("_CID",    "Compatible ID", "Returns a device's Plug and Play Compatible ID list"),
216f38b0f21SJung-uk Kim     AH_PREDEF ("_CLS",    "Class Code", "Returns PCI class code and subclass"),
217f38b0f21SJung-uk Kim     AH_PREDEF ("_CPC",    "Continuous Performance Control", "Returns a list of performance control interfaces"),
218a371a5fdSJung-uk Kim     AH_PREDEF ("_CR3",    "Warm/Standby Temperature", "Temperature for a fast low power state"),
219f38b0f21SJung-uk Kim     AH_PREDEF ("_CRS",    "Current Resource Settings", "Returns the current resource settings for a device"),
220f38b0f21SJung-uk Kim     AH_PREDEF ("_CRT",    "Critical Temperature", "Returns the shutdown critical temperature"),
221f38b0f21SJung-uk Kim     AH_PREDEF ("_CSD",    "C-State Dependencies", "Returns a list of C-state dependencies"),
222f38b0f21SJung-uk Kim     AH_PREDEF ("_CST",    "C-States", "Returns a list of supported C-states"),
223f38b0f21SJung-uk Kim     AH_PREDEF ("_CWS",    "Clear Wake Alarm Status", "Clear the status of wake alarms"),
224f38b0f21SJung-uk Kim     AH_PREDEF ("_DBT",    "Debounce Timeout", "Timeout value, Resource Descriptor field"),
225f38b0f21SJung-uk Kim     AH_PREDEF ("_DCK",    "Dock Present", "Sets docking isolation. Presence indicates device is a docking station"),
226f38b0f21SJung-uk Kim     AH_PREDEF ("_DCS",    "Display Current Status", "Returns status of the display output device"),
227f38b0f21SJung-uk Kim     AH_PREDEF ("_DDC",    "Display Data Current", "Returns the EDID for the display output device"),
228f38b0f21SJung-uk Kim     AH_PREDEF ("_DDN",    "DOS Device Name", "Returns a device logical name"),
229f38b0f21SJung-uk Kim     AH_PREDEF ("_DEC",    "Decode", "Device decoding type, Resource Descriptor field"),
230f38b0f21SJung-uk Kim     AH_PREDEF ("_DEP",    "Dependencies", "Returns a list of operation region dependencies"),
231f38b0f21SJung-uk Kim     AH_PREDEF ("_DGS",    "Display Graphics State", "Return the current state of the output device"),
232f38b0f21SJung-uk Kim     AH_PREDEF ("_DIS",    "Disable Device", "Disables a device"),
233f38b0f21SJung-uk Kim     AH_PREDEF ("_DLM",    "Device Lock Mutex", "Defines mutex for OS/AML sharing"),
2349c7c683cSJung-uk Kim     AH_PREDEF ("_DMA",    "Direct Memory Access", "Returns device current resources for DMA transactions, and resource field"),
235f38b0f21SJung-uk Kim     AH_PREDEF ("_DOD",    "Display Output Devices", "Enumerate all devices attached to the display adapter"),
236f38b0f21SJung-uk Kim     AH_PREDEF ("_DOS",    "Disable Output Switching", "Sets the display output switching mode"),
23707c64d74SJung-uk Kim     AH_PREDEF ("_DSC",    "Deepest State for Configuration", "Returns the deepest D-state of the device to the OSPM"),
238f38b0f21SJung-uk Kim     AH_PREDEF ("_DPL",    "Device Selection Polarity", "Polarity of Device Selection signal, Resource Descriptor field"),
239f38b0f21SJung-uk Kim     AH_PREDEF ("_DRS",    "Drive Strength", "Drive Strength setting for GPIO connection, Resource Descriptor field"),
240313a0c13SJung-uk Kim     AH_PREDEF ("_DSD",    "Device-Specific Data", "Returns a list of device property information"),
241f38b0f21SJung-uk Kim     AH_PREDEF ("_DSM",    "Device-Specific Method", "Executes device-specific functions"),
242f38b0f21SJung-uk Kim     AH_PREDEF ("_DSS",    "Device Set State", "Sets the display device state"),
243f38b0f21SJung-uk Kim     AH_PREDEF ("_DSW",    "Device Sleep Wake", "Sets the sleep and wake transition states for a device"),
244f38b0f21SJung-uk Kim     AH_PREDEF ("_DTI",    "Device Temperature Indication", "Conveys native device temperature to the platform"),
24590b566fdSJung-uk Kim     AH_PREDEF ("_Exx",    "Edge-Triggered GPE, xx=0x00-0xFF", "Method executed as a result of a general-purpose event"),
246f38b0f21SJung-uk Kim     AH_PREDEF ("_EC_",    "Embedded Controller", "returns EC offset and query information"),
247f38b0f21SJung-uk Kim     AH_PREDEF ("_EDL",    "Eject Device List", "Returns a list of devices that are dependent on a device (docking)"),
248f38b0f21SJung-uk Kim     AH_PREDEF ("_EJD",    "Ejection Dependent Device", "Returns the name of dependent (parent) device (docking)"),
24990b566fdSJung-uk Kim     AH_PREDEF ("_EJx",    "Eject Device, x=0-9", "Begin or cancel a device ejection request (docking)"),
250f38b0f21SJung-uk Kim     AH_PREDEF ("_END",    "Endianness", "Endian orientation, Resource Descriptor field"),
251f38b0f21SJung-uk Kim     AH_PREDEF ("_EVT",    "Event", "Event method for GPIO events"),
252f38b0f21SJung-uk Kim     AH_PREDEF ("_FDE",    "Floppy Disk Enumerate", "Returns floppy disk configuration information"),
253f38b0f21SJung-uk Kim     AH_PREDEF ("_FDI",    "Floppy Drive Information", "Returns a floppy drive information block"),
254f38b0f21SJung-uk Kim     AH_PREDEF ("_FDM",    "Floppy Drive Mode", "Sets a floppy drive speed"),
255f38b0f21SJung-uk Kim     AH_PREDEF ("_FIF",    "Fan Information", "Returns fan device information"),
256f8146b88SJung-uk Kim     AH_PREDEF ("_FIT",    "Firmware Interface Table", "Returns a list of NFIT structures"),
257f38b0f21SJung-uk Kim     AH_PREDEF ("_FIX",    "Fixed Register Resource Provider", "Returns a list of devices that implement FADT register blocks"),
258f38b0f21SJung-uk Kim     AH_PREDEF ("_FLC",    "Flow Control", "Flow control, Resource Descriptor field"),
259f38b0f21SJung-uk Kim     AH_PREDEF ("_FPS",    "Fan Performance States", "Returns a list of supported fan performance states"),
260f38b0f21SJung-uk Kim     AH_PREDEF ("_FSL",    "Fan Set Level", "Control method that sets the fan device's speed level (performance state)"),
261f38b0f21SJung-uk Kim     AH_PREDEF ("_FST",    "Fan Status", "Returns current status information for a fan device"),
262af051161SJung-uk Kim     AH_PREDEF ("_FUN",    "Function Number", "Resource descriptor field"),
263f38b0f21SJung-uk Kim     AH_PREDEF ("_GAI",    "Get Averaging Interval", "Returns the power meter averaging interval"),
264f38b0f21SJung-uk Kim     AH_PREDEF ("_GCP",    "Get Capabilities", "Get device time capabilities"),
265f38b0f21SJung-uk Kim     AH_PREDEF ("_GHL",    "Get Hardware Limit", "Returns the hardware limit enforced by the power meter"),
266f38b0f21SJung-uk Kim     AH_PREDEF ("_GL_",    "Global Lock", "OS-defined Global Lock mutex object"),
267f38b0f21SJung-uk Kim     AH_PREDEF ("_GLK",    "Get Global Lock Requirement", "Returns a device's Global Lock requirement for device access"),
268f38b0f21SJung-uk Kim     AH_PREDEF ("_GPD",    "Get Post Data", "Returns the value of the VGA device that will be posted at boot"),
269f38b0f21SJung-uk Kim     AH_PREDEF ("_GPE",    "General Purpose Events", "Predefined scope (\\_GPE) or SCI number for EC"),
270f38b0f21SJung-uk Kim     AH_PREDEF ("_GRA",    "Granularity", "Address space granularity, Resource Descriptor field"),
271f38b0f21SJung-uk Kim     AH_PREDEF ("_GRT",    "Get Real Time", "Returns current time-of-day from a time/alarm device"),
272f38b0f21SJung-uk Kim     AH_PREDEF ("_GSB",    "Global System Interrupt Base", "Returns the GSB for a I/O APIC device"),
273f38b0f21SJung-uk Kim     AH_PREDEF ("_GTF",    "Get Task File", "Returns a list of ATA commands to restore a drive to default state"),
274f38b0f21SJung-uk Kim     AH_PREDEF ("_GTM",    "Get Timing Mode", "Returns a list of IDE controller timing information"),
275f38b0f21SJung-uk Kim     AH_PREDEF ("_GTS",    "Going To Sleep", "Inform AML of pending sleep"),
276f38b0f21SJung-uk Kim     AH_PREDEF ("_GWS",    "Get Wake Status", "Return status of wake alarms"),
277f38b0f21SJung-uk Kim     AH_PREDEF ("_HE_",    "High-Edge", "Interrupt triggering, Resource Descriptor field"),
278f38b0f21SJung-uk Kim     AH_PREDEF ("_HID",    "Hardware ID", "Returns a device's Plug and Play Hardware ID"),
279af051161SJung-uk Kim     AH_PREDEF ("_HMA",    "Heterogeneous Memory Attributes", "Returns a list of HMAT structures."),
280f38b0f21SJung-uk Kim     AH_PREDEF ("_HOT",    "Hot Temperature", "Returns the critical temperature for sleep (entry to S4)"),
281f38b0f21SJung-uk Kim     AH_PREDEF ("_HPP",    "Hot Plug Parameters", "Returns a list of hot-plug information for a PCI device"),
282f38b0f21SJung-uk Kim     AH_PREDEF ("_HPX",    "Hot Plug Parameter Extensions", "Returns a list of hot-plug information for a PCI device. Supersedes _HPP"),
283f38b0f21SJung-uk Kim     AH_PREDEF ("_HRV",    "Hardware Revision", "Returns a hardware revision value"),
284f38b0f21SJung-uk Kim     AH_PREDEF ("_IFT",    "IPMI Interface Type", "See the Intelligent Platform Management Interface Specification"),
285f38b0f21SJung-uk Kim     AH_PREDEF ("_INI",    "Initialize", "Performs device specific initialization"),
286f38b0f21SJung-uk Kim     AH_PREDEF ("_INT",    "Interrupts", "Interrupt mask bits, Resource Descriptor field"),
287f38b0f21SJung-uk Kim     AH_PREDEF ("_IOR",    "I/O Restriction", "Restriction type, Resource Descriptor field"),
288f38b0f21SJung-uk Kim     AH_PREDEF ("_IRC",    "Inrush Current", "Presence indicates that a device has a significant inrush current draw"),
28990b566fdSJung-uk Kim     AH_PREDEF ("_Lxx",    "Level-Triggered GPE, xx=0x00-0xFF", "Control method executed as a result of a general-purpose event"),
290f38b0f21SJung-uk Kim     AH_PREDEF ("_LCK",    "Lock Device", "Locks or unlocks a device (docking)"),
291f38b0f21SJung-uk Kim     AH_PREDEF ("_LEN",    "Length", "Range length, Resource Descriptor field"),
292f38b0f21SJung-uk Kim     AH_PREDEF ("_LID",    "Lid Status", "Returns the open/closed status of the lid on a mobile system"),
293f38b0f21SJung-uk Kim     AH_PREDEF ("_LIN",    "Lines In Use", "Handshake lines, Resource Descriptor field"),
294f38b0f21SJung-uk Kim     AH_PREDEF ("_LL_",    "Low Level", "Interrupt polarity, Resource Descriptor field"),
295313a0c13SJung-uk Kim     AH_PREDEF ("_LPD",    "Low Power Dependencies", "Returns a list of dependencies for low power idle entry"),
296a371a5fdSJung-uk Kim     AH_PREDEF ("_LPI",    "Low Power Idle States", "Returns a list of supported low power idle states"),
297af051161SJung-uk Kim     AH_PREDEF ("_LSI",    "Label Storage Information", "Returns information about the Label Storage Area associated with the NVDIMM object."),
298af051161SJung-uk Kim     AH_PREDEF ("_LSR",    "Label Storage Read", "Returns label data from the Label Storage Area of the NVDIMM object."),
299af051161SJung-uk Kim     AH_PREDEF ("_LSW",    "Label Storage Write", "Writes label data in to the Label Storage Area of the NVDIMM object."),
300f38b0f21SJung-uk Kim     AH_PREDEF ("_MAF",    "Maximum Address Fixed", "Resource Descriptor field"),
301f38b0f21SJung-uk Kim     AH_PREDEF ("_MAT",    "Multiple APIC Table Entry", "Returns a list of MADT APIC structure entries"),
302f38b0f21SJung-uk Kim     AH_PREDEF ("_MAX",    "Maximum Base Address", "Resource Descriptor field"),
303f38b0f21SJung-uk Kim     AH_PREDEF ("_MBM",    "Memory Bandwidth Monitoring Data", "Returns bandwidth monitoring data for a memory device"),
304f38b0f21SJung-uk Kim     AH_PREDEF ("_MEM",    "Memory Attributes", "Resource Descriptor field"),
305f38b0f21SJung-uk Kim     AH_PREDEF ("_MIF",    "Minimum Address Fixed", "Resource Descriptor field"),
306f38b0f21SJung-uk Kim     AH_PREDEF ("_MIN",    "Minimum Base Address", "Resource Descriptor field"),
307f38b0f21SJung-uk Kim     AH_PREDEF ("_MLS",    "Multiple Language String", "Returns a device description in multiple languages"),
308f38b0f21SJung-uk Kim     AH_PREDEF ("_MOD",    "Mode", "Interrupt mode, Resource Descriptor field"),
309f38b0f21SJung-uk Kim     AH_PREDEF ("_MSG",    "Message", "Sets the system message waiting status indicator"),
310f38b0f21SJung-uk Kim     AH_PREDEF ("_MSM",    "Memory Set Monitoring", "Sets bandwidth monitoring parameters for a memory device"),
311a371a5fdSJung-uk Kim     AH_PREDEF ("_MTL",    "Minimum Throttle Limit", "Returns the minimum throttle limit for a thermal zone"),
312f38b0f21SJung-uk Kim     AH_PREDEF ("_MTP",    "Memory Type", "Resource Descriptor field"),
313cd6518c7SJung-uk Kim     AH_PREDEF ("_NBS",    "NVDIMM Boot Status", "Returns information about NVDIMM device’s status at boot time"),
314cd6518c7SJung-uk Kim     AH_PREDEF ("_NCH",    "NVDIMM Current Health Information", "Returns current health information of the NVDIMM device"),
315cd6518c7SJung-uk Kim     AH_PREDEF ("_NIC",    "NVDIMM Health Error Injection Capabilities", "Returns health error injection capabilities that are supported by the platform"),
316cd6518c7SJung-uk Kim     AH_PREDEF ("_NIG",    "NVDIMM Inject Health Error Status","Returns currently active health errors and their error attributes that are injected by _NIH"),
317cd6518c7SJung-uk Kim     AH_PREDEF ("_NIH",    "NVDIMM Inject/Clear Health Errors", "Returns the status of injecting or clearing Health Errors"),
318f38b0f21SJung-uk Kim     AH_PREDEF ("_NTT",    "Notification Temperature Threshold", "Returns a threshold for device temperature change that requires platform notification"),
319f38b0f21SJung-uk Kim     AH_PREDEF ("_OFF",    "Power Off", "Sets a power resource to the off state"),
320f38b0f21SJung-uk Kim     AH_PREDEF ("_ON_",    "Power On", "Sets a power resource to the on state"),
321f38b0f21SJung-uk Kim     AH_PREDEF ("_OS_",    "Operating System", "Returns a string that identifies the operating system"),
322f38b0f21SJung-uk Kim     AH_PREDEF ("_OSC",    "Operating System Capabilities", "Inform AML of host features and capabilities"),
323f38b0f21SJung-uk Kim     AH_PREDEF ("_OSI",    "Operating System Interfaces", "Returns supported interfaces, behaviors, and features"),
324f38b0f21SJung-uk Kim     AH_PREDEF ("_OST",    "OSPM Status Indication", "Inform AML of event processing status"),
325f38b0f21SJung-uk Kim     AH_PREDEF ("_PAI",    "Power Averaging Interval", "Sets the averaging interval for a power meter"),
326f38b0f21SJung-uk Kim     AH_PREDEF ("_PAR",    "Parity", "Parity bits, Resource Descriptor field"),
327f38b0f21SJung-uk Kim     AH_PREDEF ("_PCL",    "Power Consumer List", "Returns a list of devices powered by a power source"),
328f38b0f21SJung-uk Kim     AH_PREDEF ("_PCT",    "Performance Control", "Returns processor performance control and status registers"),
329f38b0f21SJung-uk Kim     AH_PREDEF ("_PDC",    "Processor Driver Capabilities", "Inform AML of processor driver capabilities"),
330f38b0f21SJung-uk Kim     AH_PREDEF ("_PDL",    "P-state Depth Limit", "Returns the lowest available performance P-state"),
331f38b0f21SJung-uk Kim     AH_PREDEF ("_PHA",    "Clock Phase", "Clock phase, Resource Descriptor field"),
332f38b0f21SJung-uk Kim     AH_PREDEF ("_PIC",    "Interrupt Model", "Inform AML of the interrupt model in use"),
333f38b0f21SJung-uk Kim     AH_PREDEF ("_PIF",    "Power Source Information", "Returns a Power Source information block"),
334f38b0f21SJung-uk Kim     AH_PREDEF ("_PIN",    "Pin List", "Pin list, Resource Descriptor field"),
3351df130f1SJung-uk Kim     AH_PREDEF ("_PLD",    "Physical Location of Device", "Returns a device's physical location information"),
336f38b0f21SJung-uk Kim     AH_PREDEF ("_PMC",    "Power Meter Capabilities", "Returns a list of Power Meter capabilities info"),
337f38b0f21SJung-uk Kim     AH_PREDEF ("_PMD",    "Power Metered Devices", "Returns a list of devices that are measured by the power meter device"),
338f38b0f21SJung-uk Kim     AH_PREDEF ("_PMM",    "Power Meter Measurement", "Returns the current value of the Power Meter"),
339f38b0f21SJung-uk Kim     AH_PREDEF ("_POL",    "Polarity", "Interrupt polarity, Resource Descriptor field"),
340a371a5fdSJung-uk Kim     AH_PREDEF ("_PPC",    "Performance Present Capabilities", "Returns a list of the performance states currently supported by the platform"),
341f38b0f21SJung-uk Kim     AH_PREDEF ("_PPE",    "Polling for Platform Error", "Returns the polling interval to retrieve Corrected Platform Error information"),
342f38b0f21SJung-uk Kim     AH_PREDEF ("_PPI",    "Pin Configuration", "Resource Descriptor field"),
343f38b0f21SJung-uk Kim     AH_PREDEF ("_PR",     "Processor", "Predefined scope for processor objects"),
344f38b0f21SJung-uk Kim     AH_PREDEF ("_PR0",    "Power Resources for D0", "Returns a list of dependent power resources to enter state D0 (fully on)"),
345f38b0f21SJung-uk Kim     AH_PREDEF ("_PR1",    "Power Resources for D1", "Returns a list of dependent power resources to enter state D1"),
346f38b0f21SJung-uk Kim     AH_PREDEF ("_PR2",    "Power Resources for D2", "Returns a list of dependent power resources to enter state D2"),
347f38b0f21SJung-uk Kim     AH_PREDEF ("_PR3",    "Power Resources for D3hot", "Returns a list of dependent power resources to enter state D3hot"),
348f38b0f21SJung-uk Kim     AH_PREDEF ("_PRE",    "Power Resources for Enumeration", "Returns a list of dependent power resources to enumerate devices on a bus"),
349f38b0f21SJung-uk Kim     AH_PREDEF ("_PRL",    "Power Source Redundancy List", "Returns a list of power source devices in the same redundancy grouping"),
350a371a5fdSJung-uk Kim     AH_PREDEF ("_PRR",    "Power Resource for Reset", "Execute a reset on a device"),
351f38b0f21SJung-uk Kim     AH_PREDEF ("_PRS",    "Possible Resource Settings", "Returns a list of a device's possible resource settings"),
352f38b0f21SJung-uk Kim     AH_PREDEF ("_PRT",    "PCI Routing Table", "Returns a list of PCI interrupt mappings"),
353f38b0f21SJung-uk Kim     AH_PREDEF ("_PRW",    "Power Resources for Wake", "Returns a list of dependent power resources for waking"),
354f38b0f21SJung-uk Kim     AH_PREDEF ("_PS0",    "Power State 0", "Sets a device's power state to D0 (device fully on)"),
355f38b0f21SJung-uk Kim     AH_PREDEF ("_PS1",    "Power State 1", "Sets a device's power state to D1"),
356f38b0f21SJung-uk Kim     AH_PREDEF ("_PS2",    "Power State 2", "Sets a device's power state to D2"),
357f38b0f21SJung-uk Kim     AH_PREDEF ("_PS3",    "Power State 3", "Sets a device's power state to D3 (device off)"),
358f38b0f21SJung-uk Kim     AH_PREDEF ("_PSC",    "Power State Current", "Returns a device's current power state"),
359f38b0f21SJung-uk Kim     AH_PREDEF ("_PSD",    "Power State Dependencies", "Returns processor P-State dependencies"),
360f38b0f21SJung-uk Kim     AH_PREDEF ("_PSE",    "Power State for Enumeration", "Put a bus into enumeration power mode"),
361f38b0f21SJung-uk Kim     AH_PREDEF ("_PSL",    "Passive List", "Returns a list of passive cooling device objects"),
362f38b0f21SJung-uk Kim     AH_PREDEF ("_PSR",    "Power Source", "Returns the power source device currently in use"),
363f38b0f21SJung-uk Kim     AH_PREDEF ("_PSS",    "Performance Supported States", "Returns a list of supported processor performance states"),
364f38b0f21SJung-uk Kim     AH_PREDEF ("_PSV",    "Passive Temperature", "Returns the passive trip point temperature"),
365f38b0f21SJung-uk Kim     AH_PREDEF ("_PSW",    "Power State Wake", "Sets a device's wake function"),
366f38b0f21SJung-uk Kim     AH_PREDEF ("_PTC",    "Processor Throttling Control", "Returns throttling control and status registers"),
367f38b0f21SJung-uk Kim     AH_PREDEF ("_PTP",    "Power Trip Points", "Sets trip points for the Power Meter device"),
368f38b0f21SJung-uk Kim     AH_PREDEF ("_PTS",    "Prepare To Sleep", "Inform the platform of an impending sleep transition"),
369f38b0f21SJung-uk Kim     AH_PREDEF ("_PUR",    "Processor Utilization Request", "Returns the number of processors that the platform would like to idle"),
370f38b0f21SJung-uk Kim     AH_PREDEF ("_PXM",    "Device Proximity", "Returns a device's proximity domain identifier"),
37190b566fdSJung-uk Kim     AH_PREDEF ("_Qxx",    "EC Query, xx=0x00-0xFF", "Embedded Controller query and SMBus Alarm control method"),
372f38b0f21SJung-uk Kim     AH_PREDEF ("_RBO",    "Register Bit Offset", "Resource Descriptor field"),
373f38b0f21SJung-uk Kim     AH_PREDEF ("_RBW",    "Register Bit Width", "Resource Descriptor field"),
374a371a5fdSJung-uk Kim     AH_PREDEF ("_RDI",    "Resource Dependencies for Idle", "Returns a list of dependencies for idle states"),
375f38b0f21SJung-uk Kim     AH_PREDEF ("_REG",    "Region Availability", "Inform AML code of an operation region availability change"),
3765ef50723SJung-uk Kim     AH_PREDEF ("_REV",    "Supported Integer Width", "Returns the supported integer width (<= 1: 32 bits only, >=2: both 32 and 64 bits"),
377f38b0f21SJung-uk Kim     AH_PREDEF ("_RMV",    "Removal Status", "Returns a device's removal ability status (docking)"),
378f38b0f21SJung-uk Kim     AH_PREDEF ("_RNG",    "Range", "Memory range type, Resource Descriptor field"),
379a371a5fdSJung-uk Kim     AH_PREDEF ("_RST",    "Device Reset", "Executes a reset on a device"),
380f38b0f21SJung-uk Kim     AH_PREDEF ("_ROM",    "Read-Only Memory", "Returns a copy of the ROM data for a display device"),
381f38b0f21SJung-uk Kim     AH_PREDEF ("_RT_",    "Resource Type", "Resource Descriptor field"),
382f38b0f21SJung-uk Kim     AH_PREDEF ("_RTV",    "Relative Temperature Values", "Returns temperature value information"),
383f38b0f21SJung-uk Kim     AH_PREDEF ("_RW_",    "Read-Write Status", "Resource Descriptor field"),
384f38b0f21SJung-uk Kim     AH_PREDEF ("_RXL",    "Receive Buffer Size", "Serial channel buffer, Resource Descriptor field"),
385f38b0f21SJung-uk Kim     AH_PREDEF ("_S0_",    "S0 System State", "Returns values to enter the system into the S0 state"),
386f38b0f21SJung-uk Kim     AH_PREDEF ("_S1_",    "S1 System State", "Returns values to enter the system into the S1 state"),
387f38b0f21SJung-uk Kim     AH_PREDEF ("_S2_",    "S2 System State", "Returns values to enter the system into the S2 state"),
388f38b0f21SJung-uk Kim     AH_PREDEF ("_S3_",    "S3 System State", "Returns values to enter the system into the S3 state"),
389f38b0f21SJung-uk Kim     AH_PREDEF ("_S4_",    "S4 System State", "Returns values to enter the system into the S4 state"),
390f38b0f21SJung-uk Kim     AH_PREDEF ("_S5_",    "S5 System State", "Returns values to enter the system into the S5 state"),
391f38b0f21SJung-uk Kim     AH_PREDEF ("_S1D",    "S1 Device State", "Returns the highest D-state supported by a device when in the S1 state"),
392f38b0f21SJung-uk Kim     AH_PREDEF ("_S2D",    "S2 Device State", "Returns the highest D-state supported by a device when in the S2 state"),
393f38b0f21SJung-uk Kim     AH_PREDEF ("_S3D",    "S3 Device State", "Returns the highest D-state supported by a device when in the S3 state"),
394f38b0f21SJung-uk Kim     AH_PREDEF ("_S4D",    "S4 Device State", "Returns the highest D-state supported by a device when in the S4 state"),
395f38b0f21SJung-uk Kim     AH_PREDEF ("_S0W",    "S0 Device Wake State", "Returns the lowest D-state that the device can wake itself from S0"),
396f38b0f21SJung-uk Kim     AH_PREDEF ("_S1W",    "S1 Device Wake State", "Returns the lowest D-state for this device that can wake the system from S1"),
397f38b0f21SJung-uk Kim     AH_PREDEF ("_S2W",    "S2 Device Wake State", "Returns the lowest D-state for this device that can wake the system from S2"),
398f38b0f21SJung-uk Kim     AH_PREDEF ("_S3W",    "S3 Device Wake State", "Returns the lowest D-state for this device that can wake the system from S3"),
399f38b0f21SJung-uk Kim     AH_PREDEF ("_S4W",    "S4 Device Wake State", "Returns the lowest D-state for this device that can wake the system from S4"),
400f38b0f21SJung-uk Kim     AH_PREDEF ("_SB_",    "System Bus", "Predefined scope for device and bus objects"),
401f15e9afbSJung-uk Kim     AH_PREDEF ("_SBA",    "SM Bus Alert information", "Returns info on an SMBus alert"),
402f15e9afbSJung-uk Kim     AH_PREDEF ("_SBI",    "SM Bus General information", "Returns info on an SMBus segment"),
403f15e9afbSJung-uk Kim     AH_PREDEF ("_SBR",    "SM Bus Data read", "Reads Byte, Word, or Block data from an SMBus segment"),
404f15e9afbSJung-uk Kim     AH_PREDEF ("_SBT",    "SM Bus Data transfer", "Performs data transfer to/from an SMBus segment. Implements ProcessCall protocol"),
405f15e9afbSJung-uk Kim     AH_PREDEF ("_SBW",    "SM Bus Data write", "Writes Byte, Word, or Block data to an SMBus segment"),
406f38b0f21SJung-uk Kim     AH_PREDEF ("_SBS",    "Smart Battery Subsystem", "Returns the subsystem configuration"),
407f38b0f21SJung-uk Kim     AH_PREDEF ("_SCP",    "Set Cooling Policy", "Sets the cooling policy (active or passive)"),
408f38b0f21SJung-uk Kim     AH_PREDEF ("_SDD",    "Set Device Data", "Sets data for a SATA device"),
409f38b0f21SJung-uk Kim     AH_PREDEF ("_SEG",    "PCI Segment", "Returns a device's PCI Segment Group number"),
410f38b0f21SJung-uk Kim     AH_PREDEF ("_SHL",    "Set Hardware Limit", "Sets the hardware limit enforced by the Power Meter"),
411cd6518c7SJung-uk Kim     AH_PREDEF ("_SHR",    "Shareable", "Interrupt share status, Resource Descriptor field"),
412f38b0f21SJung-uk Kim     AH_PREDEF ("_SI_",    "System Indicators", "Predefined scope"),
413f38b0f21SJung-uk Kim     AH_PREDEF ("_SIZ",    "Size", "DMA transfer size, Resource Descriptor field"),
414f38b0f21SJung-uk Kim     AH_PREDEF ("_SLI",    "System Locality Information", "Returns a list of NUMA system localities"),
415f38b0f21SJung-uk Kim     AH_PREDEF ("_SLV",    "Slave Mode", "Mode setting, Resource Descriptor field"),
416f38b0f21SJung-uk Kim     AH_PREDEF ("_SPD",    "Set Post Device", "Sets which video device will be posted at boot"),
417f38b0f21SJung-uk Kim     AH_PREDEF ("_SPE",    "Speed", "Connection speed, Resource Descriptor field"),
418f38b0f21SJung-uk Kim     AH_PREDEF ("_SRS",    "Set Resource Settings", "Sets a device's resource allocation"),
419f38b0f21SJung-uk Kim     AH_PREDEF ("_SRT",    "Set Real Time", "Sets the current time for a time/alarm device"),
420f38b0f21SJung-uk Kim     AH_PREDEF ("_SRV",    "IPMI Spec Revision", "See the Intelligent Platform Management Interface Specification"),
421f38b0f21SJung-uk Kim     AH_PREDEF ("_SST",    "System Status", "Sets the system status indicator"),
422f38b0f21SJung-uk Kim     AH_PREDEF ("_STA",    "Status", "Returns the current status of a Device or Power Resource"),
423f38b0f21SJung-uk Kim     AH_PREDEF ("_STB",    "Stop Bits", "Serial channel stop bits, Resource Descriptor field"),
424f38b0f21SJung-uk Kim     AH_PREDEF ("_STM",    "Set Timing Mode", "Sets an IDE controller transfer timings"),
425f38b0f21SJung-uk Kim     AH_PREDEF ("_STP",    "Set Expired Timer Wake Policy", "Sets expired timer policies of the wake alarm device"),
426f38b0f21SJung-uk Kim     AH_PREDEF ("_STR",    "Description String", "Returns a device's description string"),
427f38b0f21SJung-uk Kim     AH_PREDEF ("_STV",    "Set Timer Value", "Set timer values of the wake alarm device"),
428f38b0f21SJung-uk Kim     AH_PREDEF ("_SUB",    "Subsystem ID", "Returns the subsystem ID for a device"),
429f38b0f21SJung-uk Kim     AH_PREDEF ("_SUN",    "Slot User Number", "Returns the slot unique ID number"),
430f38b0f21SJung-uk Kim     AH_PREDEF ("_SWS",    "System Wake Source", "Returns the source event that caused the system to wake"),
43190b566fdSJung-uk Kim     AH_PREDEF ("_T_x",    "Emitted by ASL Compiler, x=0-9, A-Z", "Reserved for use by ASL compilers"),
432f38b0f21SJung-uk Kim     AH_PREDEF ("_TC1",    "Thermal Constant 1", "Returns TC1 for the passive cooling formula"),
433f38b0f21SJung-uk Kim     AH_PREDEF ("_TC2",    "Thermal Constant 2", "Returns TC2 for the passive cooling formula"),
434f38b0f21SJung-uk Kim     AH_PREDEF ("_TDL",    "T-State Depth Limit", "Returns the _TSS entry number of the lowest power throttling state"),
435a371a5fdSJung-uk Kim     AH_PREDEF ("_TFP",    "Thermal Fast Sampling Period", "Returns the sampling period for passive cooling"),
436f38b0f21SJung-uk Kim     AH_PREDEF ("_TIP",    "Expired Timer Wake Policy", "Returns timer policies of the wake alarm device"),
437f38b0f21SJung-uk Kim     AH_PREDEF ("_TIV",    "Timer Values", "Returns remaining time of the wake alarm device"),
438f38b0f21SJung-uk Kim     AH_PREDEF ("_TMP",    "Temperature", "Returns a thermal zone's current temperature"),
439f38b0f21SJung-uk Kim     AH_PREDEF ("_TPC",    "Throttling Present Capabilities", "Returns the current number of supported throttling states"),
440f38b0f21SJung-uk Kim     AH_PREDEF ("_TPT",    "Trip Point Temperature", "Inform AML that a device's embedded temperature sensor has crossed a temperature trip point"),
441f38b0f21SJung-uk Kim     AH_PREDEF ("_TRA",    "Translation", "Address translation offset, Resource Descriptor field"),
442f38b0f21SJung-uk Kim     AH_PREDEF ("_TRS",    "Translation Sparse", "Sparse/dense flag, Resource Descriptor field"),
443f38b0f21SJung-uk Kim     AH_PREDEF ("_TRT",    "Thermal Relationship Table", "Returns thermal relationships between platform devices"),
444f38b0f21SJung-uk Kim     AH_PREDEF ("_TSD",    "Throttling State Dependencies", "Returns a list of T-state dependencies"),
445f38b0f21SJung-uk Kim     AH_PREDEF ("_TSF",    "Type-Specific Flags", "Resource Descriptor field"),
446a371a5fdSJung-uk Kim     AH_PREDEF ("_TSN",    "Thermal Sensor Device", "Returns a reference to a thermal sensor"),
447f38b0f21SJung-uk Kim     AH_PREDEF ("_TSP",    "Thermal Sampling Period", "Returns the thermal sampling period for passive cooling"),
448f38b0f21SJung-uk Kim     AH_PREDEF ("_TSS",    "Throttling Supported States", "Returns supported throttling state information"),
449f38b0f21SJung-uk Kim     AH_PREDEF ("_TST",    "Temperature Sensor Threshold", "Returns the minimum separation for a device's temperature trip points"),
450f38b0f21SJung-uk Kim     AH_PREDEF ("_TTP",    "Translation Type", "Translation/static flag, Resource Descriptor field"),
451f38b0f21SJung-uk Kim     AH_PREDEF ("_TTS",    "Transition To State", "Inform AML of an S-state transition"),
452f38b0f21SJung-uk Kim     AH_PREDEF ("_TXL",    "Transmit Buffer Size", "Serial Channel buffer, Resource Descriptor field"),
453f38b0f21SJung-uk Kim     AH_PREDEF ("_TYP",    "Type", "DMA channel type (speed), Resource Descriptor field"),
454f38b0f21SJung-uk Kim     AH_PREDEF ("_TZ_",    "Thermal Zone", "Predefined scope: ACPI 1.0"),
455f38b0f21SJung-uk Kim     AH_PREDEF ("_TZD",    "Thermal Zone Devices", "Returns a list of device names associated with a Thermal Zone"),
456f38b0f21SJung-uk Kim     AH_PREDEF ("_TZM",    "Thermal Zone Member", "Returns a reference to the thermal zone of which a device is a member"),
457f38b0f21SJung-uk Kim     AH_PREDEF ("_TZP",    "Thermal Zone Polling", "Returns a Thermal zone's polling frequency"),
458f38b0f21SJung-uk Kim     AH_PREDEF ("_UID",    "Unique ID", "Return a device's unique persistent ID"),
459f38b0f21SJung-uk Kim     AH_PREDEF ("_UPC",    "USB Port Capabilities", "Returns a list of USB port capabilities"),
460f38b0f21SJung-uk Kim     AH_PREDEF ("_UPD",    "User Presence Detect", "Returns user detection information"),
461f38b0f21SJung-uk Kim     AH_PREDEF ("_UPP",    "User Presence Polling", "Returns the recommended user presence polling interval"),
462af051161SJung-uk Kim     AH_PREDEF ("_VAL",    "Pin Configuration Value", "Resource Descriptor field"),
463f38b0f21SJung-uk Kim     AH_PREDEF ("_VEN",    "Vendor Data", "Resource Descriptor field"),
464f38b0f21SJung-uk Kim     AH_PREDEF ("_VPO",    "Video Post Options", "Returns the implemented video post options"),
46590b566fdSJung-uk Kim     AH_PREDEF ("_Wxx",    "Wake Event, xx=0x00-0xFF", "Method executed as a result of a wake event"),
466f8146b88SJung-uk Kim     AH_PREDEF ("_WAK",    "Wake", "Inform AML that the system has just awakened"),
467f8146b88SJung-uk Kim     AH_PREDEF ("_WPC",    "Wireless Power Calibration", "Calibrate power and notify wireless device"),
468f8146b88SJung-uk Kim     AH_PREDEF ("_WPP",    "Wireless Power Polling", "Get recommended polling interval"),
469f38b0f21SJung-uk Kim     AH_PREDEF (NULL,      NULL, NULL)
470f38b0f21SJung-uk Kim };
471313a0c13SJung-uk Kim 
472313a0c13SJung-uk Kim 
473313a0c13SJung-uk Kim /*******************************************************************************
474313a0c13SJung-uk Kim  *
475313a0c13SJung-uk Kim  * FUNCTION:    AcpiAhMatchPredefinedName
476313a0c13SJung-uk Kim  *
477313a0c13SJung-uk Kim  * PARAMETERS:  Nameseg                 - Predefined name string
478313a0c13SJung-uk Kim  *
479313a0c13SJung-uk Kim  * RETURN:      ID info struct. NULL if Nameseg not found
480313a0c13SJung-uk Kim  *
481313a0c13SJung-uk Kim  * DESCRIPTION: Lookup a predefined name.
482313a0c13SJung-uk Kim  *
483313a0c13SJung-uk Kim  ******************************************************************************/
484313a0c13SJung-uk Kim 
485313a0c13SJung-uk Kim const AH_PREDEFINED_NAME *
AcpiAhMatchPredefinedName(char * Nameseg)486313a0c13SJung-uk Kim AcpiAhMatchPredefinedName (
487313a0c13SJung-uk Kim     char                        *Nameseg)
488313a0c13SJung-uk Kim {
489313a0c13SJung-uk Kim     const AH_PREDEFINED_NAME    *Info;
490313a0c13SJung-uk Kim 
491313a0c13SJung-uk Kim 
4925f9b24faSJung-uk Kim     /* Nameseg must start with an underscore */
4935f9b24faSJung-uk Kim 
4945f9b24faSJung-uk Kim     if (*Nameseg != '_')
4955f9b24faSJung-uk Kim     {
4965f9b24faSJung-uk Kim         return (NULL);
4975f9b24faSJung-uk Kim     }
4985f9b24faSJung-uk Kim 
4995f9b24faSJung-uk Kim     /* Search for a match in the predefined name table */
5005f9b24faSJung-uk Kim 
501313a0c13SJung-uk Kim     for (Info = AslPredefinedInfo; Info->Name; Info++)
502313a0c13SJung-uk Kim     {
503278f0de6SJung-uk Kim         if (ACPI_COMPARE_NAMESEG (Nameseg, Info->Name))
504313a0c13SJung-uk Kim         {
505313a0c13SJung-uk Kim             return (Info);
506313a0c13SJung-uk Kim         }
507313a0c13SJung-uk Kim     }
508313a0c13SJung-uk Kim 
509313a0c13SJung-uk Kim     return (NULL);
510313a0c13SJung-uk Kim }
511