diff options
Diffstat (limited to 'drivers/acpi/utilities/utresrc.c')
| -rw-r--r-- | drivers/acpi/utilities/utresrc.c | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/drivers/acpi/utilities/utresrc.c b/drivers/acpi/utilities/utresrc.c index 1e680794c6..5a2de92831 100644 --- a/drivers/acpi/utilities/utresrc.c +++ b/drivers/acpi/utilities/utresrc.c | |||
| @@ -45,113 +45,113 @@ | |||
| 45 | #include <acpi/amlresrc.h> | 45 | #include <acpi/amlresrc.h> |
| 46 | 46 | ||
| 47 | #define _COMPONENT ACPI_UTILITIES | 47 | #define _COMPONENT ACPI_UTILITIES |
| 48 | ACPI_MODULE_NAME("utmisc") | 48 | ACPI_MODULE_NAME("utresrc") |
| 49 | 49 | ||
| 50 | #if defined(ACPI_DISASSEMBLER) || defined (ACPI_DEBUGGER) | 50 | #if defined(ACPI_DISASSEMBLER) || defined (ACPI_DEBUGGER) |
| 51 | /* | 51 | /* |
| 52 | * Strings used to decode resource descriptors. | 52 | * Strings used to decode resource descriptors. |
| 53 | * Used by both the disasssembler and the debugger resource dump routines | 53 | * Used by both the disasssembler and the debugger resource dump routines |
| 54 | */ | 54 | */ |
| 55 | const char *acpi_gbl_BMdecode[2] = { | 55 | const char *acpi_gbl_bm_decode[] = { |
| 56 | "not_bus_master", | 56 | "NotBusMaster", |
| 57 | "bus_master" | 57 | "BusMaster" |
| 58 | }; | 58 | }; |
| 59 | 59 | ||
| 60 | const char *acpi_gbl_config_decode[4] = { | 60 | const char *acpi_gbl_config_decode[] = { |
| 61 | "0 - Good Configuration", | 61 | "0 - Good Configuration", |
| 62 | "1 - Acceptable Configuration", | 62 | "1 - Acceptable Configuration", |
| 63 | "2 - Suboptimal Configuration", | 63 | "2 - Suboptimal Configuration", |
| 64 | "3 - ***Invalid Configuration***", | 64 | "3 - ***Invalid Configuration***", |
| 65 | }; | 65 | }; |
| 66 | 66 | ||
| 67 | const char *acpi_gbl_consume_decode[2] = { | 67 | const char *acpi_gbl_consume_decode[] = { |
| 68 | "resource_producer", | 68 | "ResourceProducer", |
| 69 | "resource_consumer" | 69 | "ResourceConsumer" |
| 70 | }; | 70 | }; |
| 71 | 71 | ||
| 72 | const char *acpi_gbl_DECdecode[2] = { | 72 | const char *acpi_gbl_dec_decode[] = { |
| 73 | "pos_decode", | 73 | "PosDecode", |
| 74 | "sub_decode" | 74 | "SubDecode" |
| 75 | }; | 75 | }; |
| 76 | 76 | ||
| 77 | const char *acpi_gbl_HEdecode[2] = { | 77 | const char *acpi_gbl_he_decode[] = { |
| 78 | "Level", | 78 | "Level", |
| 79 | "Edge" | 79 | "Edge" |
| 80 | }; | 80 | }; |
| 81 | 81 | ||
| 82 | const char *acpi_gbl_io_decode[2] = { | 82 | const char *acpi_gbl_io_decode[] = { |
| 83 | "Decode10", | 83 | "Decode10", |
| 84 | "Decode16" | 84 | "Decode16" |
| 85 | }; | 85 | }; |
| 86 | 86 | ||
| 87 | const char *acpi_gbl_LLdecode[2] = { | 87 | const char *acpi_gbl_ll_decode[] = { |
| 88 | "active_high", | 88 | "ActiveHigh", |
| 89 | "active_low" | 89 | "ActiveLow" |
| 90 | }; | 90 | }; |
| 91 | 91 | ||
| 92 | const char *acpi_gbl_max_decode[2] = { | 92 | const char *acpi_gbl_max_decode[] = { |
| 93 | "max_not_fixed", | 93 | "MaxNotFixed", |
| 94 | "max_fixed" | 94 | "MaxFixed" |
| 95 | }; | 95 | }; |
| 96 | 96 | ||
| 97 | const char *acpi_gbl_MEMdecode[4] = { | 97 | const char *acpi_gbl_mem_decode[] = { |
| 98 | "non_cacheable", | 98 | "NonCacheable", |
| 99 | "Cacheable", | 99 | "Cacheable", |
| 100 | "write_combining", | 100 | "WriteCombining", |
| 101 | "Prefetchable" | 101 | "Prefetchable" |
| 102 | }; | 102 | }; |
| 103 | 103 | ||
| 104 | const char *acpi_gbl_min_decode[2] = { | 104 | const char *acpi_gbl_min_decode[] = { |
| 105 | "min_not_fixed", | 105 | "MinNotFixed", |
| 106 | "min_fixed" | 106 | "MinFixed" |
| 107 | }; | 107 | }; |
| 108 | 108 | ||
| 109 | const char *acpi_gbl_MTPdecode[4] = { | 109 | const char *acpi_gbl_mtp_decode[] = { |
| 110 | "address_range_memory", | 110 | "AddressRangeMemory", |
| 111 | "address_range_reserved", | 111 | "AddressRangeReserved", |
| 112 | "address_range_aCPI", | 112 | "AddressRangeACPI", |
| 113 | "address_range_nVS" | 113 | "AddressRangeNVS" |
| 114 | }; | 114 | }; |
| 115 | 115 | ||
| 116 | const char *acpi_gbl_RNGdecode[4] = { | 116 | const char *acpi_gbl_rng_decode[] = { |
| 117 | "invalid_ranges", | 117 | "InvalidRanges", |
| 118 | "non_iSAonly_ranges", | 118 | "NonISAOnlyRanges", |
| 119 | "ISAonly_ranges", | 119 | "ISAOnlyRanges", |
| 120 | "entire_range" | 120 | "EntireRange" |
| 121 | }; | 121 | }; |
| 122 | 122 | ||
| 123 | const char *acpi_gbl_RWdecode[2] = { | 123 | const char *acpi_gbl_rw_decode[] = { |
| 124 | "read_only", | 124 | "ReadOnly", |
| 125 | "read_write" | 125 | "ReadWrite" |
| 126 | }; | 126 | }; |
| 127 | 127 | ||
| 128 | const char *acpi_gbl_SHRdecode[2] = { | 128 | const char *acpi_gbl_shr_decode[] = { |
| 129 | "Exclusive", | 129 | "Exclusive", |
| 130 | "Shared" | 130 | "Shared" |
| 131 | }; | 131 | }; |
| 132 | 132 | ||
| 133 | const char *acpi_gbl_SIZdecode[4] = { | 133 | const char *acpi_gbl_siz_decode[] = { |
| 134 | "Transfer8", | 134 | "Transfer8", |
| 135 | "Transfer8_16", | 135 | "Transfer8_16", |
| 136 | "Transfer16", | 136 | "Transfer16", |
| 137 | "invalid_size" | 137 | "InvalidSize" |
| 138 | }; | 138 | }; |
| 139 | 139 | ||
| 140 | const char *acpi_gbl_TRSdecode[2] = { | 140 | const char *acpi_gbl_trs_decode[] = { |
| 141 | "dense_translation", | 141 | "DenseTranslation", |
| 142 | "sparse_translation" | 142 | "SparseTranslation" |
| 143 | }; | 143 | }; |
| 144 | 144 | ||
| 145 | const char *acpi_gbl_TTPdecode[2] = { | 145 | const char *acpi_gbl_ttp_decode[] = { |
| 146 | "type_static", | 146 | "TypeStatic", |
| 147 | "type_translation" | 147 | "TypeTranslation" |
| 148 | }; | 148 | }; |
| 149 | 149 | ||
| 150 | const char *acpi_gbl_TYPdecode[4] = { | 150 | const char *acpi_gbl_typ_decode[] = { |
| 151 | "Compatibility", | 151 | "Compatibility", |
| 152 | "type_a", | 152 | "TypeA", |
| 153 | "type_b", | 153 | "TypeB", |
| 154 | "type_f" | 154 | "TypeF" |
| 155 | }; | 155 | }; |
| 156 | 156 | ||
| 157 | #endif | 157 | #endif |
| @@ -266,7 +266,7 @@ acpi_ut_walk_aml_resources(u8 * aml, | |||
| 266 | u32 length; | 266 | u32 length; |
| 267 | u32 offset = 0; | 267 | u32 offset = 0; |
| 268 | 268 | ||
| 269 | ACPI_FUNCTION_TRACE("ut_walk_aml_resources"); | 269 | ACPI_FUNCTION_TRACE(ut_walk_aml_resources); |
| 270 | 270 | ||
| 271 | /* The absolute minimum resource template is one end_tag descriptor */ | 271 | /* The absolute minimum resource template is one end_tag descriptor */ |
| 272 | 272 | ||
| @@ -597,7 +597,7 @@ acpi_ut_get_resource_end_tag(union acpi_operand_object * obj_desc, | |||
| 597 | { | 597 | { |
| 598 | acpi_status status; | 598 | acpi_status status; |
| 599 | 599 | ||
| 600 | ACPI_FUNCTION_TRACE("ut_get_resource_end_tag"); | 600 | ACPI_FUNCTION_TRACE(ut_get_resource_end_tag); |
| 601 | 601 | ||
| 602 | /* Allow a buffer length of zero */ | 602 | /* Allow a buffer length of zero */ |
| 603 | 603 | ||
