1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
2 /*******************************************************************************
4 * Module Name: utresdecode - Resource descriptor keyword strings
6 ******************************************************************************/
12 #define _COMPONENT ACPI_UTILITIES
13 ACPI_MODULE_NAME("utresdecode")
15 #if defined (ACPI_DEBUG_OUTPUT) || \
16 defined (ACPI_DISASSEMBLER) || \
17 defined (ACPI_DEBUGGER)
19 * Strings used to decode resource descriptors.
20 * Used by both the disassembler and the debugger resource dump routines
22 const char *acpi_gbl_bm_decode
[] = {
27 const char *acpi_gbl_config_decode
[] = {
28 "0 - Good Configuration",
29 "1 - Acceptable Configuration",
30 "2 - Suboptimal Configuration",
31 "3 - ***Invalid Configuration***",
34 const char *acpi_gbl_consume_decode
[] = {
39 const char *acpi_gbl_dec_decode
[] = {
44 const char *acpi_gbl_he_decode
[] = {
49 const char *acpi_gbl_io_decode
[] = {
54 const char *acpi_gbl_ll_decode
[] = {
61 const char *acpi_gbl_max_decode
[] = {
66 const char *acpi_gbl_mem_decode
[] = {
73 const char *acpi_gbl_min_decode
[] = {
78 const char *acpi_gbl_mtp_decode
[] = {
80 "AddressRangeReserved",
85 const char *acpi_gbl_rng_decode
[] = {
92 const char *acpi_gbl_rw_decode
[] = {
97 const char *acpi_gbl_shr_decode
[] = {
100 "ExclusiveAndWake", /* ACPI 5.0 */
101 "SharedAndWake" /* ACPI 5.0 */
104 const char *acpi_gbl_siz_decode
[] = {
111 const char *acpi_gbl_trs_decode
[] = {
116 const char *acpi_gbl_ttp_decode
[] = {
121 const char *acpi_gbl_typ_decode
[] = {
128 const char *acpi_gbl_ppc_decode
[] = {
135 const char *acpi_gbl_ior_decode
[] = {
137 "IoRestrictionInputOnly",
138 "IoRestrictionOutputOnly",
139 "IoRestrictionNoneAndPreserve"
142 const char *acpi_gbl_dts_decode
[] = {
151 /* GPIO connection type */
153 const char *acpi_gbl_ct_decode
[] = {
158 /* Serial bus type */
160 const char *acpi_gbl_sbt_decode
[] = {
161 "/* UNKNOWN serial bus type */",
167 /* I2C serial bus access mode */
169 const char *acpi_gbl_am_decode
[] = {
170 "AddressingMode7Bit",
171 "AddressingMode10Bit"
174 /* I2C serial bus slave mode */
176 const char *acpi_gbl_sm_decode
[] = {
177 "ControllerInitiated",
181 /* SPI serial bus wire mode */
183 const char *acpi_gbl_wm_decode
[] = {
188 /* SPI serial clock phase */
190 const char *acpi_gbl_cph_decode
[] = {
195 /* SPI serial bus clock polarity */
197 const char *acpi_gbl_cpo_decode
[] = {
202 /* SPI serial bus device polarity */
204 const char *acpi_gbl_dp_decode
[] = {
209 /* UART serial bus endian */
211 const char *acpi_gbl_ed_decode
[] = {
216 /* UART serial bus bits per byte */
218 const char *acpi_gbl_bpb_decode
[] = {
224 "/* UNKNOWN Bits per byte */",
225 "/* UNKNOWN Bits per byte */",
226 "/* UNKNOWN Bits per byte */"
229 /* UART serial bus stop bits */
231 const char *acpi_gbl_sb_decode
[] = {
234 "StopBitsOnePlusHalf",
238 /* UART serial bus flow control */
240 const char *acpi_gbl_fc_decode
[] = {
242 "FlowControlHardware",
244 "/* UNKNOWN flow control keyword */"
247 /* UART serial bus parity type */
249 const char *acpi_gbl_pt_decode
[] = {
255 "/* UNKNOWN parity keyword */",
256 "/* UNKNOWN parity keyword */",
257 "/* UNKNOWN parity keyword */"
260 /* pin_config type */
262 const char *acpi_gbl_ptyp_decode
[] = {
268 "Bias High Impedance",
276 "Input Schmitt Trigger",