0001
0002
0003
0004
0005
0006
0007
0008 #include <acpi/acpi.h>
0009 #include "accommon.h"
0010 #include "acresrc.h"
0011
0012 #define _COMPONENT ACPI_UTILITIES
0013 ACPI_MODULE_NAME("utresdecode")
0014
0015 #if defined (ACPI_DEBUG_OUTPUT) || \
0016 defined (ACPI_DISASSEMBLER) || \
0017 defined (ACPI_DEBUGGER)
0018
0019
0020
0021
0022 const char *acpi_gbl_bm_decode[] = {
0023 "NotBusMaster",
0024 "BusMaster"
0025 };
0026
0027 const char *acpi_gbl_config_decode[] = {
0028 "0 - Good Configuration",
0029 "1 - Acceptable Configuration",
0030 "2 - Suboptimal Configuration",
0031 "3 - ***Invalid Configuration***",
0032 };
0033
0034 const char *acpi_gbl_consume_decode[] = {
0035 "ResourceProducer",
0036 "ResourceConsumer"
0037 };
0038
0039 const char *acpi_gbl_dec_decode[] = {
0040 "PosDecode",
0041 "SubDecode"
0042 };
0043
0044 const char *acpi_gbl_he_decode[] = {
0045 "Level",
0046 "Edge"
0047 };
0048
0049 const char *acpi_gbl_io_decode[] = {
0050 "Decode10",
0051 "Decode16"
0052 };
0053
0054 const char *acpi_gbl_ll_decode[] = {
0055 "ActiveHigh",
0056 "ActiveLow",
0057 "ActiveBoth",
0058 "Reserved"
0059 };
0060
0061 const char *acpi_gbl_max_decode[] = {
0062 "MaxNotFixed",
0063 "MaxFixed"
0064 };
0065
0066 const char *acpi_gbl_mem_decode[] = {
0067 "NonCacheable",
0068 "Cacheable",
0069 "WriteCombining",
0070 "Prefetchable"
0071 };
0072
0073 const char *acpi_gbl_min_decode[] = {
0074 "MinNotFixed",
0075 "MinFixed"
0076 };
0077
0078 const char *acpi_gbl_mtp_decode[] = {
0079 "AddressRangeMemory",
0080 "AddressRangeReserved",
0081 "AddressRangeACPI",
0082 "AddressRangeNVS"
0083 };
0084
0085 const char *acpi_gbl_phy_decode[] = {
0086 "Type C",
0087 "Type D",
0088 "Unknown Type",
0089 "Unknown Type"
0090 };
0091
0092 const char *acpi_gbl_rng_decode[] = {
0093 "InvalidRanges",
0094 "NonISAOnlyRanges",
0095 "ISAOnlyRanges",
0096 "EntireRange"
0097 };
0098
0099 const char *acpi_gbl_rw_decode[] = {
0100 "ReadOnly",
0101 "ReadWrite"
0102 };
0103
0104 const char *acpi_gbl_shr_decode[] = {
0105 "Exclusive",
0106 "Shared",
0107 "ExclusiveAndWake",
0108 "SharedAndWake"
0109 };
0110
0111 const char *acpi_gbl_siz_decode[] = {
0112 "Transfer8",
0113 "Transfer8_16",
0114 "Transfer16",
0115 "InvalidSize"
0116 };
0117
0118 const char *acpi_gbl_trs_decode[] = {
0119 "DenseTranslation",
0120 "SparseTranslation"
0121 };
0122
0123 const char *acpi_gbl_ttp_decode[] = {
0124 "TypeStatic",
0125 "TypeTranslation"
0126 };
0127
0128 const char *acpi_gbl_typ_decode[] = {
0129 "Compatibility",
0130 "TypeA",
0131 "TypeB",
0132 "TypeF"
0133 };
0134
0135 const char *acpi_gbl_ppc_decode[] = {
0136 "PullDefault",
0137 "PullUp",
0138 "PullDown",
0139 "PullNone"
0140 };
0141
0142 const char *acpi_gbl_ior_decode[] = {
0143 "IoRestrictionNone",
0144 "IoRestrictionInputOnly",
0145 "IoRestrictionOutputOnly",
0146 "IoRestrictionNoneAndPreserve"
0147 };
0148
0149 const char *acpi_gbl_dts_decode[] = {
0150 "Width8bit",
0151 "Width16bit",
0152 "Width32bit",
0153 "Width64bit",
0154 "Width128bit",
0155 "Width256bit",
0156 };
0157
0158
0159
0160 const char *acpi_gbl_ct_decode[] = {
0161 "Interrupt",
0162 "I/O"
0163 };
0164
0165
0166
0167 const char *acpi_gbl_sbt_decode[] = {
0168 "/* UNKNOWN serial bus type */",
0169 "I2C",
0170 "SPI",
0171 "UART",
0172 "CSI2"
0173 };
0174
0175
0176
0177 const char *acpi_gbl_am_decode[] = {
0178 "AddressingMode7Bit",
0179 "AddressingMode10Bit"
0180 };
0181
0182
0183
0184 const char *acpi_gbl_sm_decode[] = {
0185 "ControllerInitiated",
0186 "DeviceInitiated"
0187 };
0188
0189
0190
0191 const char *acpi_gbl_wm_decode[] = {
0192 "FourWireMode",
0193 "ThreeWireMode"
0194 };
0195
0196
0197
0198 const char *acpi_gbl_cph_decode[] = {
0199 "ClockPhaseFirst",
0200 "ClockPhaseSecond"
0201 };
0202
0203
0204
0205 const char *acpi_gbl_cpo_decode[] = {
0206 "ClockPolarityLow",
0207 "ClockPolarityHigh"
0208 };
0209
0210
0211
0212 const char *acpi_gbl_dp_decode[] = {
0213 "PolarityLow",
0214 "PolarityHigh"
0215 };
0216
0217
0218
0219 const char *acpi_gbl_ed_decode[] = {
0220 "LittleEndian",
0221 "BigEndian"
0222 };
0223
0224
0225
0226 const char *acpi_gbl_bpb_decode[] = {
0227 "DataBitsFive",
0228 "DataBitsSix",
0229 "DataBitsSeven",
0230 "DataBitsEight",
0231 "DataBitsNine",
0232 "/* UNKNOWN Bits per byte */",
0233 "/* UNKNOWN Bits per byte */",
0234 "/* UNKNOWN Bits per byte */"
0235 };
0236
0237
0238
0239 const char *acpi_gbl_sb_decode[] = {
0240 "StopBitsZero",
0241 "StopBitsOne",
0242 "StopBitsOnePlusHalf",
0243 "StopBitsTwo"
0244 };
0245
0246
0247
0248 const char *acpi_gbl_fc_decode[] = {
0249 "FlowControlNone",
0250 "FlowControlHardware",
0251 "FlowControlXON",
0252 "/* UNKNOWN flow control keyword */"
0253 };
0254
0255
0256
0257 const char *acpi_gbl_pt_decode[] = {
0258 "ParityTypeNone",
0259 "ParityTypeEven",
0260 "ParityTypeOdd",
0261 "ParityTypeMark",
0262 "ParityTypeSpace",
0263 "/* UNKNOWN parity keyword */",
0264 "/* UNKNOWN parity keyword */",
0265 "/* UNKNOWN parity keyword */"
0266 };
0267
0268
0269
0270 const char *acpi_gbl_ptyp_decode[] = {
0271 "Default",
0272 "Bias Pull-up",
0273 "Bias Pull-down",
0274 "Bias Default",
0275 "Bias Disable",
0276 "Bias High Impedance",
0277 "Bias Bus Hold",
0278 "Drive Open Drain",
0279 "Drive Open Source",
0280 "Drive Push Pull",
0281 "Drive Strength",
0282 "Slew Rate",
0283 "Input Debounce",
0284 "Input Schmitt Trigger",
0285 };
0286
0287 #endif