1aa2aa9a6SDana Myers /****************************************************************************** 2aa2aa9a6SDana Myers * 3aa2aa9a6SDana Myers * Name: acpredef - Information table for ACPI predefined methods and objects 4aa2aa9a6SDana Myers * 5aa2aa9a6SDana Myers *****************************************************************************/ 6aa2aa9a6SDana Myers 726f3cdf0SGordon Ross /* 8*cb565728SJerry Jelinek * Copyright (C) 2000 - 2016, Intel Corp. 9aa2aa9a6SDana Myers * All rights reserved. 10aa2aa9a6SDana Myers * 1126f3cdf0SGordon Ross * Redistribution and use in source and binary forms, with or without 1226f3cdf0SGordon Ross * modification, are permitted provided that the following conditions 1326f3cdf0SGordon Ross * are met: 1426f3cdf0SGordon Ross * 1. Redistributions of source code must retain the above copyright 1526f3cdf0SGordon Ross * notice, this list of conditions, and the following disclaimer, 1626f3cdf0SGordon Ross * without modification. 1726f3cdf0SGordon Ross * 2. Redistributions in binary form must reproduce at minimum a disclaimer 1826f3cdf0SGordon Ross * substantially similar to the "NO WARRANTY" disclaimer below 1926f3cdf0SGordon Ross * ("Disclaimer") and any redistribution must be conditioned upon 2026f3cdf0SGordon Ross * including a substantially similar Disclaimer requirement for further 2126f3cdf0SGordon Ross * binary redistribution. 2226f3cdf0SGordon Ross * 3. Neither the names of the above-listed copyright holders nor the names 2326f3cdf0SGordon Ross * of any contributors may be used to endorse or promote products derived 2426f3cdf0SGordon Ross * from this software without specific prior written permission. 25aa2aa9a6SDana Myers * 2626f3cdf0SGordon Ross * Alternatively, this software may be distributed under the terms of the 2726f3cdf0SGordon Ross * GNU General Public License ("GPL") version 2 as published by the Free 2826f3cdf0SGordon Ross * Software Foundation. 29aa2aa9a6SDana Myers * 3026f3cdf0SGordon Ross * NO WARRANTY 3126f3cdf0SGordon Ross * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 3226f3cdf0SGordon Ross * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 3326f3cdf0SGordon Ross * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR 3426f3cdf0SGordon Ross * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 3526f3cdf0SGordon Ross * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 3626f3cdf0SGordon Ross * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 3726f3cdf0SGordon Ross * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3826f3cdf0SGordon Ross * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 3926f3cdf0SGordon Ross * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 4026f3cdf0SGordon Ross * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 4126f3cdf0SGordon Ross * POSSIBILITY OF SUCH DAMAGES. 4226f3cdf0SGordon Ross */ 43aa2aa9a6SDana Myers 44aa2aa9a6SDana Myers #ifndef __ACPREDEF_H__ 45aa2aa9a6SDana Myers #define __ACPREDEF_H__ 46aa2aa9a6SDana Myers 47aa2aa9a6SDana Myers 48aa2aa9a6SDana Myers /****************************************************************************** 49aa2aa9a6SDana Myers * 50aa2aa9a6SDana Myers * Return Package types 51aa2aa9a6SDana Myers * 52*cb565728SJerry Jelinek * 1) PTYPE1 packages do not contain subpackages. 53aa2aa9a6SDana Myers * 54aa2aa9a6SDana Myers * ACPI_PTYPE1_FIXED: Fixed-length length, 1 or 2 object types: 55aa2aa9a6SDana Myers * object type 56aa2aa9a6SDana Myers * count 57aa2aa9a6SDana Myers * object type 58aa2aa9a6SDana Myers * count 59aa2aa9a6SDana Myers * 60*cb565728SJerry Jelinek * ACPI_PTYPE1_VAR: Variable-length length. Zero-length package is allowed: 61aa2aa9a6SDana Myers * object type (Int/Buf/Ref) 62aa2aa9a6SDana Myers * 63aa2aa9a6SDana Myers * ACPI_PTYPE1_OPTION: Package has some required and some optional elements 64aa2aa9a6SDana Myers * (Used for _PRW) 65aa2aa9a6SDana Myers * 66aa2aa9a6SDana Myers * 67*cb565728SJerry Jelinek * 2) PTYPE2 packages contain a Variable-length number of subpackages. Each 68*cb565728SJerry Jelinek * of the different types describe the contents of each of the subpackages. 69aa2aa9a6SDana Myers * 70*cb565728SJerry Jelinek * ACPI_PTYPE2: Each subpackage contains 1 or 2 object types. Zero-length 71*cb565728SJerry Jelinek * parent package is allowed: 72aa2aa9a6SDana Myers * object type 73aa2aa9a6SDana Myers * count 74aa2aa9a6SDana Myers * object type 75aa2aa9a6SDana Myers * count 76aa2aa9a6SDana Myers * (Used for _ALR,_MLS,_PSS,_TRT,_TSS) 77aa2aa9a6SDana Myers * 78*cb565728SJerry Jelinek * ACPI_PTYPE2_COUNT: Each subpackage has a count as first element. 79*cb565728SJerry Jelinek * Zero-length parent package is allowed: 80aa2aa9a6SDana Myers * object type 81aa2aa9a6SDana Myers * (Used for _CSD,_PSD,_TSD) 82aa2aa9a6SDana Myers * 83aa2aa9a6SDana Myers * ACPI_PTYPE2_PKG_COUNT: Count of subpackages at start, 1 or 2 object types: 84aa2aa9a6SDana Myers * object type 85aa2aa9a6SDana Myers * count 86aa2aa9a6SDana Myers * object type 87aa2aa9a6SDana Myers * count 88aa2aa9a6SDana Myers * (Used for _CST) 89aa2aa9a6SDana Myers * 90*cb565728SJerry Jelinek * ACPI_PTYPE2_FIXED: Each subpackage is of Fixed-length. Zero-length 91*cb565728SJerry Jelinek * parent package is allowed. 92aa2aa9a6SDana Myers * (Used for _PRT) 93aa2aa9a6SDana Myers * 94*cb565728SJerry Jelinek * ACPI_PTYPE2_MIN: Each subpackage has a Variable-length but minimum length. 95*cb565728SJerry Jelinek * Zero-length parent package is allowed: 96aa2aa9a6SDana Myers * (Used for _HPX) 97aa2aa9a6SDana Myers * 9857190917SDana Myers * ACPI_PTYPE2_REV_FIXED: Revision at start, each subpackage is Fixed-length 9957190917SDana Myers * (Used for _ART, _FPS) 10057190917SDana Myers * 101*cb565728SJerry Jelinek * ACPI_PTYPE2_FIX_VAR: Each subpackage consists of some fixed-length elements 102*cb565728SJerry Jelinek * followed by an optional element. Zero-length parent package is allowed. 103*cb565728SJerry Jelinek * object type 104*cb565728SJerry Jelinek * count 105*cb565728SJerry Jelinek * object type 106*cb565728SJerry Jelinek * count = 0 (optional) 107*cb565728SJerry Jelinek * (Used for _DLM) 108*cb565728SJerry Jelinek * 109*cb565728SJerry Jelinek * ACPI_PTYPE2_VAR_VAR: Variable number of subpackages, each of either a 110*cb565728SJerry Jelinek * constant or variable length. The subpackages are preceded by a 111*cb565728SJerry Jelinek * constant number of objects. 112*cb565728SJerry Jelinek * (Used for _LPI, _RDI) 113*cb565728SJerry Jelinek * 114*cb565728SJerry Jelinek * ACPI_PTYPE2_UUID_PAIR: Each subpackage is preceded by a UUID Buffer. The UUID 115*cb565728SJerry Jelinek * defines the format of the package. Zero-length parent package is 116*cb565728SJerry Jelinek * allowed. 117*cb565728SJerry Jelinek * (Used for _DSD) 118*cb565728SJerry Jelinek * 119aa2aa9a6SDana Myers *****************************************************************************/ 120aa2aa9a6SDana Myers 121aa2aa9a6SDana Myers enum AcpiReturnPackageTypes 122aa2aa9a6SDana Myers { 123aa2aa9a6SDana Myers ACPI_PTYPE1_FIXED = 1, 124aa2aa9a6SDana Myers ACPI_PTYPE1_VAR = 2, 125aa2aa9a6SDana Myers ACPI_PTYPE1_OPTION = 3, 126aa2aa9a6SDana Myers ACPI_PTYPE2 = 4, 127aa2aa9a6SDana Myers ACPI_PTYPE2_COUNT = 5, 128aa2aa9a6SDana Myers ACPI_PTYPE2_PKG_COUNT = 6, 129aa2aa9a6SDana Myers ACPI_PTYPE2_FIXED = 7, 13057190917SDana Myers ACPI_PTYPE2_MIN = 8, 131*cb565728SJerry Jelinek ACPI_PTYPE2_REV_FIXED = 9, 132*cb565728SJerry Jelinek ACPI_PTYPE2_FIX_VAR = 10, 133*cb565728SJerry Jelinek ACPI_PTYPE2_VAR_VAR = 11, 134*cb565728SJerry Jelinek ACPI_PTYPE2_UUID_PAIR = 12, 135*cb565728SJerry Jelinek ACPI_PTYPE_CUSTOM = 13 136aa2aa9a6SDana Myers }; 137aa2aa9a6SDana Myers 138aa2aa9a6SDana Myers 139*cb565728SJerry Jelinek /* Support macros for users of the predefined info table */ 140*cb565728SJerry Jelinek 141*cb565728SJerry Jelinek #define METHOD_PREDEF_ARGS_MAX 4 142*cb565728SJerry Jelinek #define METHOD_ARG_BIT_WIDTH 3 143*cb565728SJerry Jelinek #define METHOD_ARG_MASK 0x0007 144*cb565728SJerry Jelinek #define ARG_COUNT_IS_MINIMUM 0x8000 145*cb565728SJerry Jelinek #define METHOD_MAX_ARG_TYPE ACPI_TYPE_PACKAGE 146*cb565728SJerry Jelinek 147*cb565728SJerry Jelinek #define METHOD_GET_ARG_COUNT(ArgList) ((ArgList) & METHOD_ARG_MASK) 148*cb565728SJerry Jelinek #define METHOD_GET_NEXT_TYPE(ArgList) (((ArgList) >>= METHOD_ARG_BIT_WIDTH) & METHOD_ARG_MASK) 149*cb565728SJerry Jelinek 150*cb565728SJerry Jelinek /* Macros used to build the predefined info table */ 151*cb565728SJerry Jelinek 152*cb565728SJerry Jelinek #define METHOD_0ARGS 0 153*cb565728SJerry Jelinek #define METHOD_1ARGS(a1) (1 | (a1 << 3)) 154*cb565728SJerry Jelinek #define METHOD_2ARGS(a1,a2) (2 | (a1 << 3) | (a2 << 6)) 155*cb565728SJerry Jelinek #define METHOD_3ARGS(a1,a2,a3) (3 | (a1 << 3) | (a2 << 6) | (a3 << 9)) 156*cb565728SJerry Jelinek #define METHOD_4ARGS(a1,a2,a3,a4) (4 | (a1 << 3) | (a2 << 6) | (a3 << 9) | (a4 << 12)) 157*cb565728SJerry Jelinek 158*cb565728SJerry Jelinek #define METHOD_RETURNS(type) (type) 159*cb565728SJerry Jelinek #define METHOD_NO_RETURN_VALUE 0 160*cb565728SJerry Jelinek 161*cb565728SJerry Jelinek #define PACKAGE_INFO(a,b,c,d,e,f) {{{(a),(b),(c),(d)}, ((((UINT16)(f)) << 8) | (e)), 0}} 162*cb565728SJerry Jelinek 163*cb565728SJerry Jelinek 164*cb565728SJerry Jelinek /* Support macros for the resource descriptor info table */ 165*cb565728SJerry Jelinek 166*cb565728SJerry Jelinek #define WIDTH_1 0x0001 167*cb565728SJerry Jelinek #define WIDTH_2 0x0002 168*cb565728SJerry Jelinek #define WIDTH_3 0x0004 169*cb565728SJerry Jelinek #define WIDTH_8 0x0008 170*cb565728SJerry Jelinek #define WIDTH_16 0x0010 171*cb565728SJerry Jelinek #define WIDTH_32 0x0020 172*cb565728SJerry Jelinek #define WIDTH_64 0x0040 173*cb565728SJerry Jelinek #define VARIABLE_DATA 0x0080 174*cb565728SJerry Jelinek #define NUM_RESOURCE_WIDTHS 8 175*cb565728SJerry Jelinek 176*cb565728SJerry Jelinek #define WIDTH_ADDRESS WIDTH_16 | WIDTH_32 | WIDTH_64 177*cb565728SJerry Jelinek 178*cb565728SJerry Jelinek 17957190917SDana Myers #ifdef ACPI_CREATE_PREDEFINED_TABLE 180*cb565728SJerry Jelinek /****************************************************************************** 181*cb565728SJerry Jelinek * 182aa2aa9a6SDana Myers * Predefined method/object information table. 183aa2aa9a6SDana Myers * 184aa2aa9a6SDana Myers * These are the names that can actually be evaluated via AcpiEvaluateObject. 185aa2aa9a6SDana Myers * Not present in this table are the following: 186aa2aa9a6SDana Myers * 187*cb565728SJerry Jelinek * 1) Predefined/Reserved names that are not usually evaluated via 188aa2aa9a6SDana Myers * AcpiEvaluateObject: 189aa2aa9a6SDana Myers * _Lxx and _Exx GPE methods 190aa2aa9a6SDana Myers * _Qxx EC methods 19157190917SDana Myers * _T_x compiler temporary variables 192*cb565728SJerry Jelinek * _Wxx wake events 193aa2aa9a6SDana Myers * 194aa2aa9a6SDana Myers * 2) Predefined names that never actually exist within the AML code: 195aa2aa9a6SDana Myers * Predefined resource descriptor field names 196aa2aa9a6SDana Myers * 197aa2aa9a6SDana Myers * 3) Predefined names that are implemented within ACPICA: 198aa2aa9a6SDana Myers * _OSI 199aa2aa9a6SDana Myers * 200aa2aa9a6SDana Myers * The main entries in the table each contain the following items: 201aa2aa9a6SDana Myers * 202aa2aa9a6SDana Myers * Name - The ACPI reserved name 203*cb565728SJerry Jelinek * ArgumentList - Contains (in 16 bits), the number of required 204*cb565728SJerry Jelinek * arguments to the method (3 bits), and a 3-bit type 205*cb565728SJerry Jelinek * field for each argument (up to 4 arguments). The 206*cb565728SJerry Jelinek * METHOD_?ARGS macros generate the correct packed data. 207aa2aa9a6SDana Myers * ExpectedBtypes - Allowed type(s) for the return value. 208aa2aa9a6SDana Myers * 0 means that no return value is expected. 209aa2aa9a6SDana Myers * 210aa2aa9a6SDana Myers * For methods that return packages, the next entry in the table contains 211aa2aa9a6SDana Myers * information about the expected structure of the package. This information 212aa2aa9a6SDana Myers * is saved here (rather than in a separate table) in order to minimize the 213aa2aa9a6SDana Myers * overall size of the stored data. 214aa2aa9a6SDana Myers * 215aa2aa9a6SDana Myers * Note: The additional braces are intended to promote portability. 216*cb565728SJerry Jelinek * 217*cb565728SJerry Jelinek * Note2: Table is used by the kernel-resident subsystem, the iASL compiler, 218*cb565728SJerry Jelinek * and the AcpiHelp utility. 219*cb565728SJerry Jelinek * 220*cb565728SJerry Jelinek * TBD: _PRT - currently ignore reversed entries. Attempt to fix in nsrepair. 221*cb565728SJerry Jelinek * Possibly fixing package elements like _BIF, etc. 222*cb565728SJerry Jelinek * 223*cb565728SJerry Jelinek *****************************************************************************/ 224*cb565728SJerry Jelinek 225*cb565728SJerry Jelinek const ACPI_PREDEFINED_INFO AcpiGbl_PredefinedMethods[] = 226aa2aa9a6SDana Myers { 227*cb565728SJerry Jelinek {{"_AC0", METHOD_0ARGS, 228*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 229aa2aa9a6SDana Myers 230*cb565728SJerry Jelinek {{"_AC1", METHOD_0ARGS, 231*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 232aa2aa9a6SDana Myers 233*cb565728SJerry Jelinek {{"_AC2", METHOD_0ARGS, 234*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 235aa2aa9a6SDana Myers 236*cb565728SJerry Jelinek {{"_AC3", METHOD_0ARGS, 237*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 238aa2aa9a6SDana Myers 239*cb565728SJerry Jelinek {{"_AC4", METHOD_0ARGS, 240*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 241aa2aa9a6SDana Myers 242*cb565728SJerry Jelinek {{"_AC5", METHOD_0ARGS, 243*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 244aa2aa9a6SDana Myers 245*cb565728SJerry Jelinek {{"_AC6", METHOD_0ARGS, 246*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 247aa2aa9a6SDana Myers 248*cb565728SJerry Jelinek {{"_AC7", METHOD_0ARGS, 249*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 250aa2aa9a6SDana Myers 251*cb565728SJerry Jelinek {{"_AC8", METHOD_0ARGS, 252*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 253aa2aa9a6SDana Myers 254*cb565728SJerry Jelinek {{"_AC9", METHOD_0ARGS, 255*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 256aa2aa9a6SDana Myers 257*cb565728SJerry Jelinek {{"_ADR", METHOD_0ARGS, 258*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 259aa2aa9a6SDana Myers 260*cb565728SJerry Jelinek {{"_AEI", METHOD_0ARGS, 261*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_BUFFER)}}, 26257190917SDana Myers 263*cb565728SJerry Jelinek {{"_AL0", METHOD_0ARGS, 264*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 265*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 266aa2aa9a6SDana Myers 267*cb565728SJerry Jelinek {{"_AL1", METHOD_0ARGS, 268*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 269*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 270aa2aa9a6SDana Myers 271*cb565728SJerry Jelinek {{"_AL2", METHOD_0ARGS, 272*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 273*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 27457190917SDana Myers 275*cb565728SJerry Jelinek {{"_AL3", METHOD_0ARGS, 276*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 277*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 278aa2aa9a6SDana Myers 279*cb565728SJerry Jelinek {{"_AL4", METHOD_0ARGS, 280*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 281*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 282aa2aa9a6SDana Myers 283*cb565728SJerry Jelinek {{"_AL5", METHOD_0ARGS, 284*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 285*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 286aa2aa9a6SDana Myers 287*cb565728SJerry Jelinek {{"_AL6", METHOD_0ARGS, 288*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 289*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 290aa2aa9a6SDana Myers 291*cb565728SJerry Jelinek {{"_AL7", METHOD_0ARGS, 292*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 293*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 294aa2aa9a6SDana Myers 295*cb565728SJerry Jelinek {{"_AL8", METHOD_0ARGS, 296*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 297*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 298aa2aa9a6SDana Myers 299*cb565728SJerry Jelinek {{"_AL9", METHOD_0ARGS, 300*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 301*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 302aa2aa9a6SDana Myers 303*cb565728SJerry Jelinek {{"_ALC", METHOD_0ARGS, 304*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 305aa2aa9a6SDana Myers 306*cb565728SJerry Jelinek {{"_ALI", METHOD_0ARGS, 307*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 30857190917SDana Myers 309*cb565728SJerry Jelinek {{"_ALP", METHOD_0ARGS, 310*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 311aa2aa9a6SDana Myers 312*cb565728SJerry Jelinek {{"_ALR", METHOD_0ARGS, 313*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Pkgs) each 2 (Ints) */ 314*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2, ACPI_RTYPE_INTEGER, 2,0,0,0), 31557190917SDana Myers 316*cb565728SJerry Jelinek {{"_ALT", METHOD_0ARGS, 317*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 31857190917SDana Myers 319*cb565728SJerry Jelinek {{"_ART", METHOD_0ARGS, 320*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (1 Int(rev), n Pkg (2 Ref/11 Int) */ 321*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2_REV_FIXED, ACPI_RTYPE_REFERENCE, 2, ACPI_RTYPE_INTEGER, 11,0), 32257190917SDana Myers 323*cb565728SJerry Jelinek {{"_BBN", METHOD_0ARGS, 324*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 325*cb565728SJerry Jelinek 326*cb565728SJerry Jelinek {{"_BCL", METHOD_0ARGS, 327*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Ints) */ 328*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 0,0,0,0), 329*cb565728SJerry Jelinek 330*cb565728SJerry Jelinek {{"_BCM", METHOD_1ARGS (ACPI_TYPE_INTEGER), 331*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 332*cb565728SJerry Jelinek 333*cb565728SJerry Jelinek {{"_BCT", METHOD_1ARGS (ACPI_TYPE_INTEGER), 334*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 335*cb565728SJerry Jelinek 336*cb565728SJerry Jelinek {{"_BDN", METHOD_0ARGS, 337*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 338*cb565728SJerry Jelinek 339*cb565728SJerry Jelinek {{"_BFS", METHOD_1ARGS (ACPI_TYPE_INTEGER), 340*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 341*cb565728SJerry Jelinek 342*cb565728SJerry Jelinek {{"_BIF", METHOD_0ARGS, 343*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (9 Int),(4 Str) */ 344*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 9, ACPI_RTYPE_STRING, 4,0), 345*cb565728SJerry Jelinek 346*cb565728SJerry Jelinek {{"_BIX", METHOD_0ARGS, 347*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (16 Int),(4 Str) */ 348*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE_CUSTOM, ACPI_RTYPE_INTEGER, 16, ACPI_RTYPE_STRING, 4,0), 349*cb565728SJerry Jelinek 350*cb565728SJerry Jelinek {{"_BLT", METHOD_3ARGS (ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER), 351*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 352*cb565728SJerry Jelinek 353*cb565728SJerry Jelinek {{"_BMA", METHOD_1ARGS (ACPI_TYPE_INTEGER), 354*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 355*cb565728SJerry Jelinek 356*cb565728SJerry Jelinek {{"_BMC", METHOD_1ARGS (ACPI_TYPE_INTEGER), 357*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 358*cb565728SJerry Jelinek 359*cb565728SJerry Jelinek {{"_BMD", METHOD_0ARGS, 360*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (5 Int) */ 361*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 5,0,0,0), 362*cb565728SJerry Jelinek 363*cb565728SJerry Jelinek {{"_BMS", METHOD_1ARGS (ACPI_TYPE_INTEGER), 364*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 365*cb565728SJerry Jelinek 366*cb565728SJerry Jelinek {{"_BQC", METHOD_0ARGS, 367*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 368*cb565728SJerry Jelinek 369*cb565728SJerry Jelinek {{"_BST", METHOD_0ARGS, 370*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (4 Int) */ 371*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 4,0,0,0), 372*cb565728SJerry Jelinek 373*cb565728SJerry Jelinek {{"_BTH", METHOD_1ARGS (ACPI_TYPE_INTEGER), /* ACPI 6.0 */ 374*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 375*cb565728SJerry Jelinek 376*cb565728SJerry Jelinek {{"_BTM", METHOD_1ARGS (ACPI_TYPE_INTEGER), 377*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 378*cb565728SJerry Jelinek 379*cb565728SJerry Jelinek {{"_BTP", METHOD_1ARGS (ACPI_TYPE_INTEGER), 380*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 381*cb565728SJerry Jelinek 382*cb565728SJerry Jelinek {{"_CBA", METHOD_0ARGS, 383*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, /* See PCI firmware spec 3.0 */ 384*cb565728SJerry Jelinek 385*cb565728SJerry Jelinek {{"_CCA", METHOD_0ARGS, 386*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, /* ACPI 5.1 */ 387*cb565728SJerry Jelinek 388*cb565728SJerry Jelinek {{"_CDM", METHOD_0ARGS, 389*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 390*cb565728SJerry Jelinek 391*cb565728SJerry Jelinek {{"_CID", METHOD_0ARGS, 392*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER | ACPI_RTYPE_STRING | ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Ints/Strs) */ 393*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER | ACPI_RTYPE_STRING, 0,0,0,0), 394*cb565728SJerry Jelinek 395*cb565728SJerry Jelinek {{"_CLS", METHOD_0ARGS, 396*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (3 Int) */ 397*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 3,0,0,0), 398*cb565728SJerry Jelinek 399*cb565728SJerry Jelinek {{"_CPC", METHOD_0ARGS, 400*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Ints/Bufs) */ 401*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER | ACPI_RTYPE_BUFFER, 0,0,0,0), 402*cb565728SJerry Jelinek 403*cb565728SJerry Jelinek {{"_CR3", METHOD_0ARGS, /* ACPI 6.0 */ 404*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 405*cb565728SJerry Jelinek 406*cb565728SJerry Jelinek {{"_CRS", METHOD_0ARGS, 407*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_BUFFER)}}, 408*cb565728SJerry Jelinek 409*cb565728SJerry Jelinek {{"_CRT", METHOD_0ARGS, 410*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 411*cb565728SJerry Jelinek 412*cb565728SJerry Jelinek {{"_CSD", METHOD_0ARGS, 413*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (1 Int(n), n-1 Int) */ 414*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2_COUNT, ACPI_RTYPE_INTEGER, 0,0,0,0), 415*cb565728SJerry Jelinek 416*cb565728SJerry Jelinek {{"_CST", METHOD_0ARGS, 417*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (1 Int(n), n Pkg (1 Buf/3 Int) */ 418*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2_PKG_COUNT,ACPI_RTYPE_BUFFER, 1, ACPI_RTYPE_INTEGER, 3,0), 419*cb565728SJerry Jelinek 420*cb565728SJerry Jelinek {{"_CWS", METHOD_1ARGS (ACPI_TYPE_INTEGER), 421*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 422*cb565728SJerry Jelinek 423*cb565728SJerry Jelinek {{"_DCK", METHOD_1ARGS (ACPI_TYPE_INTEGER), 424*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 425*cb565728SJerry Jelinek 426*cb565728SJerry Jelinek {{"_DCS", METHOD_0ARGS, 427*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 428*cb565728SJerry Jelinek 429*cb565728SJerry Jelinek {{"_DDC", METHOD_1ARGS (ACPI_TYPE_INTEGER), 430*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER | ACPI_RTYPE_BUFFER)}}, 431*cb565728SJerry Jelinek 432*cb565728SJerry Jelinek {{"_DDN", METHOD_0ARGS, 433*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_STRING)}}, 434*cb565728SJerry Jelinek 435*cb565728SJerry Jelinek {{"_DEP", METHOD_0ARGS, 436*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 437*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 438*cb565728SJerry Jelinek 439*cb565728SJerry Jelinek {{"_DGS", METHOD_0ARGS, 440*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 441*cb565728SJerry Jelinek 442*cb565728SJerry Jelinek {{"_DIS", METHOD_0ARGS, 443*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 444*cb565728SJerry Jelinek 445*cb565728SJerry Jelinek {{"_DLM", METHOD_0ARGS, 446*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Pkgs) each (1 Ref, 0/1 Optional Buf/Ref) */ 447*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2_FIX_VAR, ACPI_RTYPE_REFERENCE, 1, ACPI_RTYPE_REFERENCE | ACPI_RTYPE_BUFFER, 0,0), 448*cb565728SJerry Jelinek 449*cb565728SJerry Jelinek {{"_DMA", METHOD_0ARGS, 450*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_BUFFER)}}, 451*cb565728SJerry Jelinek 452*cb565728SJerry Jelinek {{"_DOD", METHOD_0ARGS, 453*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Ints) */ 454*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 0,0,0,0), 455*cb565728SJerry Jelinek 456*cb565728SJerry Jelinek {{"_DOS", METHOD_1ARGS (ACPI_TYPE_INTEGER), 457*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 458*cb565728SJerry Jelinek 459*cb565728SJerry Jelinek {{"_DSD", METHOD_0ARGS, /* ACPI 6.0 */ 460*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Pkgs) each: 1 Buf, 1 Pkg */ 461*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2_UUID_PAIR, ACPI_RTYPE_BUFFER, 1, ACPI_RTYPE_PACKAGE, 1,0), 462*cb565728SJerry Jelinek 463*cb565728SJerry Jelinek {{"_DSM", METHOD_4ARGS (ACPI_TYPE_BUFFER, ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER, ACPI_TYPE_PACKAGE), 464*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_ALL)}}, /* Must return a value, but it can be of any type */ 465*cb565728SJerry Jelinek 466*cb565728SJerry Jelinek {{"_DSS", METHOD_1ARGS (ACPI_TYPE_INTEGER), 467*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 468*cb565728SJerry Jelinek 469*cb565728SJerry Jelinek {{"_DSW", METHOD_3ARGS (ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER), 470*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 471*cb565728SJerry Jelinek 472*cb565728SJerry Jelinek {{"_DTI", METHOD_1ARGS (ACPI_TYPE_INTEGER), 473*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 474*cb565728SJerry Jelinek 475*cb565728SJerry Jelinek {{"_EC_", METHOD_0ARGS, 476*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 477*cb565728SJerry Jelinek 478*cb565728SJerry Jelinek {{"_EDL", METHOD_0ARGS, 479*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs)*/ 480*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 481*cb565728SJerry Jelinek 482*cb565728SJerry Jelinek {{"_EJ0", METHOD_1ARGS (ACPI_TYPE_INTEGER), 483*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 484*cb565728SJerry Jelinek 485*cb565728SJerry Jelinek {{"_EJ1", METHOD_1ARGS (ACPI_TYPE_INTEGER), 486*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 487*cb565728SJerry Jelinek 488*cb565728SJerry Jelinek {{"_EJ2", METHOD_1ARGS (ACPI_TYPE_INTEGER), 489*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 490*cb565728SJerry Jelinek 491*cb565728SJerry Jelinek {{"_EJ3", METHOD_1ARGS (ACPI_TYPE_INTEGER), 492*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 493*cb565728SJerry Jelinek 494*cb565728SJerry Jelinek {{"_EJ4", METHOD_1ARGS (ACPI_TYPE_INTEGER), 495*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 496*cb565728SJerry Jelinek 497*cb565728SJerry Jelinek {{"_EJD", METHOD_0ARGS, 498*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_STRING)}}, 499*cb565728SJerry Jelinek 500*cb565728SJerry Jelinek {{"_ERR", METHOD_3ARGS (ACPI_TYPE_INTEGER, ACPI_TYPE_STRING, ACPI_TYPE_INTEGER), 501*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, /* Internal use only, used by ACPICA test suites */ 502*cb565728SJerry Jelinek 503*cb565728SJerry Jelinek {{"_EVT", METHOD_1ARGS (ACPI_TYPE_INTEGER), 504*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 505*cb565728SJerry Jelinek 506*cb565728SJerry Jelinek {{"_FDE", METHOD_0ARGS, 507*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_BUFFER)}}, 508*cb565728SJerry Jelinek 509*cb565728SJerry Jelinek {{"_FDI", METHOD_0ARGS, 510*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (16 Int) */ 511*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 16,0,0,0), 512*cb565728SJerry Jelinek 513*cb565728SJerry Jelinek {{"_FDM", METHOD_1ARGS (ACPI_TYPE_INTEGER), 514*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 515*cb565728SJerry Jelinek 516*cb565728SJerry Jelinek {{"_FIF", METHOD_0ARGS, 517*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (4 Int) */ 518*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 4,0,0,0), 519*cb565728SJerry Jelinek 520*cb565728SJerry Jelinek {{"_FIT", METHOD_0ARGS, 521*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_BUFFER)}}, /* ACPI 6.0 */ 522*cb565728SJerry Jelinek 523*cb565728SJerry Jelinek {{"_FIX", METHOD_0ARGS, 524*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Ints) */ 525*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 0,0,0,0), 526*cb565728SJerry Jelinek 527*cb565728SJerry Jelinek {{"_FPS", METHOD_0ARGS, 528*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (1 Int(rev), n Pkg (5 Int) */ 529*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2_REV_FIXED,ACPI_RTYPE_INTEGER, 5, 0,0,0), 530*cb565728SJerry Jelinek 531*cb565728SJerry Jelinek {{"_FSL", METHOD_1ARGS (ACPI_TYPE_INTEGER), 532*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 533*cb565728SJerry Jelinek 534*cb565728SJerry Jelinek {{"_FST", METHOD_0ARGS, 535*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (3 Int) */ 536*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 3,0,0,0), 537*cb565728SJerry Jelinek 538*cb565728SJerry Jelinek {{"_GAI", METHOD_0ARGS, 539*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 540*cb565728SJerry Jelinek 541*cb565728SJerry Jelinek {{"_GCP", METHOD_0ARGS, 542*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 543*cb565728SJerry Jelinek 544*cb565728SJerry Jelinek {{"_GHL", METHOD_0ARGS, 545*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 546*cb565728SJerry Jelinek 547*cb565728SJerry Jelinek {{"_GLK", METHOD_0ARGS, 548*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 549*cb565728SJerry Jelinek 550*cb565728SJerry Jelinek {{"_GPD", METHOD_0ARGS, 551*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 552*cb565728SJerry Jelinek 553*cb565728SJerry Jelinek {{"_GPE", METHOD_0ARGS, 554*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, /* _GPE method, not _GPE scope */ 555*cb565728SJerry Jelinek 556*cb565728SJerry Jelinek {{"_GRT", METHOD_0ARGS, 557*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_BUFFER)}}, 558*cb565728SJerry Jelinek 559*cb565728SJerry Jelinek {{"_GSB", METHOD_0ARGS, 560*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 561*cb565728SJerry Jelinek 562*cb565728SJerry Jelinek {{"_GTF", METHOD_0ARGS, 563*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_BUFFER)}}, 564*cb565728SJerry Jelinek 565*cb565728SJerry Jelinek {{"_GTM", METHOD_0ARGS, 566*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_BUFFER)}}, 567*cb565728SJerry Jelinek 568*cb565728SJerry Jelinek {{"_GTS", METHOD_1ARGS (ACPI_TYPE_INTEGER), 569*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 570*cb565728SJerry Jelinek 571*cb565728SJerry Jelinek {{"_GWS", METHOD_1ARGS (ACPI_TYPE_INTEGER), 572*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 573*cb565728SJerry Jelinek 574*cb565728SJerry Jelinek {{"_HID", METHOD_0ARGS, 575*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER | ACPI_RTYPE_STRING)}}, 576*cb565728SJerry Jelinek 577*cb565728SJerry Jelinek {{"_HOT", METHOD_0ARGS, 578*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 579*cb565728SJerry Jelinek 580*cb565728SJerry Jelinek {{"_HPP", METHOD_0ARGS, 581*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (4 Int) */ 582*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 4,0,0,0), 583aa2aa9a6SDana Myers 584aa2aa9a6SDana Myers /* 585*cb565728SJerry Jelinek * For _HPX, a single package is returned, containing a variable-length number 586*cb565728SJerry Jelinek * of subpackages. Each subpackage contains a PCI record setting. 587aa2aa9a6SDana Myers * There are several different type of record settings, of different 588aa2aa9a6SDana Myers * lengths, but all elements of all settings are Integers. 589aa2aa9a6SDana Myers */ 590*cb565728SJerry Jelinek {{"_HPX", METHOD_0ARGS, 591*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Pkgs) each (var Ints) */ 592*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2_MIN, ACPI_RTYPE_INTEGER, 5,0,0,0), 593aa2aa9a6SDana Myers 594*cb565728SJerry Jelinek {{"_HRV", METHOD_0ARGS, 595*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 59657190917SDana Myers 597*cb565728SJerry Jelinek {{"_IFT", METHOD_0ARGS, 598*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, /* See IPMI spec */ 599aa2aa9a6SDana Myers 600*cb565728SJerry Jelinek {{"_INI", METHOD_0ARGS, 601*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 602aa2aa9a6SDana Myers 603*cb565728SJerry Jelinek {{"_IRC", METHOD_0ARGS, 604*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 605aa2aa9a6SDana Myers 606*cb565728SJerry Jelinek {{"_LCK", METHOD_1ARGS (ACPI_TYPE_INTEGER), 607*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 60857190917SDana Myers 609*cb565728SJerry Jelinek {{"_LID", METHOD_0ARGS, 610*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 611aa2aa9a6SDana Myers 612*cb565728SJerry Jelinek {{"_LPD", METHOD_0ARGS, 613*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (1 Int(rev), n Pkg (2 Int) */ 614*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2_REV_FIXED, ACPI_RTYPE_INTEGER, 2,0,0,0), 61557190917SDana Myers 616*cb565728SJerry Jelinek {{"_LPI", METHOD_0ARGS, /* ACPI 6.0 */ 617*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (3 Int, n Pkg (10 Int/Buf) */ 618*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2_VAR_VAR, ACPI_RTYPE_INTEGER, 3, 619*cb565728SJerry Jelinek ACPI_RTYPE_INTEGER | ACPI_RTYPE_BUFFER | ACPI_RTYPE_STRING, 10,0), 62057190917SDana Myers 621*cb565728SJerry Jelinek {{"_MAT", METHOD_0ARGS, 622*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_BUFFER)}}, 623aa2aa9a6SDana Myers 624*cb565728SJerry Jelinek {{"_MBM", METHOD_0ARGS, 625*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (8 Int) */ 626*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 8,0,0,0), 627aa2aa9a6SDana Myers 628*cb565728SJerry Jelinek {{"_MLS", METHOD_0ARGS, 629*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Pkgs) each (1 Str/1 Buf) */ 630*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2, ACPI_RTYPE_STRING, 1, ACPI_RTYPE_BUFFER, 1,0), 631aa2aa9a6SDana Myers 632*cb565728SJerry Jelinek {{"_MSG", METHOD_1ARGS (ACPI_TYPE_INTEGER), 633*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 63457190917SDana Myers 635*cb565728SJerry Jelinek {{"_MSM", METHOD_4ARGS (ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER), 636*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 63757190917SDana Myers 638*cb565728SJerry Jelinek {{"_MTL", METHOD_0ARGS, /* ACPI 6.0 */ 639*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 640*cb565728SJerry Jelinek 641*cb565728SJerry Jelinek {{"_NTT", METHOD_0ARGS, 642*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 643*cb565728SJerry Jelinek 644*cb565728SJerry Jelinek {{"_OFF", METHOD_0ARGS, 645*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 646*cb565728SJerry Jelinek 647*cb565728SJerry Jelinek {{"_ON_", METHOD_0ARGS, 648*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 649*cb565728SJerry Jelinek 650*cb565728SJerry Jelinek {{"_OS_", METHOD_0ARGS, 651*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_STRING)}}, 652*cb565728SJerry Jelinek 653*cb565728SJerry Jelinek {{"_OSC", METHOD_4ARGS (ACPI_TYPE_BUFFER, ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER, ACPI_TYPE_BUFFER), 654*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_BUFFER)}}, 655*cb565728SJerry Jelinek 656*cb565728SJerry Jelinek {{"_OST", METHOD_3ARGS (ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER, ACPI_TYPE_BUFFER), 657*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 658*cb565728SJerry Jelinek 659*cb565728SJerry Jelinek {{"_PAI", METHOD_1ARGS (ACPI_TYPE_INTEGER), 660*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 661*cb565728SJerry Jelinek 662*cb565728SJerry Jelinek {{"_PCL", METHOD_0ARGS, 663*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 664*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 665*cb565728SJerry Jelinek 666*cb565728SJerry Jelinek {{"_PCT", METHOD_0ARGS, 667*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (2 Buf) */ 668*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_BUFFER, 2,0,0,0), 669*cb565728SJerry Jelinek 670*cb565728SJerry Jelinek {{"_PDC", METHOD_1ARGS (ACPI_TYPE_BUFFER), 671*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 672*cb565728SJerry Jelinek 673*cb565728SJerry Jelinek {{"_PDL", METHOD_0ARGS, 674*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 675*cb565728SJerry Jelinek 676*cb565728SJerry Jelinek {{"_PIC", METHOD_1ARGS (ACPI_TYPE_INTEGER), 677*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 678*cb565728SJerry Jelinek 679*cb565728SJerry Jelinek {{"_PIF", METHOD_0ARGS, 680*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (3 Int),(3 Str) */ 681*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 3, ACPI_RTYPE_STRING, 3,0), 682*cb565728SJerry Jelinek 683*cb565728SJerry Jelinek {{"_PLD", METHOD_0ARGS, 684*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Bufs) */ 685*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_BUFFER, 0,0,0,0), 686*cb565728SJerry Jelinek 687*cb565728SJerry Jelinek {{"_PMC", METHOD_0ARGS, 688*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (11 Int),(3 Str) */ 689*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 11, ACPI_RTYPE_STRING, 3,0), 690*cb565728SJerry Jelinek 691*cb565728SJerry Jelinek {{"_PMD", METHOD_0ARGS, 692*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 693*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 694*cb565728SJerry Jelinek 695*cb565728SJerry Jelinek {{"_PMM", METHOD_0ARGS, 696*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 697*cb565728SJerry Jelinek 698*cb565728SJerry Jelinek {{"_PPC", METHOD_0ARGS, 699*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 700*cb565728SJerry Jelinek 701*cb565728SJerry Jelinek {{"_PPE", METHOD_0ARGS, 702*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, /* See dig64 spec */ 703*cb565728SJerry Jelinek 704*cb565728SJerry Jelinek {{"_PR0", METHOD_0ARGS, 705*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 706*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 707*cb565728SJerry Jelinek 708*cb565728SJerry Jelinek {{"_PR1", METHOD_0ARGS, 709*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 710*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 711*cb565728SJerry Jelinek 712*cb565728SJerry Jelinek {{"_PR2", METHOD_0ARGS, 713*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 714*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 715*cb565728SJerry Jelinek 716*cb565728SJerry Jelinek {{"_PR3", METHOD_0ARGS, 717*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 718*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 719*cb565728SJerry Jelinek 720*cb565728SJerry Jelinek {{"_PRE", METHOD_0ARGS, 721*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 722*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 723*cb565728SJerry Jelinek 724*cb565728SJerry Jelinek {{"_PRL", METHOD_0ARGS, 725*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 726*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 727*cb565728SJerry Jelinek 728*cb565728SJerry Jelinek {{"_PRR", METHOD_0ARGS, /* ACPI 6.0 */ 729*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (1 Ref) */ 730*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_REFERENCE, 1,0,0,0), 731*cb565728SJerry Jelinek 732*cb565728SJerry Jelinek {{"_PRS", METHOD_0ARGS, 733*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_BUFFER)}}, 734aa2aa9a6SDana Myers 735aa2aa9a6SDana Myers /* 73657190917SDana Myers * For _PRT, many BIOSs reverse the 3rd and 4th Package elements (Source 73757190917SDana Myers * and SourceIndex). This bug is so prevalent that there is code in the 73857190917SDana Myers * ACPICA Resource Manager to detect this and switch them back. For now, 73957190917SDana Myers * do not allow and issue a warning. To allow this and eliminate the 74057190917SDana Myers * warning, add the ACPI_RTYPE_REFERENCE type to the 4th element (index 3) 74157190917SDana Myers * in the statement below. 742aa2aa9a6SDana Myers */ 743*cb565728SJerry Jelinek {{"_PRT", METHOD_0ARGS, 744*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Pkgs) each (4): Int,Int,Int/Ref,Int */ 745*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2_FIXED, 4, ACPI_RTYPE_INTEGER, ACPI_RTYPE_INTEGER, 746*cb565728SJerry Jelinek ACPI_RTYPE_INTEGER | ACPI_RTYPE_REFERENCE, ACPI_RTYPE_INTEGER), 747aa2aa9a6SDana Myers 748*cb565728SJerry Jelinek {{"_PRW", METHOD_0ARGS, 749*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Pkgs) each: Pkg/Int,Int,[Variable-length Refs] (Pkg is Ref/Int) */ 750*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_OPTION, 2, ACPI_RTYPE_INTEGER | ACPI_RTYPE_PACKAGE, 751*cb565728SJerry Jelinek ACPI_RTYPE_INTEGER, ACPI_RTYPE_REFERENCE, 0), 752aa2aa9a6SDana Myers 753*cb565728SJerry Jelinek {{"_PS0", METHOD_0ARGS, 754*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 755aa2aa9a6SDana Myers 756*cb565728SJerry Jelinek {{"_PS1", METHOD_0ARGS, 757*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 758aa2aa9a6SDana Myers 759*cb565728SJerry Jelinek {{"_PS2", METHOD_0ARGS, 760*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 761aa2aa9a6SDana Myers 762*cb565728SJerry Jelinek {{"_PS3", METHOD_0ARGS, 763*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 764aa2aa9a6SDana Myers 765*cb565728SJerry Jelinek {{"_PSC", METHOD_0ARGS, 766*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 76757190917SDana Myers 768*cb565728SJerry Jelinek {{"_PSD", METHOD_0ARGS, 769*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Pkgs) each (5 Int) with count */ 770*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2_COUNT, ACPI_RTYPE_INTEGER, 0,0,0,0), 771*cb565728SJerry Jelinek 772*cb565728SJerry Jelinek {{"_PSE", METHOD_1ARGS (ACPI_TYPE_INTEGER), 773*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 774*cb565728SJerry Jelinek 775*cb565728SJerry Jelinek {{"_PSL", METHOD_0ARGS, 776*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 777*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 778*cb565728SJerry Jelinek 779*cb565728SJerry Jelinek {{"_PSR", METHOD_0ARGS, 780*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 781*cb565728SJerry Jelinek 782*cb565728SJerry Jelinek {{"_PSS", METHOD_0ARGS, 783*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Pkgs) each (6 Int) */ 784*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2, ACPI_RTYPE_INTEGER, 6,0,0,0), 785*cb565728SJerry Jelinek 786*cb565728SJerry Jelinek {{"_PSV", METHOD_0ARGS, 787*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 788*cb565728SJerry Jelinek 789*cb565728SJerry Jelinek {{"_PSW", METHOD_1ARGS (ACPI_TYPE_INTEGER), 790*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 791*cb565728SJerry Jelinek 792*cb565728SJerry Jelinek {{"_PTC", METHOD_0ARGS, 793*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (2 Buf) */ 794*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_BUFFER, 2,0,0,0), 795*cb565728SJerry Jelinek 796*cb565728SJerry Jelinek {{"_PTP", METHOD_2ARGS (ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER), 797*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 798*cb565728SJerry Jelinek 799*cb565728SJerry Jelinek {{"_PTS", METHOD_1ARGS (ACPI_TYPE_INTEGER), 800*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 801*cb565728SJerry Jelinek 802*cb565728SJerry Jelinek {{"_PUR", METHOD_0ARGS, 803*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (2 Int) */ 804*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 2,0,0,0), 805*cb565728SJerry Jelinek 806*cb565728SJerry Jelinek {{"_PXM", METHOD_0ARGS, 807*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 808*cb565728SJerry Jelinek 809*cb565728SJerry Jelinek {{"_RDI", METHOD_0ARGS, /* ACPI 6.0 */ 810*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (1 Int, n Pkg (m Ref)) */ 811*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2_VAR_VAR, ACPI_RTYPE_INTEGER, 1, 812*cb565728SJerry Jelinek ACPI_RTYPE_REFERENCE,0,0), 813*cb565728SJerry Jelinek 814*cb565728SJerry Jelinek {{"_REG", METHOD_2ARGS (ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER), 815*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 816*cb565728SJerry Jelinek 817*cb565728SJerry Jelinek {{"_REV", METHOD_0ARGS, 818*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 819*cb565728SJerry Jelinek 820*cb565728SJerry Jelinek {{"_RMV", METHOD_0ARGS, 821*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 822*cb565728SJerry Jelinek 823*cb565728SJerry Jelinek {{"_ROM", METHOD_2ARGS (ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER), 824*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_BUFFER)}}, 825*cb565728SJerry Jelinek 826*cb565728SJerry Jelinek {{"_RST", METHOD_0ARGS, /* ACPI 6.0 */ 827*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 828*cb565728SJerry Jelinek 829*cb565728SJerry Jelinek {{"_RTV", METHOD_0ARGS, 830*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 831aa2aa9a6SDana Myers 832aa2aa9a6SDana Myers /* 833aa2aa9a6SDana Myers * For _S0_ through _S5_, the ACPI spec defines a return Package 834aa2aa9a6SDana Myers * containing 1 Integer, but most DSDTs have it wrong - 2,3, or 4 integers. 835aa2aa9a6SDana Myers * Allow this by making the objects "Variable-length length", but all elements 836aa2aa9a6SDana Myers * must be Integers. 837aa2aa9a6SDana Myers */ 838*cb565728SJerry Jelinek {{"_S0_", METHOD_0ARGS, 839*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (1 Int) */ 840*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1,0,0,0), 841aa2aa9a6SDana Myers 842*cb565728SJerry Jelinek {{"_S1_", METHOD_0ARGS, 843*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (1 Int) */ 844*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1,0,0,0), 845aa2aa9a6SDana Myers 846*cb565728SJerry Jelinek {{"_S2_", METHOD_0ARGS, 847*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (1 Int) */ 848*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1,0,0,0), 849aa2aa9a6SDana Myers 850*cb565728SJerry Jelinek {{"_S3_", METHOD_0ARGS, 851*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (1 Int) */ 852*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1,0,0,0), 853aa2aa9a6SDana Myers 854*cb565728SJerry Jelinek {{"_S4_", METHOD_0ARGS, 855*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (1 Int) */ 856*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1,0,0,0), 857aa2aa9a6SDana Myers 858*cb565728SJerry Jelinek {{"_S5_", METHOD_0ARGS, 859*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (1 Int) */ 860*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1,0,0,0), 861aa2aa9a6SDana Myers 862*cb565728SJerry Jelinek {{"_S1D", METHOD_0ARGS, 863*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 864aa2aa9a6SDana Myers 865*cb565728SJerry Jelinek {{"_S2D", METHOD_0ARGS, 866*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 867aa2aa9a6SDana Myers 868*cb565728SJerry Jelinek {{"_S3D", METHOD_0ARGS, 869*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 870aa2aa9a6SDana Myers 871*cb565728SJerry Jelinek {{"_S4D", METHOD_0ARGS, 872*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 873aa2aa9a6SDana Myers 874*cb565728SJerry Jelinek {{"_S0W", METHOD_0ARGS, 875*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 876aa2aa9a6SDana Myers 877*cb565728SJerry Jelinek {{"_S1W", METHOD_0ARGS, 878*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 879*cb565728SJerry Jelinek 880*cb565728SJerry Jelinek {{"_S2W", METHOD_0ARGS, 881*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 882*cb565728SJerry Jelinek 883*cb565728SJerry Jelinek {{"_S3W", METHOD_0ARGS, 884*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 885*cb565728SJerry Jelinek 886*cb565728SJerry Jelinek {{"_S4W", METHOD_0ARGS, 887*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 888*cb565728SJerry Jelinek 889*cb565728SJerry Jelinek {{"_SBS", METHOD_0ARGS, 890*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 891*cb565728SJerry Jelinek 892*cb565728SJerry Jelinek {{"_SCP", METHOD_1ARGS (ACPI_TYPE_INTEGER) | ARG_COUNT_IS_MINIMUM, 893*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, /* Acpi 1.0 allowed 1 integer arg. Acpi 3.0 expanded to 3 args. Allow both. */ 894*cb565728SJerry Jelinek 895*cb565728SJerry Jelinek {{"_SDD", METHOD_1ARGS (ACPI_TYPE_BUFFER), 896*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 897*cb565728SJerry Jelinek 898*cb565728SJerry Jelinek {{"_SEG", METHOD_0ARGS, 899*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 900*cb565728SJerry Jelinek 901*cb565728SJerry Jelinek {{"_SHL", METHOD_1ARGS (ACPI_TYPE_INTEGER), 902*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 903*cb565728SJerry Jelinek 904*cb565728SJerry Jelinek {{"_SLI", METHOD_0ARGS, 905*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_BUFFER)}}, 906*cb565728SJerry Jelinek 907*cb565728SJerry Jelinek {{"_SPD", METHOD_1ARGS (ACPI_TYPE_INTEGER), 908*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 909*cb565728SJerry Jelinek 910*cb565728SJerry Jelinek {{"_SRS", METHOD_1ARGS (ACPI_TYPE_BUFFER), 911*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 912*cb565728SJerry Jelinek 913*cb565728SJerry Jelinek {{"_SRT", METHOD_1ARGS (ACPI_TYPE_BUFFER), 914*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 915*cb565728SJerry Jelinek 916*cb565728SJerry Jelinek {{"_SRV", METHOD_0ARGS, 917*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, /* See IPMI spec */ 918*cb565728SJerry Jelinek 919*cb565728SJerry Jelinek {{"_SST", METHOD_1ARGS (ACPI_TYPE_INTEGER), 920*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 921*cb565728SJerry Jelinek 922*cb565728SJerry Jelinek {{"_STA", METHOD_0ARGS, 923*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 924*cb565728SJerry Jelinek 925*cb565728SJerry Jelinek {{"_STM", METHOD_3ARGS (ACPI_TYPE_BUFFER, ACPI_TYPE_BUFFER, ACPI_TYPE_BUFFER), 926*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 927*cb565728SJerry Jelinek 928*cb565728SJerry Jelinek {{"_STP", METHOD_2ARGS (ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER), 929*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 930*cb565728SJerry Jelinek 931*cb565728SJerry Jelinek {{"_STR", METHOD_0ARGS, 932*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_BUFFER)}}, 933*cb565728SJerry Jelinek 934*cb565728SJerry Jelinek {{"_STV", METHOD_2ARGS (ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER), 935*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 936*cb565728SJerry Jelinek 937*cb565728SJerry Jelinek {{"_SUB", METHOD_0ARGS, 938*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_STRING)}}, 939*cb565728SJerry Jelinek 940*cb565728SJerry Jelinek {{"_SUN", METHOD_0ARGS, 941*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 942*cb565728SJerry Jelinek 943*cb565728SJerry Jelinek {{"_SWS", METHOD_0ARGS, 944*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 945*cb565728SJerry Jelinek 946*cb565728SJerry Jelinek {{"_TC1", METHOD_0ARGS, 947*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 948*cb565728SJerry Jelinek 949*cb565728SJerry Jelinek {{"_TC2", METHOD_0ARGS, 950*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 951*cb565728SJerry Jelinek 952*cb565728SJerry Jelinek {{"_TDL", METHOD_0ARGS, 953*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 954*cb565728SJerry Jelinek 955*cb565728SJerry Jelinek {{"_TFP", METHOD_0ARGS, /* ACPI 6.0 */ 956*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 957*cb565728SJerry Jelinek 958*cb565728SJerry Jelinek {{"_TIP", METHOD_1ARGS (ACPI_TYPE_INTEGER), 959*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 960*cb565728SJerry Jelinek 961*cb565728SJerry Jelinek {{"_TIV", METHOD_1ARGS (ACPI_TYPE_INTEGER), 962*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 963*cb565728SJerry Jelinek 964*cb565728SJerry Jelinek {{"_TMP", METHOD_0ARGS, 965*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 966*cb565728SJerry Jelinek 967*cb565728SJerry Jelinek {{"_TPC", METHOD_0ARGS, 968*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 969*cb565728SJerry Jelinek 970*cb565728SJerry Jelinek {{"_TPT", METHOD_1ARGS (ACPI_TYPE_INTEGER), 971*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 972*cb565728SJerry Jelinek 973*cb565728SJerry Jelinek {{"_TRT", METHOD_0ARGS, 974*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Pkgs) each 2 Ref/6 Int */ 975*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2, ACPI_RTYPE_REFERENCE, 2, ACPI_RTYPE_INTEGER, 6, 0), 976*cb565728SJerry Jelinek 977*cb565728SJerry Jelinek {{"_TSD", METHOD_0ARGS, 978*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Pkgs) each 5 Int with count */ 979*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2_COUNT,ACPI_RTYPE_INTEGER, 5,0,0,0), 980*cb565728SJerry Jelinek 981*cb565728SJerry Jelinek {{"_TSN", METHOD_0ARGS, /* ACPI 6.0 */ 982*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_REFERENCE)}}, 983*cb565728SJerry Jelinek 984*cb565728SJerry Jelinek {{"_TSP", METHOD_0ARGS, 985*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 986*cb565728SJerry Jelinek 987*cb565728SJerry Jelinek {{"_TSS", METHOD_0ARGS, 988*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Pkgs) each 5 Int */ 989*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE2, ACPI_RTYPE_INTEGER, 5,0,0,0), 990*cb565728SJerry Jelinek 991*cb565728SJerry Jelinek {{"_TST", METHOD_0ARGS, 992*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 993*cb565728SJerry Jelinek 994*cb565728SJerry Jelinek {{"_TTS", METHOD_1ARGS (ACPI_TYPE_INTEGER), 995*cb565728SJerry Jelinek METHOD_NO_RETURN_VALUE}}, 996*cb565728SJerry Jelinek 997*cb565728SJerry Jelinek {{"_TZD", METHOD_0ARGS, 998*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */ 999*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0,0,0), 1000*cb565728SJerry Jelinek 1001*cb565728SJerry Jelinek {{"_TZM", METHOD_0ARGS, 1002*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_REFERENCE)}}, 1003*cb565728SJerry Jelinek 1004*cb565728SJerry Jelinek {{"_TZP", METHOD_0ARGS, 1005*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 1006*cb565728SJerry Jelinek 1007*cb565728SJerry Jelinek {{"_UID", METHOD_0ARGS, 1008*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER | ACPI_RTYPE_STRING)}}, 1009*cb565728SJerry Jelinek 1010*cb565728SJerry Jelinek {{"_UPC", METHOD_0ARGS, 1011*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Fixed-length (4 Int) */ 1012*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 4,0,0,0), 1013*cb565728SJerry Jelinek 1014*cb565728SJerry Jelinek {{"_UPD", METHOD_0ARGS, 1015*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 1016*cb565728SJerry Jelinek 1017*cb565728SJerry Jelinek {{"_UPP", METHOD_0ARGS, 1018*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 1019*cb565728SJerry Jelinek 1020*cb565728SJerry Jelinek {{"_VPO", METHOD_0ARGS, 1021*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, 1022aa2aa9a6SDana Myers 1023aa2aa9a6SDana Myers /* Acpi 1.0 defined _WAK with no return value. Later, it was changed to return a package */ 1024aa2aa9a6SDana Myers 1025*cb565728SJerry Jelinek {{"_WAK", METHOD_1ARGS (ACPI_TYPE_INTEGER), 1026*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_NONE | ACPI_RTYPE_INTEGER | ACPI_RTYPE_PACKAGE)}}, 1027*cb565728SJerry Jelinek PACKAGE_INFO (ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 2,0,0,0), /* Fixed-length (2 Int), but is optional */ 1028aa2aa9a6SDana Myers 102926f3cdf0SGordon Ross /* _WDG/_WED are MS extensions defined by "Windows Instrumentation" */ 103026f3cdf0SGordon Ross 1031*cb565728SJerry Jelinek {{"_WDG", METHOD_0ARGS, 1032*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_BUFFER)}}, 103326f3cdf0SGordon Ross 1034*cb565728SJerry Jelinek {{"_WED", METHOD_1ARGS (ACPI_TYPE_INTEGER), 1035*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER | ACPI_RTYPE_STRING | ACPI_RTYPE_BUFFER)}}, 1036*cb565728SJerry Jelinek 1037*cb565728SJerry Jelinek {{"_WPC", METHOD_0ARGS, 1038*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, /* ACPI 6.1 */ 1039*cb565728SJerry Jelinek 1040*cb565728SJerry Jelinek {{"_WPP", METHOD_0ARGS, 1041*cb565728SJerry Jelinek METHOD_RETURNS (ACPI_RTYPE_INTEGER)}}, /* ACPI 6.1 */ 1042*cb565728SJerry Jelinek 1043*cb565728SJerry Jelinek PACKAGE_INFO (0,0,0,0,0,0) /* Table terminator */ 1044*cb565728SJerry Jelinek }; 1045*cb565728SJerry Jelinek #else 1046*cb565728SJerry Jelinek extern const ACPI_PREDEFINED_INFO AcpiGbl_PredefinedMethods[]; 1047*cb565728SJerry Jelinek #endif 1048*cb565728SJerry Jelinek 1049*cb565728SJerry Jelinek 1050*cb565728SJerry Jelinek #if (defined ACPI_CREATE_RESOURCE_TABLE && defined ACPI_APPLICATION) 1051*cb565728SJerry Jelinek /****************************************************************************** 1052*cb565728SJerry Jelinek * 1053*cb565728SJerry Jelinek * Predefined names for use in Resource Descriptors. These names do not 1054*cb565728SJerry Jelinek * appear in the global Predefined Name table (since these names never 1055*cb565728SJerry Jelinek * appear in actual AML byte code, only in the original ASL) 1056*cb565728SJerry Jelinek * 1057*cb565728SJerry Jelinek * Note: Used by iASL compiler and AcpiHelp utility only. 1058*cb565728SJerry Jelinek * 1059*cb565728SJerry Jelinek *****************************************************************************/ 1060*cb565728SJerry Jelinek 1061*cb565728SJerry Jelinek const ACPI_PREDEFINED_INFO AcpiGbl_ResourceNames[] = 1062*cb565728SJerry Jelinek { 1063*cb565728SJerry Jelinek {{"_ADR", WIDTH_16 | WIDTH_64, 0}}, 1064*cb565728SJerry Jelinek {{"_ALN", WIDTH_8 | WIDTH_16 | WIDTH_32, 0}}, 1065*cb565728SJerry Jelinek {{"_ASI", WIDTH_8, 0}}, 1066*cb565728SJerry Jelinek {{"_ASZ", WIDTH_8, 0}}, 1067*cb565728SJerry Jelinek {{"_ATT", WIDTH_64, 0}}, 1068*cb565728SJerry Jelinek {{"_BAS", WIDTH_16 | WIDTH_32, 0}}, 1069*cb565728SJerry Jelinek {{"_BM_", WIDTH_1, 0}}, 1070*cb565728SJerry Jelinek {{"_DBT", WIDTH_16, 0}}, /* Acpi 5.0 */ 1071*cb565728SJerry Jelinek {{"_DEC", WIDTH_1, 0}}, 1072*cb565728SJerry Jelinek {{"_DMA", WIDTH_8, 0}}, 1073*cb565728SJerry Jelinek {{"_DPL", WIDTH_1, 0}}, /* Acpi 5.0 */ 1074*cb565728SJerry Jelinek {{"_DRS", WIDTH_16, 0}}, /* Acpi 5.0 */ 1075*cb565728SJerry Jelinek {{"_END", WIDTH_1, 0}}, /* Acpi 5.0 */ 1076*cb565728SJerry Jelinek {{"_FLC", WIDTH_2, 0}}, /* Acpi 5.0 */ 1077*cb565728SJerry Jelinek {{"_GRA", WIDTH_ADDRESS, 0}}, 1078*cb565728SJerry Jelinek {{"_HE_", WIDTH_1, 0}}, 1079*cb565728SJerry Jelinek {{"_INT", WIDTH_16 | WIDTH_32, 0}}, 1080*cb565728SJerry Jelinek {{"_IOR", WIDTH_2, 0}}, /* Acpi 5.0 */ 1081*cb565728SJerry Jelinek {{"_LEN", WIDTH_8 | WIDTH_ADDRESS, 0}}, 1082*cb565728SJerry Jelinek {{"_LIN", WIDTH_8, 0}}, /* Acpi 5.0 */ 1083*cb565728SJerry Jelinek {{"_LL_", WIDTH_1, 0}}, 1084*cb565728SJerry Jelinek {{"_MAF", WIDTH_1, 0}}, 1085*cb565728SJerry Jelinek {{"_MAX", WIDTH_ADDRESS, 0}}, 1086*cb565728SJerry Jelinek {{"_MEM", WIDTH_2, 0}}, 1087*cb565728SJerry Jelinek {{"_MIF", WIDTH_1, 0}}, 1088*cb565728SJerry Jelinek {{"_MIN", WIDTH_ADDRESS, 0}}, 1089*cb565728SJerry Jelinek {{"_MOD", WIDTH_1, 0}}, /* Acpi 5.0 */ 1090*cb565728SJerry Jelinek {{"_MTP", WIDTH_2, 0}}, 1091*cb565728SJerry Jelinek {{"_PAR", WIDTH_8, 0}}, /* Acpi 5.0 */ 1092*cb565728SJerry Jelinek {{"_PHA", WIDTH_1, 0}}, /* Acpi 5.0 */ 1093*cb565728SJerry Jelinek {{"_PIN", WIDTH_16, 0}}, /* Acpi 5.0 */ 1094*cb565728SJerry Jelinek {{"_PPI", WIDTH_8, 0}}, /* Acpi 5.0 */ 1095*cb565728SJerry Jelinek {{"_POL", WIDTH_1 | WIDTH_2, 0}}, /* Acpi 5.0 */ 1096*cb565728SJerry Jelinek {{"_RBO", WIDTH_8, 0}}, 1097*cb565728SJerry Jelinek {{"_RBW", WIDTH_8, 0}}, 1098*cb565728SJerry Jelinek {{"_RNG", WIDTH_1, 0}}, 1099*cb565728SJerry Jelinek {{"_RT_", WIDTH_8, 0}}, /* Acpi 3.0 */ 1100*cb565728SJerry Jelinek {{"_RW_", WIDTH_1, 0}}, 1101*cb565728SJerry Jelinek {{"_RXL", WIDTH_16, 0}}, /* Acpi 5.0 */ 1102*cb565728SJerry Jelinek {{"_SHR", WIDTH_2, 0}}, 1103*cb565728SJerry Jelinek {{"_SIZ", WIDTH_2, 0}}, 1104*cb565728SJerry Jelinek {{"_SLV", WIDTH_1, 0}}, /* Acpi 5.0 */ 1105*cb565728SJerry Jelinek {{"_SPE", WIDTH_32, 0}}, /* Acpi 5.0 */ 1106*cb565728SJerry Jelinek {{"_STB", WIDTH_2, 0}}, /* Acpi 5.0 */ 1107*cb565728SJerry Jelinek {{"_TRA", WIDTH_ADDRESS, 0}}, 1108*cb565728SJerry Jelinek {{"_TRS", WIDTH_1, 0}}, 1109*cb565728SJerry Jelinek {{"_TSF", WIDTH_8, 0}}, /* Acpi 3.0 */ 1110*cb565728SJerry Jelinek {{"_TTP", WIDTH_1, 0}}, 1111*cb565728SJerry Jelinek {{"_TXL", WIDTH_16, 0}}, /* Acpi 5.0 */ 1112*cb565728SJerry Jelinek {{"_TYP", WIDTH_2 | WIDTH_16, 0}}, 1113*cb565728SJerry Jelinek {{"_VEN", VARIABLE_DATA, 0}}, /* Acpi 5.0 */ 1114*cb565728SJerry Jelinek PACKAGE_INFO (0,0,0,0,0,0) /* Table terminator */ 1115aa2aa9a6SDana Myers }; 1116aa2aa9a6SDana Myers 1117*cb565728SJerry Jelinek const ACPI_PREDEFINED_INFO AcpiGbl_ScopeNames[] = { 1118*cb565728SJerry Jelinek {{"_GPE", 0, 0}}, 1119*cb565728SJerry Jelinek {{"_PR_", 0, 0}}, 1120*cb565728SJerry Jelinek {{"_SB_", 0, 0}}, 1121*cb565728SJerry Jelinek {{"_SI_", 0, 0}}, 1122*cb565728SJerry Jelinek {{"_TZ_", 0, 0}}, 1123*cb565728SJerry Jelinek PACKAGE_INFO (0,0,0,0,0,0) /* Table terminator */ 1124*cb565728SJerry Jelinek }; 1125*cb565728SJerry Jelinek #else 1126*cb565728SJerry Jelinek extern const ACPI_PREDEFINED_INFO AcpiGbl_ResourceNames[]; 1127aa2aa9a6SDana Myers #endif 1128*cb565728SJerry Jelinek 1129aa2aa9a6SDana Myers #endif 1130