Lines Matching refs:parser_state
29 *parser_state) in acpi_ps_get_parent_scope()
32 return (parser_state->scope->parse_scope.op); in acpi_ps_get_parent_scope()
49 u8 acpi_ps_has_completed_scope(struct acpi_parse_state * parser_state) in acpi_ps_has_completed_scope() argument
53 ((parser_state->aml >= parser_state->scope->parse_scope.arg_end in acpi_ps_has_completed_scope()
54 || !parser_state->scope->parse_scope.arg_count))); in acpi_ps_has_completed_scope()
71 acpi_ps_init_scope(struct acpi_parse_state * parser_state, in acpi_ps_init_scope() argument
86 scope->parse_scope.arg_end = parser_state->aml_end; in acpi_ps_init_scope()
87 scope->parse_scope.pkg_end = parser_state->aml_end; in acpi_ps_init_scope()
89 parser_state->scope = scope; in acpi_ps_init_scope()
90 parser_state->start_op = root_op; in acpi_ps_init_scope()
111 acpi_ps_push_scope(struct acpi_parse_state *parser_state, in acpi_ps_push_scope() argument
128 scope->parse_scope.pkg_end = parser_state->pkg_end; in acpi_ps_push_scope()
132 acpi_ut_push_generic_state(&parser_state->scope, scope); in acpi_ps_push_scope()
138 scope->parse_scope.arg_end = parser_state->pkg_end; in acpi_ps_push_scope()
165 acpi_ps_pop_scope(struct acpi_parse_state *parser_state, in acpi_ps_pop_scope() argument
168 union acpi_generic_state *scope = parser_state->scope; in acpi_ps_pop_scope()
175 scope = acpi_ut_pop_generic_state(&parser_state->scope); in acpi_ps_pop_scope()
182 parser_state->pkg_end = scope->parse_scope.pkg_end; in acpi_ps_pop_scope()
213 void acpi_ps_cleanup_scope(struct acpi_parse_state *parser_state) in acpi_ps_cleanup_scope() argument
217 ACPI_FUNCTION_TRACE_PTR(ps_cleanup_scope, parser_state); in acpi_ps_cleanup_scope()
219 if (!parser_state) { in acpi_ps_cleanup_scope()
225 while (parser_state->scope) { in acpi_ps_cleanup_scope()
226 scope = acpi_ut_pop_generic_state(&parser_state->scope); in acpi_ps_cleanup_scope()