Home
last modified time | relevance | path

Searched refs:Op (Results 1 – 25 of 109) sorted by relevance

12345

/acpica-3.7.0/source/components/disassembler/
Ddmwalk.c187 ACPI_PARSE_OBJECT *Op,
193 ACPI_PARSE_OBJECT *Op,
219 ACPI_PARSE_OBJECT *Op = Origin; in AcpiDmDisassemble() local
223 if (!Op) in AcpiDmDisassemble()
230 Info.StartAml = Op->Common.Aml - sizeof (ACPI_TABLE_HEADER); in AcpiDmDisassemble()
231 Info.AmlOffset = Op->Common.Aml - Info.StartAml; in AcpiDmDisassemble()
233 AcpiDmWalkParseTree (Op, AcpiDmDescendingOp, AcpiDmAscendingOp, &Info); in AcpiDmDisassemble()
255 ACPI_PARSE_OBJECT *Op, in AcpiDmWalkParseTree() argument
261 ACPI_PARSE_OBJECT *StartOp = Op; in AcpiDmWalkParseTree()
270 while (Op) in AcpiDmWalkParseTree()
[all …]
Ddmopcode.c170 ACPI_PARSE_OBJECT *Op);
174 ACPI_PARSE_OBJECT *Op);
196 ACPI_PARSE_OBJECT *Op) in AcpiDmDisplayTargetPathname() argument
204 if (Op->Common.AmlOpcode == AML_RETURN_OP) in AcpiDmDisplayTargetPathname()
206 PrevOp = Op->Asl.Value.Arg; in AcpiDmDisplayTargetPathname()
210 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in AcpiDmDisplayTargetPathname()
218 NextOp = Op->Asl.Value.Arg; in AcpiDmDisplayTargetPathname()
288 ACPI_PARSE_OBJECT *Op) in AcpiDmNotifyDescription() argument
298 NextOp = Op->Asl.Value.Arg; in AcpiDmNotifyDescription()
323 Node = Op->Asl.Node; in AcpiDmNotifyDescription()
[all …]
/acpica-3.7.0/source/compiler/
Dasllength.c165 ACPI_PARSE_OBJECT *Op,
170 ACPI_PARSE_OBJECT *Op);
176 ACPI_PARSE_OBJECT *Op,
197 ACPI_PARSE_OBJECT *Op, in LnInitLengthsWalk() argument
202 Op->Asl.AmlSubtreeLength = 0; in LnInitLengthsWalk()
230 ACPI_PARSE_OBJECT *Op, in LnPackageLengthWalk() argument
237 CgGenerateAmlLengths (Op); in LnPackageLengthWalk()
241 if ((Op->Asl.Parent) && in LnPackageLengthWalk()
242 (Op->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG)) in LnPackageLengthWalk()
244 Op->Asl.Parent->Asl.AmlSubtreeLength += ( in LnPackageLengthWalk()
[all …]
Daslxref.c167 ACPI_PARSE_OBJECT *Op,
173 ACPI_PARSE_OBJECT *Op,
179 ACPI_PARSE_OBJECT *Op,
196 ACPI_PARSE_OBJECT *Op,
205 ACPI_PARSE_OBJECT *Op);
210 ACPI_PARSE_OBJECT *Op);
350 ACPI_PARSE_OBJECT *Op, in XfCheckFieldRange() argument
370 AslError (ASL_ERROR, ASL_MSG_FIELD_UNIT_OFFSET, Op, NULL); in XfCheckFieldRange()
384 AslError (ASL_ERROR, ASL_MSG_FIELD_UNIT_ACCESS_WIDTH, Op, NULL); in XfCheckFieldRange()
410 ACPI_PARSE_OBJECT *Op, in XfNamespaceLocateBegin() argument
[all …]
Daslmethod.c167 ACPI_PARSE_OBJECT *Op,
172 ACPI_PARSE_OBJECT *Op);
192 ACPI_PARSE_OBJECT *Op, in MtMethodAnalysisWalkBegin() argument
218 OtXrefWalkPart1 (Op, Level, MethodInfo); in MtMethodAnalysisWalkBegin()
221 switch (Op->Asl.ParseOpcode) in MtMethodAnalysisWalkBegin()
231 MethodInfo->Op = Op; in MtMethodAnalysisWalkBegin()
241 if (ACPI_COMPARE_NAMESEG (METHOD_NAME__PS0, Op->Asl.NameSeg)) in MtMethodAnalysisWalkBegin()
245 if ((!ApFindNameInScope (METHOD_NAME__PS1, Op)) && in MtMethodAnalysisWalkBegin()
246 (!ApFindNameInScope (METHOD_NAME__PS2, Op)) && in MtMethodAnalysisWalkBegin()
247 (!ApFindNameInScope (METHOD_NAME__PS3, Op))) in MtMethodAnalysisWalkBegin()
[all …]
Daslcodegen.c165 ACPI_PARSE_OBJECT *Op,
171 ACPI_PARSE_OBJECT *Op);
175 ACPI_PARSE_OBJECT *Op);
179 ACPI_PARSE_OBJECT *Op);
183 ACPI_PARSE_OBJECT *Op);
187 ACPI_PARSE_OBJECT *Op);
240 ACPI_PARSE_OBJECT *Op, in CgAmlWriteWalk() argument
247 CgWriteNode (Op); in CgAmlWriteWalk()
265 switch (Op->Asl.ParseOpcode) in CgAmlWriteWalk()
272 UtDumpStringOp (Op, Level); in CgAmlWriteWalk()
[all …]
Dasltree.c177 ACPI_PARSE_OBJECT *Op) in TrSetOpIntegerValue() argument
180 if (!Op) in TrSetOpIntegerValue()
187 UtGetOpName (Op->Asl.ParseOpcode), in TrSetOpIntegerValue()
192 if (Op->Asl.ParseOpcode == PARSEOP_ONES) in TrSetOpIntegerValue()
198 Op->Asl.Value.Integer = ACPI_UINT8_MAX; in TrSetOpIntegerValue()
203 Op->Asl.Value.Integer = ACPI_UINT16_MAX; in TrSetOpIntegerValue()
208 Op->Asl.Value.Integer = ACPI_UINT32_MAX; in TrSetOpIntegerValue()
220 Op->Asl.ParseOpcode = (UINT16) ParseOpcode; in TrSetOpIntegerValue()
221 UtSetParseOpName (Op); in TrSetOpIntegerValue()
231 UtCheckIntegerRange (Op, 0x00, ACPI_UINT8_MAX); in TrSetOpIntegerValue()
[all …]
Daslparseop.c183 ACPI_PARSE_OBJECT *Op; in TrCreateOp() local
195 Op = TrAllocateOp (ParseOpcode); in TrCreateOp()
199 Op->Asl.LineNumber, Op->Asl.Column, Op, in TrCreateOp()
208 AslGbl_ParseTreeRoot = Op; in TrCreateOp()
209 Op->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG; in TrCreateOp()
262 Op->Asl.Child = Child; in TrCreateOp()
278 Op->Asl.CommentList = Child->Asl.CommentList; in TrCreateOp()
279 Op->Asl.EndBlkComment = Child->Asl.EndBlkComment; in TrCreateOp()
280 Op->Asl.InlineComment = Child->Asl.InlineComment; in TrCreateOp()
281 Op->Asl.FileChanged = Child->Asl.FileChanged; in TrCreateOp()
[all …]
Daslfold.c166 ACPI_PARSE_OBJECT *Op,
172 ACPI_PARSE_OBJECT *Op,
178 ACPI_PARSE_OBJECT *Op,
184 ACPI_PARSE_OBJECT *Op,
189 ACPI_PARSE_OBJECT *Op,
194 ACPI_PARSE_OBJECT *Op,
199 ACPI_PARSE_OBJECT *Op,
218 ACPI_PARSE_OBJECT *Op, in OpcAmlConstantWalk() argument
226 if (Op->Asl.CompileFlags == 0) in OpcAmlConstantWalk()
235 if ((!(Op->Asl.CompileFlags & OP_COMPILE_TIME_CONST)) || in OpcAmlConstantWalk()
[all …]
Daslopcodes.c164 ACPI_PARSE_OBJECT *Op);
168 ACPI_PARSE_OBJECT *Op);
172 ACPI_PARSE_OBJECT *Op);
176 ACPI_PARSE_OBJECT *Op);
180 ACPI_PARSE_OBJECT *Op);
197 ACPI_PARSE_OBJECT *Op, in OpcAmlOpcodeUpdateWalk() argument
213 if (Op->Asl.ParseOpcode == PARSEOP_VAR_PACKAGE) in OpcAmlOpcodeUpdateWalk()
215 OpnDoPackage (Op); in OpcAmlOpcodeUpdateWalk()
237 ACPI_PARSE_OBJECT *Op, in OpcAmlOpcodeWalk() argument
244 OpcGenerateAmlOpcode (Op); in OpcAmlOpcodeWalk()
[all …]
Daslload.c168 ACPI_PARSE_OBJECT *Op,
173 ACPI_PARSE_OBJECT *Op,
178 ACPI_PARSE_OBJECT *Op,
184 ACPI_PARSE_OBJECT *Op,
190 ACPI_PARSE_OBJECT *Op,
197 ACPI_PARSE_OBJECT *Op);
202 ACPI_PARSE_OBJECT *Op,
277 ACPI_PARSE_OBJECT *Op, in LdLoadFieldElements() argument
287 SourceRegion = UtGetArg (Op, 0); in LdLoadFieldElements()
305 switch (Op->Asl.AmlOpcode) in LdLoadFieldElements()
[all …]
Daslnamesp.c283 ACPI_PARSE_OBJECT *Op; in NsDoOneNamespaceObject() local
292 Op = Node->Op; in NsDoOneNamespaceObject()
295 if (!Op) in NsDoOneNamespaceObject()
335 if (Op->Asl.ParseOpcode == PARSEOP_NAME) in NsDoOneNamespaceObject()
337 Op = Op->Asl.Child; in NsDoOneNamespaceObject()
340 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || in NsDoOneNamespaceObject()
341 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING)) in NsDoOneNamespaceObject()
343 Op = Op->Asl.Next; in NsDoOneNamespaceObject()
348 ACPI_FORMAT_UINT64 (Op->Asl.Value.Integer)); in NsDoOneNamespaceObject()
353 if (Op->Asl.ParseOpcode == PARSEOP_NAME) in NsDoOneNamespaceObject()
[all …]
Daslprepkg.c166 ACPI_PARSE_OBJECT *Op,
183 ACPI_PARSE_OBJECT *Op,
190 ACPI_PARSE_OBJECT *Op);
195 ACPI_PARSE_OBJECT *Op,
225 ACPI_PARSE_OBJECT *Op; in ApCheckPackage() local
239 Op = ParentOp->Asl.Child; in ApCheckPackage()
240 Count = (UINT32) Op->Asl.Value.Integer; in ApCheckPackage()
278 Op = Op->Asl.Next; in ApCheckPackage()
309 ApCheckPackageElements (Predefined->Info.Name, Op, in ApCheckPackage()
321 if (!Op) in ApCheckPackage()
[all …]
Dasllisting.c171 ACPI_PARSE_OBJECT *Op,
177 ACPI_PARSE_OBJECT *Op,
183 ACPI_PARSE_OBJECT *Op,
306 ACPI_PARSE_OBJECT *Op, in LsAmlListingWalk() argument
315 LsWriteNodeToListing (Op, FileId); in LsAmlListingWalk()
317 if (Op->Asl.CompileFlags & OP_IS_RESOURCE_DATA) in LsAmlListingWalk()
332 for (i = 0; i < Op->Asl.FinalAmlLength; i++) in LsAmlListingWalk()
381 ACPI_PARSE_OBJECT *Op, in LsTreeWriteWalk() argument
388 switch (Op->Asl.ParseOpcode) in LsTreeWriteWalk()
395 UtDumpStringOp (Op, Level); in LsTreeWriteWalk()
[all …]
Daslanalyze.c166 ACPI_PARSE_OBJECT *Op,
185 ACPI_PARSE_OBJECT *Op) in AnIsInternalMethod() argument
188 if ((!strcmp (Op->Asl.ExternalName, "\\_OSI")) || in AnIsInternalMethod()
189 (!strcmp (Op->Asl.ExternalName, "_OSI"))) in AnIsInternalMethod()
212 ACPI_PARSE_OBJECT *Op) in AnGetInternalMethodReturnType() argument
215 if ((!strcmp (Op->Asl.ExternalName, "\\_OSI")) || in AnGetInternalMethodReturnType()
216 (!strcmp (Op->Asl.ExternalName, "_OSI"))) in AnGetInternalMethodReturnType()
241 ACPI_PARSE_OBJECT *Op, in AnCheckId() argument
250 if (Op->Asl.ParseOpcode != PARSEOP_STRING_LITERAL) in AnCheckId()
257 Length = strlen (Op->Asl.Value.String); in AnCheckId()
[all …]
Dcvcompiler.c391 ACPI_PARSE_OBJECT *Op) in CvCalculateCommentLengths() argument
404 Op->Asl.ParseOpName); in CvCalculateCommentLengths()
406 if (Op->Asl.FileChanged) in CvCalculateCommentLengths()
408 TotalCommentLength += strlen (Op->Asl.Filename) + 3; in CvCalculateCommentLengths()
410 if (Op->Asl.ParentFilename && in CvCalculateCommentLengths()
411 AcpiUtStricmp (Op->Asl.Filename, Op->Asl.ParentFilename)) in CvCalculateCommentLengths()
413 TotalCommentLength += strlen (Op->Asl.ParentFilename) + 3; in CvCalculateCommentLengths()
417 if (Op->Asl.CommentList) in CvCalculateCommentLengths()
419 Current = Op->Asl.CommentList; in CvCalculateCommentLengths()
430 if (Op->Asl.EndBlkComment) in CvCalculateCommentLengths()
[all …]
Daslxrefout.c166 ACPI_PARSE_OBJECT *Op,
172 ACPI_PARSE_OBJECT *Op,
178 ACPI_PARSE_OBJECT *Op,
185 ACPI_PARSE_OBJECT *Op,
191 ACPI_PARSE_OBJECT *Op,
336 ACPI_PARSE_OBJECT *Op, in OtXrefWalkPart1() argument
348 switch (Op->Asl.ParseOpcode) in OtXrefWalkPart1()
355 (MethodInfo->Op->Asl.Child == Op) || in OtXrefWalkPart1()
356 !Op->Asl.Node) in OtXrefWalkPart1()
361 MethodInfo->CurrentOp = Op; in OtXrefWalkPart1()
[all …]
Daslprintf.c164 ACPI_PARSE_OBJECT *Op,
169 ACPI_PARSE_OBJECT *Op,
187 ACPI_PARSE_OBJECT *Op) in OpcDoPrintf() argument
196 DestOp->Asl.Parent = Op; in OpcDoPrintf()
197 DestOp->Asl.LogicalLineNumber = Op->Asl.LogicalLineNumber; in OpcDoPrintf()
199 OpcParsePrintf (Op, DestOp); in OpcDoPrintf()
217 ACPI_PARSE_OBJECT *Op) in OpcDoFprintf() argument
224 DestOp = Op->Asl.Child; in OpcDoFprintf()
225 Op->Asl.Child = DestOp->Asl.Next; in OpcDoFprintf()
228 OpcParsePrintf (Op, DestOp); in OpcDoFprintf()
[all …]
Dasloperands.c163 ACPI_PARSE_OBJECT *Op);
167 ACPI_PARSE_OBJECT *Op);
171 ACPI_PARSE_OBJECT *Op);
175 ACPI_PARSE_OBJECT *Op);
180 ACPI_PARSE_OBJECT *Op);
184 ACPI_PARSE_OBJECT *Op);
188 ACPI_PARSE_OBJECT *Op);
192 ACPI_PARSE_OBJECT *Op);
196 ACPI_PARSE_OBJECT *Op);
200 ACPI_PARSE_OBJECT *Op);
[all …]
/acpica-3.7.0/source/components/parser/
Dpsobject.c305 ACPI_PARSE_OBJECT **Op) in AcpiPsBuildNamedOp() argument
365 WalkState->Op = NULL; in AcpiPsBuildNamedOp()
367 Status = WalkState->DescendingCallback (WalkState, Op); in AcpiPsBuildNamedOp()
377 if (!*Op) in AcpiPsBuildNamedOp()
382 Status = AcpiPsNextParseState (WalkState, *Op, Status); in AcpiPsBuildNamedOp()
392 AcpiPsAppendArg (*Op, UnnamedOp->Common.Value.Arg); in AcpiPsBuildNamedOp()
398 (*Op)->Common.InlineComment = UnnamedOp->Common.InlineComment; in AcpiPsBuildNamedOp()
399 (*Op)->Common.EndNodeComment = UnnamedOp->Common.EndNodeComment; in AcpiPsBuildNamedOp()
400 (*Op)->Common.CloseBraceComment = UnnamedOp->Common.CloseBraceComment; in AcpiPsBuildNamedOp()
401 (*Op)->Common.NameComment = UnnamedOp->Common.NameComment; in AcpiPsBuildNamedOp()
[all …]
Dpsloop.c179 ACPI_PARSE_OBJECT *Op);
200 ACPI_PARSE_OBJECT *Op) in AcpiPsGetArguments() argument
210 "Get arguments for opcode [%s]\n", Op->Common.AmlOpName)); in AcpiPsGetArguments()
212 switch (Op->Common.AmlOpcode) in AcpiPsGetArguments()
223 GET_CURRENT_ARG_TYPE (WalkState->ArgTypes), Op); in AcpiPsGetArguments()
229 &(WalkState->ParserState), Op, ACPI_POSSIBLE_METHOD_CALL); in AcpiPsGetArguments()
247 switch (Op->Common.AmlOpcode) in AcpiPsGetArguments()
272 AcpiPsAppendArg (Op, Arg); in AcpiPsGetArguments()
284 switch (Op->Common.AmlOpcode) in AcpiPsGetArguments()
293 Op->Named.Data = WalkState->ParserState.Aml; in AcpiPsGetArguments()
[all …]
/acpica-3.7.0/source/common/
Dadwalk.c176 ACPI_PARSE_OBJECT *Op,
182 ACPI_PARSE_OBJECT *Op,
188 ACPI_PARSE_OBJECT *Op,
194 ACPI_PARSE_OBJECT *Op,
200 ACPI_PARSE_OBJECT *Op,
208 ACPI_PARSE_OBJECT *Op);
212 ACPI_PARSE_OBJECT *Op,
218 ACPI_PARSE_OBJECT *Op,
477 ACPI_PARSE_OBJECT *Op, in AcpiDmDumpDescending() argument
486 if (!Op) in AcpiDmDumpDescending()
[all …]
/acpica-3.7.0/source/components/dispatcher/
Ddswload.c256 ACPI_PARSE_OBJECT *Op; in AcpiDsLoad1BeginOp() local
264 ACPI_FUNCTION_TRACE_PTR (DsLoad1BeginOp, WalkState->Op); in AcpiDsLoad1BeginOp()
267 Op = WalkState->Op; in AcpiDsLoad1BeginOp()
268 ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH, "Op=%p State=%p\n", Op, WalkState)); in AcpiDsLoad1BeginOp()
272 if (Op) in AcpiDsLoad1BeginOp()
276 *OutOp = Op; in AcpiDsLoad1BeginOp()
282 if (Op->Common.Node) in AcpiDsLoad1BeginOp()
284 *OutOp = Op; in AcpiDsLoad1BeginOp()
296 "State=%p Op=%p [%s]\n", WalkState, Op, in AcpiDsLoad1BeginOp()
317 AcpiDmAddOpToExternalList (Op, Path, ACPI_TYPE_DEVICE, 0, 0); in AcpiDsLoad1BeginOp()
[all …]
Ddswexec.c229 Status = AcpiDsCreateOperand (WalkState, WalkState->Op, 0); in AcpiDsGetPredicateValue()
305 WalkState->ControlState->Common.Value, WalkState->Op)); in AcpiDsGetPredicateValue()
346 ACPI_PARSE_OBJECT *Op; in AcpiDsExecBeginOp() local
354 Op = WalkState->Op; in AcpiDsExecBeginOp()
355 if (!Op) in AcpiDsExecBeginOp()
363 Op = *OutOp; in AcpiDsExecBeginOp()
364 WalkState->Op = Op; in AcpiDsExecBeginOp()
365 WalkState->Opcode = Op->Common.AmlOpcode; in AcpiDsExecBeginOp()
366 WalkState->OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in AcpiDsExecBeginOp()
372 AcpiUtGetTypeName (WalkState->OpInfo->ObjectType), Op)); in AcpiDsExecBeginOp()
[all …]
/acpica-3.7.0/source/tools/acpihelp/
Dahaml.c159 const AH_AML_OPCODE *Op);
163 const AH_AML_TYPE *Op);
184 const AH_AML_OPCODE *Op; in AhFindAmlOpcode() local
192 for (Op = Gbl_AmlOpcodeInfo; Op->OpcodeString; Op++) in AhFindAmlOpcode()
194 if (!Op->OpcodeName) /* Unused opcodes */ in AhFindAmlOpcode()
201 AhDisplayAmlOpcode (Op); in AhFindAmlOpcode()
208 strcpy (Gbl_Buffer, Op->OpcodeName); in AhFindAmlOpcode()
213 AhDisplayAmlOpcode (Op); in AhFindAmlOpcode()
241 const AH_AML_OPCODE *Op; in AhDecodeAmlOpcode() local
271 for (Op = Gbl_AmlOpcodeInfo; Op->OpcodeString; Op++) in AhDecodeAmlOpcode()
[all …]

12345