diff options
Diffstat (limited to 'drivers/acpi/acpica/acutils.h')
-rw-r--r-- | drivers/acpi/acpica/acutils.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/acutils.h b/drivers/acpi/acpica/acutils.h index 04f4c319b2c5..2b3c5bd222f1 100644 --- a/drivers/acpi/acpica/acutils.h +++ b/drivers/acpi/acpica/acutils.h | |||
@@ -502,6 +502,9 @@ const union acpi_predefined_info *acpi_ut_get_next_predefined_method(const union | |||
502 | 502 | ||
503 | const union acpi_predefined_info *acpi_ut_match_predefined_method(char *name); | 503 | const union acpi_predefined_info *acpi_ut_match_predefined_method(char *name); |
504 | 504 | ||
505 | void acpi_ut_get_expected_return_types(char *buffer, u32 expected_btypes); | ||
506 | |||
507 | #if (defined ACPI_ASL_COMPILER || defined ACPI_HELP_APP) | ||
505 | const union acpi_predefined_info *acpi_ut_match_resource_name(char *name); | 508 | const union acpi_predefined_info *acpi_ut_match_resource_name(char *name); |
506 | 509 | ||
507 | void | 510 | void |
@@ -509,9 +512,8 @@ acpi_ut_display_predefined_method(char *buffer, | |||
509 | const union acpi_predefined_info *this_name, | 512 | const union acpi_predefined_info *this_name, |
510 | u8 multi_line); | 513 | u8 multi_line); |
511 | 514 | ||
512 | void acpi_ut_get_expected_return_types(char *buffer, u32 expected_btypes); | ||
513 | |||
514 | u32 acpi_ut_get_resource_bit_width(char *buffer, u16 types); | 515 | u32 acpi_ut_get_resource_bit_width(char *buffer, u16 types); |
516 | #endif | ||
515 | 517 | ||
516 | /* | 518 | /* |
517 | * utstate - Generic state creation/cache routines | 519 | * utstate - Generic state creation/cache routines |
@@ -562,7 +564,9 @@ const struct acpi_exception_info *acpi_ut_validate_exception(acpi_status | |||
562 | 564 | ||
563 | u8 acpi_ut_is_pci_root_bridge(char *id); | 565 | u8 acpi_ut_is_pci_root_bridge(char *id); |
564 | 566 | ||
567 | #if (defined ACPI_ASL_COMPILER || defined ACPI_EXEC_APP) | ||
565 | u8 acpi_ut_is_aml_table(struct acpi_table_header *table); | 568 | u8 acpi_ut_is_aml_table(struct acpi_table_header *table); |
569 | #endif | ||
566 | 570 | ||
567 | acpi_status | 571 | acpi_status |
568 | acpi_ut_walk_package_tree(union acpi_operand_object *source_object, | 572 | acpi_ut_walk_package_tree(union acpi_operand_object *source_object, |
@@ -621,15 +625,19 @@ acpi_ut_get_resource_end_tag(union acpi_operand_object *obj_desc, u8 **end_tag); | |||
621 | */ | 625 | */ |
622 | void acpi_ut_strupr(char *src_string); | 626 | void acpi_ut_strupr(char *src_string); |
623 | 627 | ||
628 | #ifdef ACPI_ASL_COMPILER | ||
624 | void acpi_ut_strlwr(char *src_string); | 629 | void acpi_ut_strlwr(char *src_string); |
625 | 630 | ||
626 | int acpi_ut_stricmp(char *string1, char *string2); | 631 | int acpi_ut_stricmp(char *string1, char *string2); |
632 | #endif | ||
627 | 633 | ||
628 | acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer); | 634 | acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer); |
629 | 635 | ||
630 | void acpi_ut_print_string(char *string, u16 max_length); | 636 | void acpi_ut_print_string(char *string, u16 max_length); |
631 | 637 | ||
638 | #if defined ACPI_ASL_COMPILER || defined ACPI_EXEC_APP | ||
632 | void ut_convert_backslashes(char *pathname); | 639 | void ut_convert_backslashes(char *pathname); |
640 | #endif | ||
633 | 641 | ||
634 | u8 acpi_ut_valid_acpi_name(char *name); | 642 | u8 acpi_ut_valid_acpi_name(char *name); |
635 | 643 | ||
@@ -777,6 +785,8 @@ int acpi_ut_file_printf(ACPI_FILE file, const char *format, ...); | |||
777 | /* | 785 | /* |
778 | * utuuid -- UUID support functions | 786 | * utuuid -- UUID support functions |
779 | */ | 787 | */ |
788 | #if (defined ACPI_ASL_COMPILER || defined ACPI_EXEC_APP || defined ACPI_HELP_APP) | ||
780 | void acpi_ut_convert_string_to_uuid(char *in_string, u8 *uuid_buffer); | 789 | void acpi_ut_convert_string_to_uuid(char *in_string, u8 *uuid_buffer); |
790 | #endif | ||
781 | 791 | ||
782 | #endif /* _ACUTILS_H */ | 792 | #endif /* _ACUTILS_H */ |