44 #include <linux/module.h>
50 #define _COMPONENT ACPI_UTILITIES
53 #if defined ACPI_ASL_COMPILER || defined ACPI_EXEC_APP
74 if (*pathname ==
'\\') {
217 "Allocated OwnerId: %2.2X\n",
218 (
unsigned int)*owner_id));
238 "Could not allocate new OwnerId (255 max), AE_OWNER_ID_LIMIT"));
301 "Release of non-allocated OwnerId: 0x%2.2X",
335 for (
string = src_string; *
string;
string++) {
366 for (i = 0;
string[
i] && (i < max_length); i++) {
423 if (i == max_length &&
string[i]) {
455 out.bytes[0] =
in.bytes[3];
456 out.bytes[1] =
in.bytes[2];
457 out.bytes[2] =
in.bytes[1];
458 out.bytes[3] =
in.bytes[0];
497 #ifdef ACPI_DEBUG_OUTPUT
514 acpi_ut_display_init_pathname(
u8 type,
586 if (!((character >=
'A' && character <=
'Z') ||
587 (character >=
'0' && character <=
'9') || (character ==
'_'))) {
591 if (character ==
'!' && position == 3) {
651 new_name[
i] = name[
i];
663 return (*(
u32 *) new_name);
714 while ((*
string) && (
ACPI_IS_SPACE(*
string) || *
string ==
'\t')) {
723 if ((*
string ==
'0') && (
ACPI_TOLOWER(*(
string + 1)) ==
'x')) {
736 if (!(*
string) ||
ACPI_IS_SPACE(*
string) || *
string ==
'\t') {
757 this_digit = ((
u8) *
string) -
'0';
758 }
else if (base == 10) {
769 this_digit = this_digit -
'A' + 10;
781 }
else if ((valid_digits == 0) && (this_digit == 0)
791 if (sign_of0x && ((valid_digits > 16)
792 || ((valid_digits > 8) && mode32))) {
804 base, "ient,
NULL);
806 if (return_value > quotient) {
814 return_value *= base;
815 return_value += this_digit;
914 this_index = state->
pkg.index;
916 state->
pkg.source_object->package.elements[this_index];
926 if ((!this_source_obj) ||
932 this_source_obj, state, context);
938 while (state->
pkg.index >=
939 state->
pkg.source_object->package.count) {
972 this_source_obj, state, context);