xref: /freebsd/sys/contrib/dev/acpica/components/utilities/utresdecode.c (revision 58308fadece25ae4c12bd2f4dce3d73d9c23be43)
1af051161SJung-uk Kim /*******************************************************************************
2af051161SJung-uk Kim  *
3af051161SJung-uk Kim  * Module Name: utresdecode - Resource descriptor keyword strings
4af051161SJung-uk Kim  *
5af051161SJung-uk Kim  ******************************************************************************/
6af051161SJung-uk Kim 
7af051161SJung-uk Kim /******************************************************************************
8af051161SJung-uk Kim  *
9af051161SJung-uk Kim  * 1. Copyright Notice
10af051161SJung-uk Kim  *
11*58308fadSJung-uk Kim  * Some or all of this work - Copyright (c) 1999 - 2025, Intel Corp.
12af051161SJung-uk Kim  * All rights reserved.
13af051161SJung-uk Kim  *
14af051161SJung-uk Kim  * 2. License
15af051161SJung-uk Kim  *
16af051161SJung-uk Kim  * 2.1. This is your license from Intel Corp. under its intellectual property
17af051161SJung-uk Kim  * rights. You may have additional license terms from the party that provided
18af051161SJung-uk Kim  * you this software, covering your right to use that party's intellectual
19af051161SJung-uk Kim  * property rights.
20af051161SJung-uk Kim  *
21af051161SJung-uk Kim  * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
22af051161SJung-uk Kim  * copy of the source code appearing in this file ("Covered Code") an
23af051161SJung-uk Kim  * irrevocable, perpetual, worldwide license under Intel's copyrights in the
24af051161SJung-uk Kim  * base code distributed originally by Intel ("Original Intel Code") to copy,
25af051161SJung-uk Kim  * make derivatives, distribute, use and display any portion of the Covered
26af051161SJung-uk Kim  * Code in any form, with the right to sublicense such rights; and
27af051161SJung-uk Kim  *
28af051161SJung-uk Kim  * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
29af051161SJung-uk Kim  * license (with the right to sublicense), under only those claims of Intel
30af051161SJung-uk Kim  * patents that are infringed by the Original Intel Code, to make, use, sell,
31af051161SJung-uk Kim  * offer to sell, and import the Covered Code and derivative works thereof
32af051161SJung-uk Kim  * solely to the minimum extent necessary to exercise the above copyright
33af051161SJung-uk Kim  * license, and in no event shall the patent license extend to any additions
34af051161SJung-uk Kim  * to or modifications of the Original Intel Code. No other license or right
35af051161SJung-uk Kim  * is granted directly or by implication, estoppel or otherwise;
36af051161SJung-uk Kim  *
37af051161SJung-uk Kim  * The above copyright and patent license is granted only if the following
38af051161SJung-uk Kim  * conditions are met:
39af051161SJung-uk Kim  *
40af051161SJung-uk Kim  * 3. Conditions
41af051161SJung-uk Kim  *
42af051161SJung-uk Kim  * 3.1. Redistribution of Source with Rights to Further Distribute Source.
43af051161SJung-uk Kim  * Redistribution of source code of any substantial portion of the Covered
44af051161SJung-uk Kim  * Code or modification with rights to further distribute source must include
45af051161SJung-uk Kim  * the above Copyright Notice, the above License, this list of Conditions,
46af051161SJung-uk Kim  * and the following Disclaimer and Export Compliance provision. In addition,
47af051161SJung-uk Kim  * Licensee must cause all Covered Code to which Licensee contributes to
48af051161SJung-uk Kim  * contain a file documenting the changes Licensee made to create that Covered
49af051161SJung-uk Kim  * Code and the date of any change. Licensee must include in that file the
50af051161SJung-uk Kim  * documentation of any changes made by any predecessor Licensee. Licensee
51af051161SJung-uk Kim  * must include a prominent statement that the modification is derived,
52af051161SJung-uk Kim  * directly or indirectly, from Original Intel Code.
53af051161SJung-uk Kim  *
54af051161SJung-uk Kim  * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
55af051161SJung-uk Kim  * Redistribution of source code of any substantial portion of the Covered
56af051161SJung-uk Kim  * Code or modification without rights to further distribute source must
57af051161SJung-uk Kim  * include the following Disclaimer and Export Compliance provision in the
58af051161SJung-uk Kim  * documentation and/or other materials provided with distribution. In
59af051161SJung-uk Kim  * addition, Licensee may not authorize further sublicense of source of any
60af051161SJung-uk Kim  * portion of the Covered Code, and must include terms to the effect that the
61af051161SJung-uk Kim  * license from Licensee to its licensee is limited to the intellectual
62af051161SJung-uk Kim  * property embodied in the software Licensee provides to its licensee, and
63af051161SJung-uk Kim  * not to intellectual property embodied in modifications its licensee may
64af051161SJung-uk Kim  * make.
65af051161SJung-uk Kim  *
66af051161SJung-uk Kim  * 3.3. Redistribution of Executable. Redistribution in executable form of any
67af051161SJung-uk Kim  * substantial portion of the Covered Code or modification must reproduce the
68af051161SJung-uk Kim  * above Copyright Notice, and the following Disclaimer and Export Compliance
69af051161SJung-uk Kim  * provision in the documentation and/or other materials provided with the
70af051161SJung-uk Kim  * distribution.
71af051161SJung-uk Kim  *
72af051161SJung-uk Kim  * 3.4. Intel retains all right, title, and interest in and to the Original
73af051161SJung-uk Kim  * Intel Code.
74af051161SJung-uk Kim  *
75af051161SJung-uk Kim  * 3.5. Neither the name Intel nor any other trademark owned or controlled by
76af051161SJung-uk Kim  * Intel shall be used in advertising or otherwise to promote the sale, use or
77af051161SJung-uk Kim  * other dealings in products derived from or relating to the Covered Code
78af051161SJung-uk Kim  * without prior written authorization from Intel.
79af051161SJung-uk Kim  *
80af051161SJung-uk Kim  * 4. Disclaimer and Export Compliance
81af051161SJung-uk Kim  *
82af051161SJung-uk Kim  * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
83af051161SJung-uk Kim  * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
84af051161SJung-uk Kim  * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
85af051161SJung-uk Kim  * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
86af051161SJung-uk Kim  * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
87af051161SJung-uk Kim  * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
88af051161SJung-uk Kim  * PARTICULAR PURPOSE.
89af051161SJung-uk Kim  *
90af051161SJung-uk Kim  * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
91af051161SJung-uk Kim  * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
92af051161SJung-uk Kim  * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
93af051161SJung-uk Kim  * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
94af051161SJung-uk Kim  * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
95af051161SJung-uk Kim  * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
96af051161SJung-uk Kim  * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
97af051161SJung-uk Kim  * LIMITED REMEDY.
98af051161SJung-uk Kim  *
99af051161SJung-uk Kim  * 4.3. Licensee shall not export, either directly or indirectly, any of this
100af051161SJung-uk Kim  * software or system incorporating such software without first obtaining any
101af051161SJung-uk Kim  * required license or other approval from the U. S. Department of Commerce or
102af051161SJung-uk Kim  * any other agency or department of the United States Government. In the
103af051161SJung-uk Kim  * event Licensee exports any such software from the United States or
104af051161SJung-uk Kim  * re-exports any such software from a foreign destination, Licensee shall
105af051161SJung-uk Kim  * ensure that the distribution and export/re-export of the software is in
106af051161SJung-uk Kim  * compliance with all laws, regulations, orders, or other restrictions of the
107af051161SJung-uk Kim  * U.S. Export Administration Regulations. Licensee agrees that neither it nor
108af051161SJung-uk Kim  * any of its subsidiaries will export/re-export any technical data, process,
109af051161SJung-uk Kim  * software, or service, directly or indirectly, to any country for which the
110af051161SJung-uk Kim  * United States government or any agency thereof requires an export license,
111af051161SJung-uk Kim  * other governmental approval, or letter of assurance, without first obtaining
112af051161SJung-uk Kim  * such license, approval or letter.
113af051161SJung-uk Kim  *
114af051161SJung-uk Kim  *****************************************************************************
115af051161SJung-uk Kim  *
116af051161SJung-uk Kim  * Alternatively, you may choose to be licensed under the terms of the
117af051161SJung-uk Kim  * following license:
118af051161SJung-uk Kim  *
119af051161SJung-uk Kim  * Redistribution and use in source and binary forms, with or without
120af051161SJung-uk Kim  * modification, are permitted provided that the following conditions
121af051161SJung-uk Kim  * are met:
122af051161SJung-uk Kim  * 1. Redistributions of source code must retain the above copyright
123af051161SJung-uk Kim  *    notice, this list of conditions, and the following disclaimer,
124af051161SJung-uk Kim  *    without modification.
125af051161SJung-uk Kim  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
126af051161SJung-uk Kim  *    substantially similar to the "NO WARRANTY" disclaimer below
127af051161SJung-uk Kim  *    ("Disclaimer") and any redistribution must be conditioned upon
128af051161SJung-uk Kim  *    including a substantially similar Disclaimer requirement for further
129af051161SJung-uk Kim  *    binary redistribution.
130af051161SJung-uk Kim  * 3. Neither the names of the above-listed copyright holders nor the names
131af051161SJung-uk Kim  *    of any contributors may be used to endorse or promote products derived
132af051161SJung-uk Kim  *    from this software without specific prior written permission.
133af051161SJung-uk Kim  *
134af051161SJung-uk Kim  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
135af051161SJung-uk Kim  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
136af051161SJung-uk Kim  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
137af051161SJung-uk Kim  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
138af051161SJung-uk Kim  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
139af051161SJung-uk Kim  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
140af051161SJung-uk Kim  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
141af051161SJung-uk Kim  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
142af051161SJung-uk Kim  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
143af051161SJung-uk Kim  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
144af051161SJung-uk Kim  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
145af051161SJung-uk Kim  *
146af051161SJung-uk Kim  * Alternatively, you may choose to be licensed under the terms of the
147af051161SJung-uk Kim  * GNU General Public License ("GPL") version 2 as published by the Free
148af051161SJung-uk Kim  * Software Foundation.
149af051161SJung-uk Kim  *
150af051161SJung-uk Kim  *****************************************************************************/
151af051161SJung-uk Kim 
152af051161SJung-uk Kim #include <contrib/dev/acpica/include/acpi.h>
153af051161SJung-uk Kim #include <contrib/dev/acpica/include/accommon.h>
154af051161SJung-uk Kim #include <contrib/dev/acpica/include/acresrc.h>
155af051161SJung-uk Kim 
156af051161SJung-uk Kim 
157af051161SJung-uk Kim #define _COMPONENT          ACPI_UTILITIES
158af051161SJung-uk Kim         ACPI_MODULE_NAME    ("utresdecode")
159af051161SJung-uk Kim 
160af051161SJung-uk Kim 
161af051161SJung-uk Kim #if defined (ACPI_DEBUG_OUTPUT) || \
162af051161SJung-uk Kim     defined (ACPI_DISASSEMBLER) || \
163af051161SJung-uk Kim     defined (ACPI_DEBUGGER)
164af051161SJung-uk Kim 
165af051161SJung-uk Kim /*
166af051161SJung-uk Kim  * Strings used to decode resource descriptors.
167af051161SJung-uk Kim  * Used by both the disassembler and the debugger resource dump routines
168af051161SJung-uk Kim  */
169af051161SJung-uk Kim const char                      *AcpiGbl_BmDecode[] =
170af051161SJung-uk Kim {
171af051161SJung-uk Kim     "NotBusMaster",
172af051161SJung-uk Kim     "BusMaster"
173af051161SJung-uk Kim };
174af051161SJung-uk Kim 
175af051161SJung-uk Kim const char                      *AcpiGbl_ConfigDecode[] =
176af051161SJung-uk Kim {
177af051161SJung-uk Kim     "0 - Good Configuration",
178af051161SJung-uk Kim     "1 - Acceptable Configuration",
179af051161SJung-uk Kim     "2 - Suboptimal Configuration",
180af051161SJung-uk Kim     "3 - ***Invalid Configuration***",
181af051161SJung-uk Kim };
182af051161SJung-uk Kim 
183af051161SJung-uk Kim const char                      *AcpiGbl_ConsumeDecode[] =
184af051161SJung-uk Kim {
185af051161SJung-uk Kim     "ResourceProducer",
186af051161SJung-uk Kim     "ResourceConsumer"
187af051161SJung-uk Kim };
188af051161SJung-uk Kim 
189af051161SJung-uk Kim const char                      *AcpiGbl_DecDecode[] =
190af051161SJung-uk Kim {
191af051161SJung-uk Kim     "PosDecode",
192af051161SJung-uk Kim     "SubDecode"
193af051161SJung-uk Kim };
194af051161SJung-uk Kim 
195af051161SJung-uk Kim const char                      *AcpiGbl_HeDecode[] =
196af051161SJung-uk Kim {
197af051161SJung-uk Kim     "Level",
198af051161SJung-uk Kim     "Edge"
199af051161SJung-uk Kim };
200af051161SJung-uk Kim 
201af051161SJung-uk Kim const char                      *AcpiGbl_IoDecode[] =
202af051161SJung-uk Kim {
203af051161SJung-uk Kim     "Decode10",
204af051161SJung-uk Kim     "Decode16"
205af051161SJung-uk Kim };
206af051161SJung-uk Kim 
207af051161SJung-uk Kim const char                      *AcpiGbl_LlDecode[] =
208af051161SJung-uk Kim {
209af051161SJung-uk Kim     "ActiveHigh",
210af051161SJung-uk Kim     "ActiveLow",
211af051161SJung-uk Kim     "ActiveBoth",
212af051161SJung-uk Kim     "Reserved"
213af051161SJung-uk Kim };
214af051161SJung-uk Kim 
215af051161SJung-uk Kim const char                      *AcpiGbl_MaxDecode[] =
216af051161SJung-uk Kim {
217af051161SJung-uk Kim     "MaxNotFixed",
218af051161SJung-uk Kim     "MaxFixed"
219af051161SJung-uk Kim };
220af051161SJung-uk Kim 
221af051161SJung-uk Kim const char                      *AcpiGbl_MemDecode[] =
222af051161SJung-uk Kim {
223af051161SJung-uk Kim     "NonCacheable",
224af051161SJung-uk Kim     "Cacheable",
225af051161SJung-uk Kim     "WriteCombining",
226af051161SJung-uk Kim     "Prefetchable"
227af051161SJung-uk Kim };
228af051161SJung-uk Kim 
229af051161SJung-uk Kim const char                      *AcpiGbl_MinDecode[] =
230af051161SJung-uk Kim {
231af051161SJung-uk Kim     "MinNotFixed",
232af051161SJung-uk Kim     "MinFixed"
233af051161SJung-uk Kim };
234af051161SJung-uk Kim 
235af051161SJung-uk Kim const char                      *AcpiGbl_MtpDecode[] =
236af051161SJung-uk Kim {
237af051161SJung-uk Kim     "AddressRangeMemory",
238af051161SJung-uk Kim     "AddressRangeReserved",
239af051161SJung-uk Kim     "AddressRangeACPI",
240af051161SJung-uk Kim     "AddressRangeNVS"
241af051161SJung-uk Kim };
242af051161SJung-uk Kim 
243cfd1ed46SJung-uk Kim const char                      *AcpiGbl_PhyDecode[] =
244cfd1ed46SJung-uk Kim {
245cfd1ed46SJung-uk Kim     "Type C",
246cfd1ed46SJung-uk Kim     "Type D",
247cfd1ed46SJung-uk Kim     "Unknown Type",
248cfd1ed46SJung-uk Kim     "Unknown Type"
249cfd1ed46SJung-uk Kim };
250cfd1ed46SJung-uk Kim 
251af051161SJung-uk Kim const char                      *AcpiGbl_RngDecode[] =
252af051161SJung-uk Kim {
253af051161SJung-uk Kim     "InvalidRanges",
254af051161SJung-uk Kim     "NonISAOnlyRanges",
255af051161SJung-uk Kim     "ISAOnlyRanges",
256af051161SJung-uk Kim     "EntireRange"
257af051161SJung-uk Kim };
258af051161SJung-uk Kim 
259af051161SJung-uk Kim const char                      *AcpiGbl_RwDecode[] =
260af051161SJung-uk Kim {
261af051161SJung-uk Kim     "ReadOnly",
262af051161SJung-uk Kim     "ReadWrite"
263af051161SJung-uk Kim };
264af051161SJung-uk Kim 
265af051161SJung-uk Kim const char                      *AcpiGbl_ShrDecode[] =
266af051161SJung-uk Kim {
267af051161SJung-uk Kim     "Exclusive",
268af051161SJung-uk Kim     "Shared",
269af051161SJung-uk Kim     "ExclusiveAndWake",         /* ACPI 5.0 */
270af051161SJung-uk Kim     "SharedAndWake"             /* ACPI 5.0 */
271af051161SJung-uk Kim };
272af051161SJung-uk Kim 
273af051161SJung-uk Kim const char                      *AcpiGbl_SizDecode[] =
274af051161SJung-uk Kim {
275af051161SJung-uk Kim     "Transfer8",
276af051161SJung-uk Kim     "Transfer8_16",
277af051161SJung-uk Kim     "Transfer16",
278af051161SJung-uk Kim     "InvalidSize"
279af051161SJung-uk Kim };
280af051161SJung-uk Kim 
281af051161SJung-uk Kim const char                      *AcpiGbl_TrsDecode[] =
282af051161SJung-uk Kim {
283af051161SJung-uk Kim     "DenseTranslation",
284af051161SJung-uk Kim     "SparseTranslation"
285af051161SJung-uk Kim };
286af051161SJung-uk Kim 
287af051161SJung-uk Kim const char                      *AcpiGbl_TtpDecode[] =
288af051161SJung-uk Kim {
289af051161SJung-uk Kim     "TypeStatic",
290af051161SJung-uk Kim     "TypeTranslation"
291af051161SJung-uk Kim };
292af051161SJung-uk Kim 
293af051161SJung-uk Kim const char                      *AcpiGbl_TypDecode[] =
294af051161SJung-uk Kim {
295af051161SJung-uk Kim     "Compatibility",
296af051161SJung-uk Kim     "TypeA",
297af051161SJung-uk Kim     "TypeB",
298af051161SJung-uk Kim     "TypeF"
299af051161SJung-uk Kim };
300af051161SJung-uk Kim 
301af051161SJung-uk Kim const char                      *AcpiGbl_PpcDecode[] =
302af051161SJung-uk Kim {
303af051161SJung-uk Kim     "PullDefault",
304af051161SJung-uk Kim     "PullUp",
305af051161SJung-uk Kim     "PullDown",
306af051161SJung-uk Kim     "PullNone"
307af051161SJung-uk Kim };
308af051161SJung-uk Kim 
309af051161SJung-uk Kim const char                      *AcpiGbl_IorDecode[] =
310af051161SJung-uk Kim {
311af051161SJung-uk Kim     "IoRestrictionNone",
312af051161SJung-uk Kim     "IoRestrictionInputOnly",
313af051161SJung-uk Kim     "IoRestrictionOutputOnly",
314af051161SJung-uk Kim     "IoRestrictionNoneAndPreserve"
315af051161SJung-uk Kim };
316af051161SJung-uk Kim 
317af051161SJung-uk Kim const char                      *AcpiGbl_DtsDecode[] =
318af051161SJung-uk Kim {
319af051161SJung-uk Kim     "Width8bit",
320af051161SJung-uk Kim     "Width16bit",
321af051161SJung-uk Kim     "Width32bit",
322af051161SJung-uk Kim     "Width64bit",
323af051161SJung-uk Kim     "Width128bit",
324af051161SJung-uk Kim     "Width256bit",
325af051161SJung-uk Kim };
326af051161SJung-uk Kim 
327af051161SJung-uk Kim /* GPIO connection type */
328af051161SJung-uk Kim 
329af051161SJung-uk Kim const char                      *AcpiGbl_CtDecode[] =
330af051161SJung-uk Kim {
331af051161SJung-uk Kim     "Interrupt",
332af051161SJung-uk Kim     "I/O"
333af051161SJung-uk Kim };
334af051161SJung-uk Kim 
335af051161SJung-uk Kim /* Serial bus type */
336af051161SJung-uk Kim 
337af051161SJung-uk Kim const char                      *AcpiGbl_SbtDecode[] =
338af051161SJung-uk Kim {
339af051161SJung-uk Kim     "/* UNKNOWN serial bus type */",
340af051161SJung-uk Kim     "I2C",
341af051161SJung-uk Kim     "SPI",
342cfd1ed46SJung-uk Kim     "UART",
343cfd1ed46SJung-uk Kim     "CSI2"
344af051161SJung-uk Kim };
345af051161SJung-uk Kim 
346af051161SJung-uk Kim /* I2C serial bus access mode */
347af051161SJung-uk Kim 
348af051161SJung-uk Kim const char                      *AcpiGbl_AmDecode[] =
349af051161SJung-uk Kim {
350af051161SJung-uk Kim     "AddressingMode7Bit",
351af051161SJung-uk Kim     "AddressingMode10Bit"
352af051161SJung-uk Kim };
353af051161SJung-uk Kim 
354af051161SJung-uk Kim /* I2C serial bus slave mode */
355af051161SJung-uk Kim 
356af051161SJung-uk Kim const char                      *AcpiGbl_SmDecode[] =
357af051161SJung-uk Kim {
358af051161SJung-uk Kim     "ControllerInitiated",
359af051161SJung-uk Kim     "DeviceInitiated"
360af051161SJung-uk Kim };
361af051161SJung-uk Kim 
362af051161SJung-uk Kim /* SPI serial bus wire mode */
363af051161SJung-uk Kim 
364af051161SJung-uk Kim const char                      *AcpiGbl_WmDecode[] =
365af051161SJung-uk Kim {
366af051161SJung-uk Kim     "FourWireMode",
367af051161SJung-uk Kim     "ThreeWireMode"
368af051161SJung-uk Kim };
369af051161SJung-uk Kim 
370af051161SJung-uk Kim /* SPI serial clock phase */
371af051161SJung-uk Kim 
372af051161SJung-uk Kim const char                      *AcpiGbl_CphDecode[] =
373af051161SJung-uk Kim {
374af051161SJung-uk Kim     "ClockPhaseFirst",
375af051161SJung-uk Kim     "ClockPhaseSecond"
376af051161SJung-uk Kim };
377af051161SJung-uk Kim 
378af051161SJung-uk Kim /* SPI serial bus clock polarity */
379af051161SJung-uk Kim 
380af051161SJung-uk Kim const char                      *AcpiGbl_CpoDecode[] =
381af051161SJung-uk Kim {
382af051161SJung-uk Kim     "ClockPolarityLow",
383af051161SJung-uk Kim     "ClockPolarityHigh"
384af051161SJung-uk Kim };
385af051161SJung-uk Kim 
386af051161SJung-uk Kim /* SPI serial bus device polarity */
387af051161SJung-uk Kim 
388af051161SJung-uk Kim const char                      *AcpiGbl_DpDecode[] =
389af051161SJung-uk Kim {
390af051161SJung-uk Kim     "PolarityLow",
391af051161SJung-uk Kim     "PolarityHigh"
392af051161SJung-uk Kim };
393af051161SJung-uk Kim 
394af051161SJung-uk Kim /* UART serial bus endian */
395af051161SJung-uk Kim 
396af051161SJung-uk Kim const char                      *AcpiGbl_EdDecode[] =
397af051161SJung-uk Kim {
398af051161SJung-uk Kim     "LittleEndian",
399af051161SJung-uk Kim     "BigEndian"
400af051161SJung-uk Kim };
401af051161SJung-uk Kim 
402af051161SJung-uk Kim /* UART serial bus bits per byte */
403af051161SJung-uk Kim 
404af051161SJung-uk Kim const char                      *AcpiGbl_BpbDecode[] =
405af051161SJung-uk Kim {
406af051161SJung-uk Kim     "DataBitsFive",
407af051161SJung-uk Kim     "DataBitsSix",
408af051161SJung-uk Kim     "DataBitsSeven",
409af051161SJung-uk Kim     "DataBitsEight",
410af051161SJung-uk Kim     "DataBitsNine",
411af051161SJung-uk Kim     "/* UNKNOWN Bits per byte */",
412af051161SJung-uk Kim     "/* UNKNOWN Bits per byte */",
413af051161SJung-uk Kim     "/* UNKNOWN Bits per byte */"
414af051161SJung-uk Kim };
415af051161SJung-uk Kim 
416af051161SJung-uk Kim /* UART serial bus stop bits */
417af051161SJung-uk Kim 
418af051161SJung-uk Kim const char                      *AcpiGbl_SbDecode[] =
419af051161SJung-uk Kim {
420af051161SJung-uk Kim     "StopBitsZero",
421af051161SJung-uk Kim     "StopBitsOne",
422af051161SJung-uk Kim     "StopBitsOnePlusHalf",
423af051161SJung-uk Kim     "StopBitsTwo"
424af051161SJung-uk Kim };
425af051161SJung-uk Kim 
426af051161SJung-uk Kim /* UART serial bus flow control */
427af051161SJung-uk Kim 
428af051161SJung-uk Kim const char                      *AcpiGbl_FcDecode[] =
429af051161SJung-uk Kim {
430af051161SJung-uk Kim     "FlowControlNone",
431af051161SJung-uk Kim     "FlowControlHardware",
432af051161SJung-uk Kim     "FlowControlXON",
433af051161SJung-uk Kim     "/* UNKNOWN flow control keyword */"
434af051161SJung-uk Kim };
435af051161SJung-uk Kim 
436af051161SJung-uk Kim /* UART serial bus parity type */
437af051161SJung-uk Kim 
438af051161SJung-uk Kim const char                      *AcpiGbl_PtDecode[] =
439af051161SJung-uk Kim {
440af051161SJung-uk Kim     "ParityTypeNone",
441af051161SJung-uk Kim     "ParityTypeEven",
442af051161SJung-uk Kim     "ParityTypeOdd",
443af051161SJung-uk Kim     "ParityTypeMark",
444af051161SJung-uk Kim     "ParityTypeSpace",
445af051161SJung-uk Kim     "/* UNKNOWN parity keyword */",
446af051161SJung-uk Kim     "/* UNKNOWN parity keyword */",
447af051161SJung-uk Kim     "/* UNKNOWN parity keyword */"
448af051161SJung-uk Kim };
449af051161SJung-uk Kim 
450af051161SJung-uk Kim /* PinConfig type */
451af051161SJung-uk Kim 
452af051161SJung-uk Kim const char                      *AcpiGbl_PtypDecode[] =
453af051161SJung-uk Kim {
454af051161SJung-uk Kim     "Default",
455af051161SJung-uk Kim     "Bias Pull-up",
456af051161SJung-uk Kim     "Bias Pull-down",
457af051161SJung-uk Kim     "Bias Default",
458af051161SJung-uk Kim     "Bias Disable",
459af051161SJung-uk Kim     "Bias High Impedance",
460af051161SJung-uk Kim     "Bias Bus Hold",
461af051161SJung-uk Kim     "Drive Open Drain",
462af051161SJung-uk Kim     "Drive Open Source",
463af051161SJung-uk Kim     "Drive Push Pull",
464af051161SJung-uk Kim     "Drive Strength",
465af051161SJung-uk Kim     "Slew Rate",
466af051161SJung-uk Kim     "Input Debounce",
467af051161SJung-uk Kim     "Input Schmitt Trigger",
468af051161SJung-uk Kim };
469af051161SJung-uk Kim 
470722b1667SJung-uk Kim const char                      *AcpiGbl_ClockInputMode[] =
471722b1667SJung-uk Kim {
472722b1667SJung-uk Kim     "Fixed",
473722b1667SJung-uk Kim     "Variable",
474722b1667SJung-uk Kim };
475722b1667SJung-uk Kim 
476722b1667SJung-uk Kim const char                      *AcpiGbl_ClockInputScale[] =
477722b1667SJung-uk Kim {
478722b1667SJung-uk Kim     "Hz",
479722b1667SJung-uk Kim     "KHz",
480722b1667SJung-uk Kim     "MHz",
481722b1667SJung-uk Kim };
482722b1667SJung-uk Kim 
483af051161SJung-uk Kim #endif
484