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_phy_decode
[] = {
92 const char *acpi_gbl_rng_decode
[] = {
99 const char *acpi_gbl_rw_decode
[] = {
104 const char *acpi_gbl_shr_decode
[] = {
107 "ExclusiveAndWake", /* ACPI 5.0 */
108 "SharedAndWake" /* ACPI 5.0 */
111 const char *acpi_gbl_siz_decode
[] = {
118 const char *acpi_gbl_trs_decode
[] = {
123 const char *acpi_gbl_ttp_decode
[] = {
128 const char *acpi_gbl_typ_decode
[] = {
135 const char *acpi_gbl_ppc_decode
[] = {
142 const char *acpi_gbl_ior_decode
[] = {
144 "IoRestrictionInputOnly",
145 "IoRestrictionOutputOnly",
146 "IoRestrictionNoneAndPreserve"
149 const char *acpi_gbl_dts_decode
[] = {
158 /* GPIO connection type */
160 const char *acpi_gbl_ct_decode
[] = {
165 /* Serial bus type */
167 const char *acpi_gbl_sbt_decode
[] = {
168 "/* UNKNOWN serial bus type */",
175 /* I2C serial bus access mode */
177 const char *acpi_gbl_am_decode
[] = {
178 "AddressingMode7Bit",
179 "AddressingMode10Bit"
182 /* I2C serial bus slave mode */
184 const char *acpi_gbl_sm_decode
[] = {
185 "ControllerInitiated",
189 /* SPI serial bus wire mode */
191 const char *acpi_gbl_wm_decode
[] = {
196 /* SPI serial clock phase */
198 const char *acpi_gbl_cph_decode
[] = {
203 /* SPI serial bus clock polarity */
205 const char *acpi_gbl_cpo_decode
[] = {
210 /* SPI serial bus device polarity */
212 const char *acpi_gbl_dp_decode
[] = {
217 /* UART serial bus endian */
219 const char *acpi_gbl_ed_decode
[] = {
224 /* UART serial bus bits per byte */
226 const char *acpi_gbl_bpb_decode
[] = {
232 "/* UNKNOWN Bits per byte */",
233 "/* UNKNOWN Bits per byte */",
234 "/* UNKNOWN Bits per byte */"
237 /* UART serial bus stop bits */
239 const char *acpi_gbl_sb_decode
[] = {
242 "StopBitsOnePlusHalf",
246 /* UART serial bus flow control */
248 const char *acpi_gbl_fc_decode
[] = {
250 "FlowControlHardware",
252 "/* UNKNOWN flow control keyword */"
255 /* UART serial bus parity type */
257 const char *acpi_gbl_pt_decode
[] = {
263 "/* UNKNOWN parity keyword */",
264 "/* UNKNOWN parity keyword */",
265 "/* UNKNOWN parity keyword */"
268 /* pin_config type */
270 const char *acpi_gbl_ptyp_decode
[] = {
276 "Bias High Impedance",
284 "Input Schmitt Trigger",
287 const char *acpi_gbl_clock_input_mode
[] = {
292 const char *acpi_gbl_clock_input_scale
[] = {