xref: /openbmc/linux/include/acpi/acnames.h (revision f4b57a3b)
144f6c012SRobert Moore /******************************************************************************
244f6c012SRobert Moore  *
344f6c012SRobert Moore  * Name: acnames.h - Global names and strings
444f6c012SRobert Moore  *
544f6c012SRobert Moore  *****************************************************************************/
644f6c012SRobert Moore 
744f6c012SRobert Moore /*
8b4e104eaSBob Moore  * Copyright (C) 2000 - 2011, Intel Corp.
944f6c012SRobert Moore  * All rights reserved.
1044f6c012SRobert Moore  *
1144f6c012SRobert Moore  * Redistribution and use in source and binary forms, with or without
1244f6c012SRobert Moore  * modification, are permitted provided that the following conditions
1344f6c012SRobert Moore  * are met:
1444f6c012SRobert Moore  * 1. Redistributions of source code must retain the above copyright
1544f6c012SRobert Moore  *    notice, this list of conditions, and the following disclaimer,
1644f6c012SRobert Moore  *    without modification.
1744f6c012SRobert Moore  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
1844f6c012SRobert Moore  *    substantially similar to the "NO WARRANTY" disclaimer below
1944f6c012SRobert Moore  *    ("Disclaimer") and any redistribution must be conditioned upon
2044f6c012SRobert Moore  *    including a substantially similar Disclaimer requirement for further
2144f6c012SRobert Moore  *    binary redistribution.
2244f6c012SRobert Moore  * 3. Neither the names of the above-listed copyright holders nor the names
2344f6c012SRobert Moore  *    of any contributors may be used to endorse or promote products derived
2444f6c012SRobert Moore  *    from this software without specific prior written permission.
2544f6c012SRobert Moore  *
2644f6c012SRobert Moore  * Alternatively, this software may be distributed under the terms of the
2744f6c012SRobert Moore  * GNU General Public License ("GPL") version 2 as published by the Free
2844f6c012SRobert Moore  * Software Foundation.
2944f6c012SRobert Moore  *
3044f6c012SRobert Moore  * NO WARRANTY
3144f6c012SRobert Moore  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
3244f6c012SRobert Moore  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
3344f6c012SRobert Moore  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
3444f6c012SRobert Moore  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
3544f6c012SRobert Moore  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
3644f6c012SRobert Moore  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
3744f6c012SRobert Moore  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3844f6c012SRobert Moore  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
3944f6c012SRobert Moore  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
4044f6c012SRobert Moore  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
4144f6c012SRobert Moore  * POSSIBILITY OF SUCH DAMAGES.
4244f6c012SRobert Moore  */
4344f6c012SRobert Moore 
4444f6c012SRobert Moore #ifndef __ACNAMES_H__
4544f6c012SRobert Moore #define __ACNAMES_H__
4644f6c012SRobert Moore 
4744f6c012SRobert Moore /* Method names - these methods can appear anywhere in the namespace */
4844f6c012SRobert Moore 
494efeeecdSBob Moore #define METHOD_NAME__SB_        "_SB_"
5044f6c012SRobert Moore #define METHOD_NAME__HID        "_HID"
5144f6c012SRobert Moore #define METHOD_NAME__CID        "_CID"
5244f6c012SRobert Moore #define METHOD_NAME__UID        "_UID"
5344f6c012SRobert Moore #define METHOD_NAME__ADR        "_ADR"
5444f6c012SRobert Moore #define METHOD_NAME__INI        "_INI"
5544f6c012SRobert Moore #define METHOD_NAME__STA        "_STA"
5644f6c012SRobert Moore #define METHOD_NAME__REG        "_REG"
5744f6c012SRobert Moore #define METHOD_NAME__SEG        "_SEG"
5844f6c012SRobert Moore #define METHOD_NAME__BBN        "_BBN"
5944f6c012SRobert Moore #define METHOD_NAME__PRT        "_PRT"
6044f6c012SRobert Moore #define METHOD_NAME__CRS        "_CRS"
6144f6c012SRobert Moore #define METHOD_NAME__PRS        "_PRS"
6225169b77SZhang Rui #define METHOD_NAME__AEI        "_AEI"
6344f6c012SRobert Moore #define METHOD_NAME__PRW        "_PRW"
6444f6c012SRobert Moore #define METHOD_NAME__SRS        "_SRS"
65f4b57a3bSJiang Liu #define METHOD_NAME__CBA        "_CBA"
6644f6c012SRobert Moore 
6744f6c012SRobert Moore /* Method names - these methods must appear at the namespace root */
6844f6c012SRobert Moore 
694efeeecdSBob Moore #define METHOD_PATHNAME__BFS    "\\_BFS"
704efeeecdSBob Moore #define METHOD_PATHNAME__GTS    "\\_GTS"
714efeeecdSBob Moore #define METHOD_PATHNAME__PTS    "\\_PTS"
724efeeecdSBob Moore #define METHOD_PATHNAME__SST    "\\_SI._SST"
734efeeecdSBob Moore #define METHOD_PATHNAME__WAK    "\\_WAK"
7444f6c012SRobert Moore 
7544f6c012SRobert Moore /* Definitions of the predefined namespace names  */
7644f6c012SRobert Moore 
7744f6c012SRobert Moore #define ACPI_UNKNOWN_NAME       (u32) 0x3F3F3F3F	/* Unknown name is "????" */
7844f6c012SRobert Moore #define ACPI_ROOT_NAME          (u32) 0x5F5F5F5C	/* Root name is    "\___" */
79a18ecf41SBob Moore 
80a18ecf41SBob Moore #define ACPI_PREFIX_MIXED       (u32) 0x69706341	/* "Acpi" */
81a18ecf41SBob Moore #define ACPI_PREFIX_LOWER       (u32) 0x69706361	/* "acpi" */
8244f6c012SRobert Moore 
8344f6c012SRobert Moore #define ACPI_NS_ROOT_PATH       "\\"
8444f6c012SRobert Moore 
8544f6c012SRobert Moore #endif				/* __ACNAMES_H__  */
86