aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/acutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/acutils.h')
-rw-r--r--drivers/acpi/acpica/acutils.h14
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
503const union acpi_predefined_info *acpi_ut_match_predefined_method(char *name); 503const union acpi_predefined_info *acpi_ut_match_predefined_method(char *name);
504 504
505void acpi_ut_get_expected_return_types(char *buffer, u32 expected_btypes);
506
507#if (defined ACPI_ASL_COMPILER || defined ACPI_HELP_APP)
505const union acpi_predefined_info *acpi_ut_match_resource_name(char *name); 508const union acpi_predefined_info *acpi_ut_match_resource_name(char *name);
506 509
507void 510void
@@ -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
512void acpi_ut_get_expected_return_types(char *buffer, u32 expected_btypes);
513
514u32 acpi_ut_get_resource_bit_width(char *buffer, u16 types); 515u32 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
563u8 acpi_ut_is_pci_root_bridge(char *id); 565u8 acpi_ut_is_pci_root_bridge(char *id);
564 566
567#if (defined ACPI_ASL_COMPILER || defined ACPI_EXEC_APP)
565u8 acpi_ut_is_aml_table(struct acpi_table_header *table); 568u8 acpi_ut_is_aml_table(struct acpi_table_header *table);
569#endif
566 570
567acpi_status 571acpi_status
568acpi_ut_walk_package_tree(union acpi_operand_object *source_object, 572acpi_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 */
622void acpi_ut_strupr(char *src_string); 626void acpi_ut_strupr(char *src_string);
623 627
628#ifdef ACPI_ASL_COMPILER
624void acpi_ut_strlwr(char *src_string); 629void acpi_ut_strlwr(char *src_string);
625 630
626int acpi_ut_stricmp(char *string1, char *string2); 631int acpi_ut_stricmp(char *string1, char *string2);
632#endif
627 633
628acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer); 634acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer);
629 635
630void acpi_ut_print_string(char *string, u16 max_length); 636void acpi_ut_print_string(char *string, u16 max_length);
631 637
638#if defined ACPI_ASL_COMPILER || defined ACPI_EXEC_APP
632void ut_convert_backslashes(char *pathname); 639void ut_convert_backslashes(char *pathname);
640#endif
633 641
634u8 acpi_ut_valid_acpi_name(char *name); 642u8 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)
780void acpi_ut_convert_string_to_uuid(char *in_string, u8 *uuid_buffer); 789void acpi_ut_convert_string_to_uuid(char *in_string, u8 *uuid_buffer);
790#endif
781 791
782#endif /* _ACUTILS_H */ 792#endif /* _ACUTILS_H */