51 #define _COMPONENT ACPI_PARSER
78 u8 *aml = parser_state->aml;
79 u32 package_length = 0;
81 u8 byte_zero_mask = 0x3F;
89 byte_count = (aml[0] >> 6);
90 parser_state->aml += ((acpi_size) byte_count + 1);
102 package_length |= (aml[byte_count] << ((byte_count << 3) - 4));
104 byte_zero_mask = 0x0F;
110 package_length |= (aml[0] & byte_zero_mask);
136 package_length = acpi_ps_get_next_package_length(parser_state);
287 "Control Method - %p Desc %p Path=%p\n", node,
307 "Control Method %p has no attached object",
313 "Control Method - %p Args %X\n",
314 node, method_desc->
method.param_count));
337 else if (walk_state->
op->
common.aml_opcode ==
347 else if ((arg->
common.parent) &&
348 ((arg->
common.parent->common.aml_opcode ==
350 || (arg->
common.parent->common.aml_opcode ==
396 u8 *aml = parser_state->
aml;
447 while (aml[length]) {
544 field->
common.aml_offset = aml_offset;
559 field->
common.value.size =
560 acpi_ps_get_next_package_length(parser_state);
567 field->
common.value.size =
568 acpi_ps_get_next_package_length(parser_state);
587 field->
common.value.integer = (
u8)access_type;
588 field->
common.value.integer |= (
u16)(access_attribute << 8);
596 field->
common.value.integer |=
597 (
u32)(access_length << 16);
610 pkg_end = parser_state->
aml;
612 acpi_ps_get_next_package_length(parser_state);
613 pkg_end += pkg_length;
615 if (parser_state->
aml < pkg_end) {
634 parser_state->
aml += 1;
640 parser_state->
aml += 2;
646 parser_state->
aml += 4;
657 arg->
named.data = parser_state->
aml;
662 parser_state->
aml = pkg_end;
746 if (parser_state->
aml < parser_state->
pkg_end) {
750 while (parser_state->
aml < parser_state->
pkg_end) {
751 field = acpi_ps_get_next_field(parser_state);
772 if (parser_state->
aml < parser_state->
pkg_end) {
786 arg->
named.data = parser_state->
aml;
822 if (arg->
common.aml_opcode ==
852 if (parser_state->
aml < parser_state->
pkg_end) {