Home
last modified time | relevance | path

Searched refs:ParserState (Results 1 – 16 of 16) sorted by relevance

/titanic_50/usr/src/uts/intel/io/acpica/parser/
H A Dpsargs.c58 ACPI_PARSE_STATE *ParserState);
62 ACPI_PARSE_STATE *ParserState);
81 ACPI_PARSE_STATE *ParserState) in AcpiPsGetNextPackageLength() argument
83 UINT8 *Aml = ParserState->Aml; in AcpiPsGetNextPackageLength()
97 ParserState->Aml += ((ACPI_SIZE) ByteCount + 1); in AcpiPsGetNextPackageLength()
138 ACPI_PARSE_STATE *ParserState) in AcpiPsGetNextPackageEnd() argument
140 UINT8 *Start = ParserState->Aml; in AcpiPsGetNextPackageEnd()
149 PackageLength = AcpiPsGetNextPackageLength (ParserState); in AcpiPsGetNextPackageEnd()
172 ACPI_PARSE_STATE *ParserState) in AcpiPsGetNextNamestring() argument
174 UINT8 *Start = ParserState->Aml; in AcpiPsGetNextNamestring()
[all …]
H A Dpsscope.c66 ACPI_PARSE_STATE *ParserState) in AcpiPsGetParentScope() argument
69 return (ParserState->Scope->ParseScope.Op); in AcpiPsGetParentScope()
89 ACPI_PARSE_STATE *ParserState) in AcpiPsHasCompletedScope() argument
93 ((ParserState->Aml >= ParserState->Scope->ParseScope.ArgEnd || in AcpiPsHasCompletedScope()
94 !ParserState->Scope->ParseScope.ArgCount))); in AcpiPsHasCompletedScope()
113 ACPI_PARSE_STATE *ParserState, in AcpiPsInitScope() argument
131 Scope->ParseScope.ArgEnd = ParserState->AmlEnd; in AcpiPsInitScope()
132 Scope->ParseScope.PkgEnd = ParserState->AmlEnd; in AcpiPsInitScope()
134 ParserState->Scope = Scope; in AcpiPsInitScope()
135 ParserState->StartOp = RootOp; in AcpiPsInitScope()
[all …]
H A Dpsloop.c117 AcpiPsGetNextSimpleArg (&(WalkState->ParserState), in AcpiPsGetArguments()
124 &(WalkState->ParserState), Op, ACPI_POSSIBLE_METHOD_CALL); in AcpiPsGetArguments()
140 WalkState->Aml = WalkState->ParserState.Aml; in AcpiPsGetArguments()
142 Status = AcpiPsGetNextArg (WalkState, &(WalkState->ParserState), in AcpiPsGetArguments()
186 (UINT32) (WalkState->ParserState.PkgEnd - AmlOpStart), in AcpiPsGetArguments()
195 WalkState->ParserState.Aml = WalkState->ParserState.PkgEnd; in AcpiPsGetArguments()
218 WalkState->ParserState.AmlStart) + in AcpiPsGetArguments()
237 Op->Named.Data = WalkState->ParserState.Aml; in AcpiPsGetArguments()
239 (WalkState->ParserState.PkgEnd - WalkState->ParserState.Aml); in AcpiPsGetArguments()
243 WalkState->ParserState.Aml = WalkState->ParserState.PkgEnd; in AcpiPsGetArguments()
[all …]
H A Dpsparse.c108 ACPI_PARSE_STATE *ParserState) in AcpiPsPeekOpcode() argument
114 Aml = ParserState->Aml; in AcpiPsPeekOpcode()
341 ACPI_PARSE_STATE *ParserState = &WalkState->ParserState; in AcpiPsNextParseState() local
355 ParserState->Aml = ParserState->AmlEnd; in AcpiPsNextParseState()
361 ParserState->Aml = WalkState->AmlLastWhile; in AcpiPsNextParseState()
368 ParserState->Aml = WalkState->AmlLastWhile; in AcpiPsNextParseState()
374 ParserState->Aml = WalkState->AmlLastWhile; in AcpiPsNextParseState()
380 ParserState->Aml = ParserState->Scope->ParseScope.PkgEnd; in AcpiPsNextParseState()
390 ParserState->Aml = AcpiPsGetNextPackageEnd (ParserState); in AcpiPsNextParseState()
402 ParserState->Aml = ParserState->Scope->ParseScope.PkgEnd; in AcpiPsNextParseState()
[all …]
H A Dpsobject.c82 WalkState->Aml = WalkState->ParserState.Aml; in AcpiPsGetAmlOpcode()
83 WalkState->Opcode = AcpiPsPeekOpcode (&(WalkState->ParserState)); in AcpiPsGetAmlOpcode()
112 WalkState->ParserState.AmlStart); in AcpiPsGetAmlOpcode()
119 ACPI_DUMP_BUFFER ((WalkState->ParserState.Aml - 16), 48); in AcpiPsGetAmlOpcode()
133 AcpiUtDumpBuffer (((UINT8 *) WalkState->ParserState.Aml - 16), in AcpiPsGetAmlOpcode()
142 WalkState->ParserState.Aml++; in AcpiPsGetAmlOpcode()
145 WalkState->ParserState.Aml++; in AcpiPsGetAmlOpcode()
154 WalkState->ParserState.Aml += in AcpiPsGetAmlOpcode()
204 Status = AcpiPsGetNextArg (WalkState, &(WalkState->ParserState), in AcpiPsBuildNamedOp()
362 ParentScope = AcpiPsGetParentScope (&(WalkState->ParserState)); in AcpiPsCreateOp()
[all …]
H A Dpsxface.c217 AcpiPsCleanupScope (&WalkState->ParserState); in AcpiPsExecuteMethod()
/titanic_50/usr/src/uts/intel/io/acpica/dispatcher/
H A Ddswstate.c624 WalkState->ParserState.StartOp = Origin; in AcpiDsCreateWalkState()
672 ACPI_PARSE_STATE *ParserState = &WalkState->ParserState; in AcpiDsInitAmlWalk() local
679 WalkState->ParserState.Aml = in AcpiDsInitAmlWalk()
680 WalkState->ParserState.AmlStart = AmlStart; in AcpiDsInitAmlWalk()
681 WalkState->ParserState.AmlEnd = in AcpiDsInitAmlWalk()
682 WalkState->ParserState.PkgEnd = AmlStart + AmlLength; in AcpiDsInitAmlWalk()
695 Status = AcpiPsInitScope (&WalkState->ParserState, Op); in AcpiDsInitAmlWalk()
703 WalkState->ParserState.StartNode = MethodNode; in AcpiDsInitAmlWalk()
734 ExtraOp = ParserState->StartOp; in AcpiDsInitAmlWalk()
742 ParserState->StartNode = NULL; in AcpiDsInitAmlWalk()
[all …]
H A Ddscontrol.c95 (WalkState->ParserState.Aml - 1)) in AcpiDsExecBeginControlOp()
124 WalkState->ParserState.Aml - 1; in AcpiDsExecBeginControlOp()
126 WalkState->ParserState.PkgEnd; in AcpiDsExecBeginControlOp()
H A Ddswload.c184 Path = AcpiPsGetNextNamestring (&WalkState->ParserState); in AcpiDsLoad1BeginOp()
426 AcpiPsAppendArg (AcpiPsGetParentScope (&WalkState->ParserState), Op); in AcpiDsLoad1BeginOp()
H A Ddswexec.c778 if (WalkState->ParserState.Aml == WalkState->ParserState.AmlEnd) in AcpiDsExecEndOp()
H A Ddswload2.c135 BufferPtr = AcpiPsGetNextNamestring (&WalkState->ParserState); in AcpiDsLoad2BeginOp()
H A Ddsmethod.c254 WalkState->ParserState.AmlStart); in AcpiDsMethodError()
/titanic_50/usr/src/uts/intel/sys/acpi/
H A Dacparser.h92 ACPI_PARSE_STATE *ParserState);
96 ACPI_PARSE_STATE *ParserState);
100 ACPI_PARSE_STATE *ParserState,
107 ACPI_PARSE_STATE *ParserState,
119 ACPI_PARSE_STATE *ParserState,
223 ACPI_PARSE_STATE *ParserState,
232 ACPI_PARSE_STATE *ParserState);
236 ACPI_PARSE_STATE *ParserState,
243 ACPI_PARSE_STATE *ParserState,
H A Dacstruct.h97 ACPI_PARSE_STATE ParserState; /* Current state of parser */ member
/titanic_50/usr/src/uts/intel/io/acpica/namespace/
H A Dnsxfname.c604 ACPI_PARSE_STATE ParserState; in ACPI_EXPORT_SYMBOL() local
628 ParserState.Aml = Buffer + sizeof (ACPI_TABLE_HEADER); in ACPI_EXPORT_SYMBOL()
629 Opcode = AcpiPsPeekOpcode (&ParserState); in ACPI_EXPORT_SYMBOL()
637 ParserState.Aml += AcpiPsGetOpcodeSize (Opcode); in ACPI_EXPORT_SYMBOL()
638 ParserState.PkgEnd = AcpiPsGetNextPackageEnd (&ParserState); in ACPI_EXPORT_SYMBOL()
639 Path = AcpiPsGetNextNamestring (&ParserState); in ACPI_EXPORT_SYMBOL()
641 MethodFlags = *ParserState.Aml++; in ACPI_EXPORT_SYMBOL()
642 AmlStart = ParserState.Aml; in ACPI_EXPORT_SYMBOL()
643 AmlLength = ACPI_PTR_DIFF (ParserState.PkgEnd, AmlStart); in ACPI_EXPORT_SYMBOL()
/titanic_50/usr/src/uts/intel/io/acpica/disassembler/
H A Ddmwalk.c499 Info->WalkState->ParserState.AmlStart); in AcpiDmDescendingOp()