Lines Matching refs:Scope
177 return (ParserState->Scope->ParseScope.Op); in AcpiPsGetParentScope()
201 ((ParserState->Aml >= ParserState->Scope->ParseScope.ArgEnd || in AcpiPsHasCompletedScope()
202 !ParserState->Scope->ParseScope.ArgCount))); in AcpiPsHasCompletedScope()
224 ACPI_GENERIC_STATE *Scope; in AcpiPsInitScope() local
230 Scope = AcpiUtCreateGenericState (); in AcpiPsInitScope()
231 if (!Scope) in AcpiPsInitScope()
236 Scope->Common.DescriptorType = ACPI_DESC_TYPE_STATE_RPSCOPE; in AcpiPsInitScope()
237 Scope->ParseScope.Op = RootOp; in AcpiPsInitScope()
238 Scope->ParseScope.ArgCount = ACPI_VAR_ARGS; in AcpiPsInitScope()
239 Scope->ParseScope.ArgEnd = ParserState->AmlEnd; in AcpiPsInitScope()
240 Scope->ParseScope.PkgEnd = ParserState->AmlEnd; in AcpiPsInitScope()
242 ParserState->Scope = Scope; in AcpiPsInitScope()
271 ACPI_GENERIC_STATE *Scope; in AcpiPsPushScope() local
277 Scope = AcpiUtCreateGenericState (); in AcpiPsPushScope()
278 if (!Scope) in AcpiPsPushScope()
283 Scope->Common.DescriptorType = ACPI_DESC_TYPE_STATE_PSCOPE; in AcpiPsPushScope()
284 Scope->ParseScope.Op = Op; in AcpiPsPushScope()
285 Scope->ParseScope.ArgList = RemainingArgs; in AcpiPsPushScope()
286 Scope->ParseScope.ArgCount = ArgCount; in AcpiPsPushScope()
287 Scope->ParseScope.PkgEnd = ParserState->PkgEnd; in AcpiPsPushScope()
291 AcpiUtPushGenericState (&ParserState->Scope, Scope); in AcpiPsPushScope()
297 Scope->ParseScope.ArgEnd = ParserState->PkgEnd; in AcpiPsPushScope()
303 Scope->ParseScope.ArgEnd = ACPI_TO_POINTER (ACPI_MAX_PTR); in AcpiPsPushScope()
333 ACPI_GENERIC_STATE *Scope = ParserState->Scope; in AcpiPsPopScope() local
341 if (Scope->Common.Next) in AcpiPsPopScope()
343 Scope = AcpiUtPopGenericState (&ParserState->Scope); in AcpiPsPopScope()
347 *Op = Scope->ParseScope.Op; in AcpiPsPopScope()
348 *ArgList = Scope->ParseScope.ArgList; in AcpiPsPopScope()
349 *ArgCount = Scope->ParseScope.ArgCount; in AcpiPsPopScope()
350 ParserState->PkgEnd = Scope->ParseScope.PkgEnd; in AcpiPsPopScope()
354 AcpiUtDeleteGenericState (Scope); in AcpiPsPopScope()
388 ACPI_GENERIC_STATE *Scope; in AcpiPsCleanupScope() local
401 while (ParserState->Scope) in AcpiPsCleanupScope()
403 Scope = AcpiUtPopGenericState (&ParserState->Scope); in AcpiPsCleanupScope()
404 AcpiUtDeleteGenericState (Scope); in AcpiPsCleanupScope()