diff options
author | Bob Moore <robert.moore@intel.com> | 2013-01-11 07:08:51 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-11 07:08:51 -0500 |
commit | 42f8fb75c43cc67f06424f991009b3af674f93eb (patch) | |
tree | 01821d5eca5f97d474bee62e7f92fe481adb31b8 /drivers/acpi/acpica/acutils.h | |
parent | 4f8429166818dd615891990040ce13373893ee9a (diff) |
ACPICA: Source restructuring: split large files into 8 new files.
Created logical splits for eight new files. Improves modularity
and configurability.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acutils.h')
-rw-r--r-- | drivers/acpi/acpica/acutils.h | 50 |
1 files changed, 28 insertions, 22 deletions
diff --git a/drivers/acpi/acpica/acutils.h b/drivers/acpi/acpica/acutils.h index 6e51d193c3eb..4e952111ca5a 100644 --- a/drivers/acpi/acpica/acutils.h +++ b/drivers/acpi/acpica/acutils.h | |||
@@ -483,39 +483,17 @@ acpi_ut_short_divide(u64 in_dividend, | |||
483 | /* | 483 | /* |
484 | * utmisc | 484 | * utmisc |
485 | */ | 485 | */ |
486 | void ut_convert_backslashes(char *pathname); | ||
487 | |||
488 | const char *acpi_ut_validate_exception(acpi_status status); | 486 | const char *acpi_ut_validate_exception(acpi_status status); |
489 | 487 | ||
490 | u8 acpi_ut_is_pci_root_bridge(char *id); | 488 | u8 acpi_ut_is_pci_root_bridge(char *id); |
491 | 489 | ||
492 | u8 acpi_ut_is_aml_table(struct acpi_table_header *table); | 490 | u8 acpi_ut_is_aml_table(struct acpi_table_header *table); |
493 | 491 | ||
494 | acpi_status acpi_ut_allocate_owner_id(acpi_owner_id * owner_id); | ||
495 | |||
496 | void acpi_ut_release_owner_id(acpi_owner_id * owner_id); | ||
497 | |||
498 | acpi_status | 492 | acpi_status |
499 | acpi_ut_walk_package_tree(union acpi_operand_object *source_object, | 493 | acpi_ut_walk_package_tree(union acpi_operand_object *source_object, |
500 | void *target_object, | 494 | void *target_object, |
501 | acpi_pkg_callback walk_callback, void *context); | 495 | acpi_pkg_callback walk_callback, void *context); |
502 | 496 | ||
503 | void acpi_ut_strupr(char *src_string); | ||
504 | |||
505 | void acpi_ut_strlwr(char *src_string); | ||
506 | |||
507 | int acpi_ut_stricmp(char *string1, char *string2); | ||
508 | |||
509 | void acpi_ut_print_string(char *string, u8 max_length); | ||
510 | |||
511 | u8 acpi_ut_valid_acpi_name(u32 name); | ||
512 | |||
513 | void acpi_ut_repair_name(char *name); | ||
514 | |||
515 | u8 acpi_ut_valid_acpi_char(char character, u32 position); | ||
516 | |||
517 | acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer); | ||
518 | |||
519 | /* Values for Base above (16=Hex, 10=Decimal) */ | 497 | /* Values for Base above (16=Hex, 10=Decimal) */ |
520 | 498 | ||
521 | #define ACPI_ANY_BASE 0 | 499 | #define ACPI_ANY_BASE 0 |
@@ -532,6 +510,13 @@ acpi_ut_display_init_pathname(u8 type, | |||
532 | #endif | 510 | #endif |
533 | 511 | ||
534 | /* | 512 | /* |
513 | * utownerid - Support for Table/Method Owner IDs | ||
514 | */ | ||
515 | acpi_status acpi_ut_allocate_owner_id(acpi_owner_id * owner_id); | ||
516 | |||
517 | void acpi_ut_release_owner_id(acpi_owner_id * owner_id); | ||
518 | |||
519 | /* | ||
535 | * utresrc | 520 | * utresrc |
536 | */ | 521 | */ |
537 | acpi_status | 522 | acpi_status |
@@ -557,6 +542,27 @@ acpi_status | |||
557 | acpi_ut_get_resource_end_tag(union acpi_operand_object *obj_desc, u8 **end_tag); | 542 | acpi_ut_get_resource_end_tag(union acpi_operand_object *obj_desc, u8 **end_tag); |
558 | 543 | ||
559 | /* | 544 | /* |
545 | * utstring - String and character utilities | ||
546 | */ | ||
547 | void acpi_ut_strupr(char *src_string); | ||
548 | |||
549 | void acpi_ut_strlwr(char *src_string); | ||
550 | |||
551 | int acpi_ut_stricmp(char *string1, char *string2); | ||
552 | |||
553 | acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer); | ||
554 | |||
555 | void acpi_ut_print_string(char *string, u8 max_length); | ||
556 | |||
557 | void ut_convert_backslashes(char *pathname); | ||
558 | |||
559 | u8 acpi_ut_valid_acpi_name(u32 name); | ||
560 | |||
561 | u8 acpi_ut_valid_acpi_char(char character, u32 position); | ||
562 | |||
563 | void acpi_ut_repair_name(char *name); | ||
564 | |||
565 | /* | ||
560 | * utmutex - mutex support | 566 | * utmutex - mutex support |
561 | */ | 567 | */ |
562 | acpi_status acpi_ut_mutex_initialize(void); | 568 | acpi_status acpi_ut_mutex_initialize(void); |