aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/hardware/hwregs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/hardware/hwregs.c')
-rw-r--r--drivers/acpi/hardware/hwregs.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/acpi/hardware/hwregs.c b/drivers/acpi/hardware/hwregs.c
index 3d1f41c6bfe9..ec9f5a11a8b3 100644
--- a/drivers/acpi/hardware/hwregs.c
+++ b/drivers/acpi/hardware/hwregs.c
@@ -66,7 +66,7 @@ acpi_status acpi_hw_clear_acpi_status(u32 flags)
66{ 66{
67 acpi_status status; 67 acpi_status status;
68 68
69 ACPI_FUNCTION_TRACE("hw_clear_acpi_status"); 69 ACPI_FUNCTION_TRACE(hw_clear_acpi_status);
70 70
71 ACPI_DEBUG_PRINT((ACPI_DB_IO, "About to write %04X to %04X\n", 71 ACPI_DEBUG_PRINT((ACPI_DB_IO, "About to write %04X to %04X\n",
72 ACPI_BITMASK_ALL_FIXED_STATUS, 72 ACPI_BITMASK_ALL_FIXED_STATUS,
@@ -130,7 +130,7 @@ acpi_get_sleep_type_data(u8 sleep_state, u8 * sleep_type_a, u8 * sleep_type_b)
130 struct acpi_parameter_info info; 130 struct acpi_parameter_info info;
131 char *sleep_state_name; 131 char *sleep_state_name;
132 132
133 ACPI_FUNCTION_TRACE("acpi_get_sleep_type_data"); 133 ACPI_FUNCTION_TRACE(acpi_get_sleep_type_data);
134 134
135 /* Validate parameters */ 135 /* Validate parameters */
136 136
@@ -148,7 +148,7 @@ acpi_get_sleep_type_data(u8 sleep_state, u8 * sleep_type_a, u8 * sleep_type_b)
148 status = acpi_ns_evaluate_by_name(sleep_state_name, &info); 148 status = acpi_ns_evaluate_by_name(sleep_state_name, &info);
149 if (ACPI_FAILURE(status)) { 149 if (ACPI_FAILURE(status)) {
150 ACPI_DEBUG_PRINT((ACPI_DB_EXEC, 150 ACPI_DEBUG_PRINT((ACPI_DB_EXEC,
151 "%s while evaluating sleep_state [%s]\n", 151 "%s while evaluating SleepState [%s]\n",
152 acpi_format_exception(status), 152 acpi_format_exception(status),
153 sleep_state_name)); 153 sleep_state_name));
154 154
@@ -208,7 +208,7 @@ acpi_get_sleep_type_data(u8 sleep_state, u8 * sleep_type_a, u8 * sleep_type_b)
208 208
209 if (ACPI_FAILURE(status)) { 209 if (ACPI_FAILURE(status)) {
210 ACPI_EXCEPTION((AE_INFO, status, 210 ACPI_EXCEPTION((AE_INFO, status,
211 "While evaluating sleep_state [%s], bad Sleep object %p type %s", 211 "While evaluating SleepState [%s], bad Sleep object %p type %s",
212 sleep_state_name, info.return_object, 212 sleep_state_name, info.return_object,
213 acpi_ut_get_object_type_name(info. 213 acpi_ut_get_object_type_name(info.
214 return_object))); 214 return_object)));
@@ -236,7 +236,7 @@ struct acpi_bit_register_info *acpi_hw_get_bit_register_info(u32 register_id)
236 ACPI_FUNCTION_ENTRY(); 236 ACPI_FUNCTION_ENTRY();
237 237
238 if (register_id > ACPI_BITREG_MAX) { 238 if (register_id > ACPI_BITREG_MAX) {
239 ACPI_ERROR((AE_INFO, "Invalid bit_register ID: %X", 239 ACPI_ERROR((AE_INFO, "Invalid BitRegister ID: %X",
240 register_id)); 240 register_id));
241 return (NULL); 241 return (NULL);
242 } 242 }
@@ -265,7 +265,7 @@ acpi_status acpi_get_register(u32 register_id, u32 * return_value, u32 flags)
265 struct acpi_bit_register_info *bit_reg_info; 265 struct acpi_bit_register_info *bit_reg_info;
266 acpi_status status; 266 acpi_status status;
267 267
268 ACPI_FUNCTION_TRACE("acpi_get_register"); 268 ACPI_FUNCTION_TRACE(acpi_get_register);
269 269
270 /* Get the info structure corresponding to the requested ACPI Register */ 270 /* Get the info structure corresponding to the requested ACPI Register */
271 271
@@ -331,13 +331,13 @@ acpi_status acpi_set_register(u32 register_id, u32 value, u32 flags)
331 struct acpi_bit_register_info *bit_reg_info; 331 struct acpi_bit_register_info *bit_reg_info;
332 acpi_status status; 332 acpi_status status;
333 333
334 ACPI_FUNCTION_TRACE_U32("acpi_set_register", register_id); 334 ACPI_FUNCTION_TRACE_U32(acpi_set_register, register_id);
335 335
336 /* Get the info structure corresponding to the requested ACPI Register */ 336 /* Get the info structure corresponding to the requested ACPI Register */
337 337
338 bit_reg_info = acpi_hw_get_bit_register_info(register_id); 338 bit_reg_info = acpi_hw_get_bit_register_info(register_id);
339 if (!bit_reg_info) { 339 if (!bit_reg_info) {
340 ACPI_ERROR((AE_INFO, "Bad ACPI HW register_id: %X", 340 ACPI_ERROR((AE_INFO, "Bad ACPI HW RegisterId: %X",
341 register_id)); 341 register_id));
342 return_ACPI_STATUS(AE_BAD_PARAMETER); 342 return_ACPI_STATUS(AE_BAD_PARAMETER);
343 } 343 }
@@ -494,7 +494,7 @@ acpi_hw_register_read(u8 use_lock, u32 register_id, u32 * return_value)
494 u32 value2 = 0; 494 u32 value2 = 0;
495 acpi_status status; 495 acpi_status status;
496 496
497 ACPI_FUNCTION_TRACE("hw_register_read"); 497 ACPI_FUNCTION_TRACE(hw_register_read);
498 498
499 if (ACPI_MTX_LOCK == use_lock) { 499 if (ACPI_MTX_LOCK == use_lock) {
500 status = acpi_ut_acquire_mutex(ACPI_MTX_HARDWARE); 500 status = acpi_ut_acquire_mutex(ACPI_MTX_HARDWARE);
@@ -607,7 +607,7 @@ acpi_status acpi_hw_register_write(u8 use_lock, u32 register_id, u32 value)
607{ 607{
608 acpi_status status; 608 acpi_status status;
609 609
610 ACPI_FUNCTION_TRACE("hw_register_write"); 610 ACPI_FUNCTION_TRACE(hw_register_write);
611 611
612 if (ACPI_MTX_LOCK == use_lock) { 612 if (ACPI_MTX_LOCK == use_lock) {
613 status = acpi_ut_acquire_mutex(ACPI_MTX_HARDWARE); 613 status = acpi_ut_acquire_mutex(ACPI_MTX_HARDWARE);
@@ -729,7 +729,7 @@ acpi_hw_low_level_read(u32 width, u32 * value, struct acpi_generic_address *reg)
729 u64 address; 729 u64 address;
730 acpi_status status; 730 acpi_status status;
731 731
732 ACPI_FUNCTION_NAME("hw_low_level_read"); 732 ACPI_FUNCTION_NAME(hw_low_level_read);
733 733
734 /* 734 /*
735 * Must have a valid pointer to a GAS structure, and 735 * Must have a valid pointer to a GAS structure, and
@@ -801,7 +801,7 @@ acpi_hw_low_level_write(u32 width, u32 value, struct acpi_generic_address * reg)
801 u64 address; 801 u64 address;
802 acpi_status status; 802 acpi_status status;
803 803
804 ACPI_FUNCTION_NAME("hw_low_level_write"); 804 ACPI_FUNCTION_NAME(hw_low_level_write);
805 805
806 /* 806 /*
807 * Must have a valid pointer to a GAS structure, and 807 * Must have a valid pointer to a GAS structure, and