Lines Matching refs:parser_state
56 acpi_ps_get_next_package_length(struct acpi_parse_state *parser_state);
59 *parser_state);
76 acpi_ps_get_next_package_length(struct acpi_parse_state *parser_state) in acpi_ps_get_next_package_length() argument
78 u8 *aml = parser_state->aml; in acpi_ps_get_next_package_length()
90 parser_state->aml += ((acpi_size) byte_count + 1); in acpi_ps_get_next_package_length()
127 u8 *acpi_ps_get_next_package_end(struct acpi_parse_state *parser_state) in acpi_ps_get_next_package_end() argument
129 u8 *start = parser_state->aml; in acpi_ps_get_next_package_end()
136 package_length = acpi_ps_get_next_package_length(parser_state); in acpi_ps_get_next_package_end()
156 char *acpi_ps_get_next_namestring(struct acpi_parse_state *parser_state) in acpi_ps_get_next_namestring() argument
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()
231 struct acpi_parse_state *parser_state, in acpi_ps_get_next_namepath() argument
239 u8 *start = parser_state->aml; in acpi_ps_get_next_namepath()
243 path = acpi_ps_get_next_namestring(parser_state); in acpi_ps_get_next_namepath()
277 walk_state->parser_state.aml = start; in acpi_ps_get_next_namepath()
391 acpi_ps_get_next_simple_arg(struct acpi_parse_state *parser_state, in acpi_ps_get_next_simple_arg() argument
396 u8 *aml = parser_state->aml; in acpi_ps_get_next_simple_arg()
458 acpi_ps_get_next_namestring(parser_state); in acpi_ps_get_next_simple_arg()
468 parser_state->aml += length; in acpi_ps_get_next_simple_arg()
485 *parser_state) in acpi_ps_get_next_field() argument
488 ACPI_PTR_DIFF(parser_state->aml, in acpi_ps_get_next_field()
489 parser_state->aml_start); in acpi_ps_get_next_field()
498 switch (ACPI_GET8(parser_state->aml)) { in acpi_ps_get_next_field()
507 parser_state->aml++; in acpi_ps_get_next_field()
513 parser_state->aml++; in acpi_ps_get_next_field()
533 ACPI_MOVE_32_TO_32(&name, parser_state->aml); in acpi_ps_get_next_field()
535 parser_state->aml += ACPI_NAME_SIZE; in acpi_ps_get_next_field()
540 acpi_ps_get_next_package_length(parser_state); in acpi_ps_get_next_field()
548 acpi_ps_get_next_package_length(parser_state); in acpi_ps_get_next_field()
558 (((u32) ACPI_GET8(parser_state->aml) << 8)); in acpi_ps_get_next_field()
559 parser_state->aml++; in acpi_ps_get_next_field()
560 field->common.value.integer |= ACPI_GET8(parser_state->aml); in acpi_ps_get_next_field()
561 parser_state->aml++; in acpi_ps_get_next_field()
591 struct acpi_parse_state *parser_state, in acpi_ps_get_next_arg() argument
600 ACPI_FUNCTION_TRACE_PTR(ps_get_next_arg, parser_state); in acpi_ps_get_next_arg()
616 acpi_ps_get_next_simple_arg(parser_state, arg_type, arg); in acpi_ps_get_next_arg()
623 parser_state->pkg_end = in acpi_ps_get_next_arg()
624 acpi_ps_get_next_package_end(parser_state); in acpi_ps_get_next_arg()
629 if (parser_state->aml < parser_state->pkg_end) { in acpi_ps_get_next_arg()
633 while (parser_state->aml < parser_state->pkg_end) { in acpi_ps_get_next_arg()
634 field = acpi_ps_get_next_field(parser_state); in acpi_ps_get_next_arg()
649 parser_state->aml = parser_state->pkg_end; in acpi_ps_get_next_arg()
655 if (parser_state->aml < parser_state->pkg_end) { in acpi_ps_get_next_arg()
667 ACPI_PTR_DIFF(parser_state->pkg_end, in acpi_ps_get_next_arg()
668 parser_state->aml); in acpi_ps_get_next_arg()
669 arg->named.data = parser_state->aml; in acpi_ps_get_next_arg()
673 parser_state->aml = parser_state->pkg_end; in acpi_ps_get_next_arg()
681 subop = acpi_ps_peek_opcode(parser_state); in acpi_ps_get_next_arg()
698 parser_state, arg, in acpi_ps_get_next_arg()
713 parser_state, arg, in acpi_ps_get_next_arg()
735 if (parser_state->aml < parser_state->pkg_end) { in acpi_ps_get_next_arg()