Lines Matching refs:aml
78 u8 *aml = parser_state->aml; in acpi_ps_get_next_package_length() local
89 byte_count = (aml[0] >> 6); in acpi_ps_get_next_package_length()
90 parser_state->aml += ((acpi_size)byte_count + 1); in acpi_ps_get_next_package_length()
102 package_length |= (aml[byte_count] << ((byte_count << 3) - 4)); in acpi_ps_get_next_package_length()
110 package_length |= (aml[0] & byte_zero_mask); in acpi_ps_get_next_package_length()
129 u8 *start = parser_state->aml; in acpi_ps_get_next_package_end()
158 u8 *start = parser_state->aml; in acpi_ps_get_next_namestring()
159 u8 *end = parser_state->aml; in acpi_ps_get_next_namestring()
204 parser_state->aml = end; in acpi_ps_get_next_namestring()
239 u8 *start = parser_state->aml; in acpi_ps_get_next_namepath()
277 walk_state->parser_state.aml = start; in acpi_ps_get_next_namepath()
396 u8 *aml = parser_state->aml; in acpi_ps_get_next_simple_arg() local
406 arg->common.value.integer = (u64) *aml; in acpi_ps_get_next_simple_arg()
415 ACPI_MOVE_16_TO_64(&arg->common.value.integer, aml); in acpi_ps_get_next_simple_arg()
424 ACPI_MOVE_32_TO_64(&arg->common.value.integer, aml); in acpi_ps_get_next_simple_arg()
433 ACPI_MOVE_64_TO_64(&arg->common.value.integer, aml); in acpi_ps_get_next_simple_arg()
442 arg->common.value.string = ACPI_CAST_PTR(char, aml); in acpi_ps_get_next_simple_arg()
447 while (aml[length]) { in acpi_ps_get_next_simple_arg()
468 parser_state->aml += length; in acpi_ps_get_next_simple_arg()
487 u8 *aml; in acpi_ps_get_next_field() local
501 aml = parser_state->aml; in acpi_ps_get_next_field()
505 switch (ACPI_GET8(parser_state->aml)) { in acpi_ps_get_next_field()
509 parser_state->aml++; in acpi_ps_get_next_field()
515 parser_state->aml++; in acpi_ps_get_next_field()
521 parser_state->aml++; in acpi_ps_get_next_field()
527 parser_state->aml++; in acpi_ps_get_next_field()
538 field = acpi_ps_alloc_op(opcode, aml); in acpi_ps_get_next_field()
550 ACPI_MOVE_32_TO_32(&name, parser_state->aml); in acpi_ps_get_next_field()
552 parser_state->aml += ACPI_NAME_SIZE; in acpi_ps_get_next_field()
579 access_type = ACPI_GET8(parser_state->aml); in acpi_ps_get_next_field()
580 parser_state->aml++; in acpi_ps_get_next_field()
581 access_attribute = ACPI_GET8(parser_state->aml); in acpi_ps_get_next_field()
582 parser_state->aml++; in acpi_ps_get_next_field()
590 access_length = ACPI_GET8(parser_state->aml); in acpi_ps_get_next_field()
591 parser_state->aml++; in acpi_ps_get_next_field()
604 aml = parser_state->aml; in acpi_ps_get_next_field()
605 if (ACPI_GET8(parser_state->aml) == AML_BUFFER_OP) { in acpi_ps_get_next_field()
606 parser_state->aml++; in acpi_ps_get_next_field()
608 pkg_end = parser_state->aml; in acpi_ps_get_next_field()
613 if (parser_state->aml < pkg_end) { in acpi_ps_get_next_field()
618 acpi_ps_alloc_op(AML_INT_BYTELIST_OP, aml); in acpi_ps_get_next_field()
626 opcode = ACPI_GET8(parser_state->aml); in acpi_ps_get_next_field()
627 parser_state->aml++; in acpi_ps_get_next_field()
633 ACPI_GET8(parser_state->aml); in acpi_ps_get_next_field()
634 parser_state->aml += 1; in acpi_ps_get_next_field()
640 ACPI_GET16(parser_state->aml); in acpi_ps_get_next_field()
641 parser_state->aml += 2; in acpi_ps_get_next_field()
647 ACPI_GET32(parser_state->aml); in acpi_ps_get_next_field()
648 parser_state->aml += 4; in acpi_ps_get_next_field()
660 arg->named.data = parser_state->aml; in acpi_ps_get_next_field()
665 parser_state->aml = pkg_end; in acpi_ps_get_next_field()
667 arg = acpi_ps_alloc_op(AML_INT_NAMEPATH_OP, aml); in acpi_ps_get_next_field()
732 arg = acpi_ps_alloc_op(AML_BYTE_OP, parser_state->aml); in acpi_ps_get_next_arg()
750 if (parser_state->aml < parser_state->pkg_end) { in acpi_ps_get_next_arg()
754 while (parser_state->aml < parser_state->pkg_end) { in acpi_ps_get_next_arg()
770 parser_state->aml = parser_state->pkg_end; in acpi_ps_get_next_arg()
776 if (parser_state->aml < parser_state->pkg_end) { in acpi_ps_get_next_arg()
781 parser_state->aml); in acpi_ps_get_next_arg()
790 parser_state->aml); in acpi_ps_get_next_arg()
791 arg->named.data = parser_state->aml; in acpi_ps_get_next_arg()
795 parser_state->aml = parser_state->pkg_end; in acpi_ps_get_next_arg()
814 parser_state->aml); in acpi_ps_get_next_arg()
861 if (parser_state->aml < parser_state->pkg_end) { in acpi_ps_get_next_arg()