diff options
Diffstat (limited to 'drivers/acpi/dispatcher/dswstate.c')
-rw-r--r-- | drivers/acpi/dispatcher/dswstate.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/drivers/acpi/dispatcher/dswstate.c b/drivers/acpi/dispatcher/dswstate.c index 4840eae47d34..82c1e219bf15 100644 --- a/drivers/acpi/dispatcher/dswstate.c +++ b/drivers/acpi/dispatcher/dswstate.c | |||
@@ -87,7 +87,7 @@ acpi_ds_result_remove(union acpi_operand_object **object, | |||
87 | { | 87 | { |
88 | union acpi_generic_state *state; | 88 | union acpi_generic_state *state; |
89 | 89 | ||
90 | ACPI_FUNCTION_NAME("ds_result_remove"); | 90 | ACPI_FUNCTION_NAME(ds_result_remove); |
91 | 91 | ||
92 | state = walk_state->results; | 92 | state = walk_state->results; |
93 | if (!state) { | 93 | if (!state) { |
@@ -150,7 +150,7 @@ acpi_ds_result_pop(union acpi_operand_object ** object, | |||
150 | acpi_native_uint index; | 150 | acpi_native_uint index; |
151 | union acpi_generic_state *state; | 151 | union acpi_generic_state *state; |
152 | 152 | ||
153 | ACPI_FUNCTION_NAME("ds_result_pop"); | 153 | ACPI_FUNCTION_NAME(ds_result_pop); |
154 | 154 | ||
155 | state = walk_state->results; | 155 | state = walk_state->results; |
156 | if (!state) { | 156 | if (!state) { |
@@ -212,7 +212,7 @@ acpi_ds_result_pop_from_bottom(union acpi_operand_object ** object, | |||
212 | acpi_native_uint index; | 212 | acpi_native_uint index; |
213 | union acpi_generic_state *state; | 213 | union acpi_generic_state *state; |
214 | 214 | ||
215 | ACPI_FUNCTION_NAME("ds_result_pop_from_bottom"); | 215 | ACPI_FUNCTION_NAME(ds_result_pop_from_bottom); |
216 | 216 | ||
217 | state = walk_state->results; | 217 | state = walk_state->results; |
218 | if (!state) { | 218 | if (!state) { |
@@ -277,7 +277,7 @@ acpi_ds_result_push(union acpi_operand_object * object, | |||
277 | { | 277 | { |
278 | union acpi_generic_state *state; | 278 | union acpi_generic_state *state; |
279 | 279 | ||
280 | ACPI_FUNCTION_NAME("ds_result_push"); | 280 | ACPI_FUNCTION_NAME(ds_result_push); |
281 | 281 | ||
282 | state = walk_state->results; | 282 | state = walk_state->results; |
283 | if (!state) { | 283 | if (!state) { |
@@ -330,7 +330,7 @@ acpi_status acpi_ds_result_stack_push(struct acpi_walk_state * walk_state) | |||
330 | { | 330 | { |
331 | union acpi_generic_state *state; | 331 | union acpi_generic_state *state; |
332 | 332 | ||
333 | ACPI_FUNCTION_NAME("ds_result_stack_push"); | 333 | ACPI_FUNCTION_NAME(ds_result_stack_push); |
334 | 334 | ||
335 | state = acpi_ut_create_generic_state(); | 335 | state = acpi_ut_create_generic_state(); |
336 | if (!state) { | 336 | if (!state) { |
@@ -362,7 +362,7 @@ acpi_status acpi_ds_result_stack_pop(struct acpi_walk_state * walk_state) | |||
362 | { | 362 | { |
363 | union acpi_generic_state *state; | 363 | union acpi_generic_state *state; |
364 | 364 | ||
365 | ACPI_FUNCTION_NAME("ds_result_stack_pop"); | 365 | ACPI_FUNCTION_NAME(ds_result_stack_pop); |
366 | 366 | ||
367 | /* Check for stack underflow */ | 367 | /* Check for stack underflow */ |
368 | 368 | ||
@@ -375,7 +375,7 @@ acpi_status acpi_ds_result_stack_pop(struct acpi_walk_state * walk_state) | |||
375 | state = acpi_ut_pop_generic_state(&walk_state->results); | 375 | state = acpi_ut_pop_generic_state(&walk_state->results); |
376 | 376 | ||
377 | ACPI_DEBUG_PRINT((ACPI_DB_EXEC, | 377 | ACPI_DEBUG_PRINT((ACPI_DB_EXEC, |
378 | "Result=%p remaining_results=%X State=%p\n", | 378 | "Result=%p RemainingResults=%X State=%p\n", |
379 | state, state->results.num_results, walk_state)); | 379 | state, state->results.num_results, walk_state)); |
380 | 380 | ||
381 | acpi_ut_delete_generic_state(state); | 381 | acpi_ut_delete_generic_state(state); |
@@ -399,7 +399,7 @@ acpi_status acpi_ds_result_stack_pop(struct acpi_walk_state * walk_state) | |||
399 | acpi_status | 399 | acpi_status |
400 | acpi_ds_obj_stack_push(void *object, struct acpi_walk_state * walk_state) | 400 | acpi_ds_obj_stack_push(void *object, struct acpi_walk_state * walk_state) |
401 | { | 401 | { |
402 | ACPI_FUNCTION_NAME("ds_obj_stack_push"); | 402 | ACPI_FUNCTION_NAME(ds_obj_stack_push); |
403 | 403 | ||
404 | /* Check for stack overflow */ | 404 | /* Check for stack overflow */ |
405 | 405 | ||
@@ -444,7 +444,7 @@ acpi_ds_obj_stack_pop(u32 pop_count, struct acpi_walk_state * walk_state) | |||
444 | { | 444 | { |
445 | u32 i; | 445 | u32 i; |
446 | 446 | ||
447 | ACPI_FUNCTION_NAME("ds_obj_stack_pop"); | 447 | ACPI_FUNCTION_NAME(ds_obj_stack_pop); |
448 | 448 | ||
449 | for (i = 0; i < pop_count; i++) { | 449 | for (i = 0; i < pop_count; i++) { |
450 | 450 | ||
@@ -491,7 +491,7 @@ acpi_ds_obj_stack_pop_and_delete(u32 pop_count, | |||
491 | u32 i; | 491 | u32 i; |
492 | union acpi_operand_object *obj_desc; | 492 | union acpi_operand_object *obj_desc; |
493 | 493 | ||
494 | ACPI_FUNCTION_NAME("ds_obj_stack_pop_and_delete"); | 494 | ACPI_FUNCTION_NAME(ds_obj_stack_pop_and_delete); |
495 | 495 | ||
496 | for (i = 0; i < pop_count; i++) { | 496 | for (i = 0; i < pop_count; i++) { |
497 | 497 | ||
@@ -539,13 +539,13 @@ acpi_ds_obj_stack_pop_and_delete(u32 pop_count, | |||
539 | struct acpi_walk_state *acpi_ds_get_current_walk_state(struct acpi_thread_state | 539 | struct acpi_walk_state *acpi_ds_get_current_walk_state(struct acpi_thread_state |
540 | *thread) | 540 | *thread) |
541 | { | 541 | { |
542 | ACPI_FUNCTION_NAME("ds_get_current_walk_state"); | 542 | ACPI_FUNCTION_NAME(ds_get_current_walk_state); |
543 | 543 | ||
544 | if (!thread) { | 544 | if (!thread) { |
545 | return (NULL); | 545 | return (NULL); |
546 | } | 546 | } |
547 | 547 | ||
548 | ACPI_DEBUG_PRINT((ACPI_DB_PARSE, "Current walk_state %p\n", | 548 | ACPI_DEBUG_PRINT((ACPI_DB_PARSE, "Current WalkState %p\n", |
549 | thread->walk_state_list)); | 549 | thread->walk_state_list)); |
550 | 550 | ||
551 | return (thread->walk_state_list); | 551 | return (thread->walk_state_list); |
@@ -568,7 +568,7 @@ void | |||
568 | acpi_ds_push_walk_state(struct acpi_walk_state *walk_state, | 568 | acpi_ds_push_walk_state(struct acpi_walk_state *walk_state, |
569 | struct acpi_thread_state *thread) | 569 | struct acpi_thread_state *thread) |
570 | { | 570 | { |
571 | ACPI_FUNCTION_TRACE("ds_push_walk_state"); | 571 | ACPI_FUNCTION_TRACE(ds_push_walk_state); |
572 | 572 | ||
573 | walk_state->next = thread->walk_state_list; | 573 | walk_state->next = thread->walk_state_list; |
574 | thread->walk_state_list = walk_state; | 574 | thread->walk_state_list = walk_state; |
@@ -594,7 +594,7 @@ struct acpi_walk_state *acpi_ds_pop_walk_state(struct acpi_thread_state *thread) | |||
594 | { | 594 | { |
595 | struct acpi_walk_state *walk_state; | 595 | struct acpi_walk_state *walk_state; |
596 | 596 | ||
597 | ACPI_FUNCTION_TRACE("ds_pop_walk_state"); | 597 | ACPI_FUNCTION_TRACE(ds_pop_walk_state); |
598 | 598 | ||
599 | walk_state = thread->walk_state_list; | 599 | walk_state = thread->walk_state_list; |
600 | 600 | ||
@@ -641,7 +641,7 @@ struct acpi_walk_state *acpi_ds_create_walk_state(acpi_owner_id owner_id, | |||
641 | struct acpi_walk_state *walk_state; | 641 | struct acpi_walk_state *walk_state; |
642 | acpi_status status; | 642 | acpi_status status; |
643 | 643 | ||
644 | ACPI_FUNCTION_TRACE("ds_create_walk_state"); | 644 | ACPI_FUNCTION_TRACE(ds_create_walk_state); |
645 | 645 | ||
646 | walk_state = ACPI_ALLOCATE_ZEROED(sizeof(struct acpi_walk_state)); | 646 | walk_state = ACPI_ALLOCATE_ZEROED(sizeof(struct acpi_walk_state)); |
647 | if (!walk_state) { | 647 | if (!walk_state) { |
@@ -709,7 +709,7 @@ acpi_ds_init_aml_walk(struct acpi_walk_state *walk_state, | |||
709 | struct acpi_parse_state *parser_state = &walk_state->parser_state; | 709 | struct acpi_parse_state *parser_state = &walk_state->parser_state; |
710 | union acpi_parse_object *extra_op; | 710 | union acpi_parse_object *extra_op; |
711 | 711 | ||
712 | ACPI_FUNCTION_TRACE("ds_init_aml_walk"); | 712 | ACPI_FUNCTION_TRACE(ds_init_aml_walk); |
713 | 713 | ||
714 | walk_state->parser_state.aml = | 714 | walk_state->parser_state.aml = |
715 | walk_state->parser_state.aml_start = aml_start; | 715 | walk_state->parser_state.aml_start = aml_start; |
@@ -813,7 +813,7 @@ void acpi_ds_delete_walk_state(struct acpi_walk_state *walk_state) | |||
813 | { | 813 | { |
814 | union acpi_generic_state *state; | 814 | union acpi_generic_state *state; |
815 | 815 | ||
816 | ACPI_FUNCTION_TRACE_PTR("ds_delete_walk_state", walk_state); | 816 | ACPI_FUNCTION_TRACE_PTR(ds_delete_walk_state, walk_state); |
817 | 817 | ||
818 | if (!walk_state) { | 818 | if (!walk_state) { |
819 | return; | 819 | return; |
@@ -882,7 +882,7 @@ acpi_ds_result_insert(void *object, | |||
882 | { | 882 | { |
883 | union acpi_generic_state *state; | 883 | union acpi_generic_state *state; |
884 | 884 | ||
885 | ACPI_FUNCTION_NAME("ds_result_insert"); | 885 | ACPI_FUNCTION_NAME(ds_result_insert); |
886 | 886 | ||
887 | state = walk_state->results; | 887 | state = walk_state->results; |
888 | if (!state) { | 888 | if (!state) { |
@@ -940,7 +940,7 @@ acpi_status acpi_ds_obj_stack_delete_all(struct acpi_walk_state * walk_state) | |||
940 | { | 940 | { |
941 | u32 i; | 941 | u32 i; |
942 | 942 | ||
943 | ACPI_FUNCTION_TRACE_PTR("ds_obj_stack_delete_all", walk_state); | 943 | ACPI_FUNCTION_TRACE_PTR(ds_obj_stack_delete_all, walk_state); |
944 | 944 | ||
945 | /* The stack size is configurable, but fixed */ | 945 | /* The stack size is configurable, but fixed */ |
946 | 946 | ||
@@ -972,7 +972,7 @@ acpi_status | |||
972 | acpi_ds_obj_stack_pop_object(union acpi_operand_object **object, | 972 | acpi_ds_obj_stack_pop_object(union acpi_operand_object **object, |
973 | struct acpi_walk_state *walk_state) | 973 | struct acpi_walk_state *walk_state) |
974 | { | 974 | { |
975 | ACPI_FUNCTION_NAME("ds_obj_stack_pop_object"); | 975 | ACPI_FUNCTION_NAME(ds_obj_stack_pop_object); |
976 | 976 | ||
977 | /* Check for stack underflow */ | 977 | /* Check for stack underflow */ |
978 | 978 | ||
@@ -1028,7 +1028,7 @@ acpi_ds_obj_stack_pop_object(union acpi_operand_object **object, | |||
1028 | void *acpi_ds_obj_stack_get_value(u32 index, struct acpi_walk_state *walk_state) | 1028 | void *acpi_ds_obj_stack_get_value(u32 index, struct acpi_walk_state *walk_state) |
1029 | { | 1029 | { |
1030 | 1030 | ||
1031 | ACPI_FUNCTION_TRACE_PTR("ds_obj_stack_get_value", walk_state); | 1031 | ACPI_FUNCTION_TRACE_PTR(ds_obj_stack_get_value, walk_state); |
1032 | 1032 | ||
1033 | /* Can't do it if the stack is empty */ | 1033 | /* Can't do it if the stack is empty */ |
1034 | 1034 | ||