HomeSort by: relevance | last modified time | path
    Searched defs:Op (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/sys/external/bsd/acpica/dist/parser/
pswalk.c 3 * Module Name: pswalk - Parser routines to walk parsed op tree(s)
178 ACPI_PARSE_OBJECT *Op = SubtreeRoot;
191 while (Op)
193 if (Op != Parent)
202 AcpiPsGetOpcodeName (Op->Common.AmlOpcode), Op);
204 if (Op->Named.AmlOpcode == AML_INT_NAMEPATH_OP)
206 AcpiOsPrintf (" %4.4s", Op->Common.Value.String);
208 if (Op->Named.AmlOpcode == AML_STRING_OP)
210 AcpiOsPrintf (" %s", Op->Common.Value.String)
    [all...]
psloop.c 179 ACPI_PARSE_OBJECT *Op);
187 * AmlOpStart - Op start in AML
188 * Op - Current Op
192 * DESCRIPTION: Get arguments for passed Op.
200 ACPI_PARSE_OBJECT *Op)
210 "Get arguments for opcode [%s]\n", Op->Common.AmlOpName));
212 switch (Op->Common.AmlOpcode)
223 GET_CURRENT_ARG_TYPE (WalkState->ArgTypes), Op);
229 &(WalkState->ParserState), Op, ACPI_POSSIBLE_METHOD_CALL)
    [all...]
psopinfo.c 282 const ACPI_OPCODE_INFO *Op;
285 Op = AcpiPsGetOpcodeInfo (Opcode);
289 return __UNCONST(Op->Name);
psxface.c 243 ACPI_PARSE_OBJECT *Op;
283 Op = AcpiPsCreateScopeOp (Info->ObjDesc->Method.AmlStart);
284 if (!Op)
301 Status = AcpiDsInitAmlWalk (WalkState, Op, Info->Node,
357 AcpiPsDeleteParseTree (Op);
409 ACPI_PARSE_OBJECT *Op = NULL;
418 Op = AcpiPsCreateScopeOp (Info->ObjDesc->Method.AmlStart);
419 if (!Op)
435 Status = AcpiDsInitAmlWalk (WalkState, Op, Info->Node,
476 if (Op)
    [all...]
psobject.c 290 * AmlOpStart - Begin of named Op in AML
291 * UnnamedOp - Early Op (not a named Op)
292 * Op - Returned Op
296 * DESCRIPTION: Parse a named Op
305 ACPI_PARSE_OBJECT **Op)
365 WalkState->Op = NULL;
367 Status = WalkState->DescendingCallback (WalkState, Op);
377 if (!*Op)
    [all...]
psutils.c 170 * DESCRIPTION: Create a Scope and associated namepath op with the root name
196 * PARAMETERS: Op - A newly allocated Op object
197 * Opcode - Opcode to store in the Op
201 * DESCRIPTION: Initialize a parse (Op) object
207 ACPI_PARSE_OBJECT *Op,
213 Op->Common.DescriptorType = ACPI_DESC_TYPE_PARSER;
214 Op->Common.AmlOpcode = Opcode;
216 ACPI_DISASM_ONLY_MEMBERS (AcpiUtSafeStrncpy (Op->Common.AmlOpName,
218 sizeof (Op->Common.AmlOpName)))
    [all...]
  /src/sys/external/bsd/acpica/dist/compiler/
asllength.c 165 ACPI_PARSE_OBJECT *Op,
170 ACPI_PARSE_OBJECT *Op);
176 ACPI_PARSE_OBJECT *Op,
197 ACPI_PARSE_OBJECT *Op,
202 Op->Asl.AmlSubtreeLength = 0;
230 ACPI_PARSE_OBJECT *Op,
237 CgGenerateAmlLengths (Op);
241 if ((Op->Asl.Parent) &&
242 (Op->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG))
244 Op->Asl.Parent->Asl.AmlSubtreeLength +=
    [all...]
aslnamesp.c 283 ACPI_PARSE_OBJECT *Op;
292 Op = Node->Op;
295 if (!Op)
335 if (Op->Asl.ParseOpcode == PARSEOP_NAME)
337 Op = Op->Asl.Child;
340 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) ||
341 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING))
343 Op = Op->Asl.Next
    [all...]
aslmaputils.c 185 ACPI_PARSE_OBJECT *Op;
190 Op = HidNode->Op;
191 if (!Op)
198 switch (Op->Asl.ParseOpcode)
202 Arg = Op->Asl.Child; /* Get the NameSeg/NameString node */
340 * PARAMETERS: Op - Parse Op to be examined
346 * DESCRIPTION: Find the parent Device or Scope Op, get the full pathname to
353 ACPI_PARSE_OBJECT *Op,
    [all...]
aslprepkg.c 166 ACPI_PARSE_OBJECT *Op,
183 ACPI_PARSE_OBJECT *Op,
190 ACPI_PARSE_OBJECT *Op);
195 ACPI_PARSE_OBJECT *Op,
209 * PARAMETERS: ParentOp - Parser op for the package
225 ACPI_PARSE_OBJECT *Op;
239 Op = ParentOp->Asl.Child;
240 Count = (UINT32) Op->Asl.Value.Integer;
278 Op = Op->Asl.Next
    [all...]
aslparseop.c 3 * Module Name: aslparseop - Parse op create/allocate/cache interfaces
165 * PARAMETERS: ParseOpcode - Opcode to be assigned to the op
168 * op. NumChildren long.
170 * RETURN: Pointer to the new op. Aborts on allocation failure
172 * DESCRIPTION: Create a new parse op and link together a list of child
173 * ops underneath the new op.
183 ACPI_PARSE_OBJECT *Op;
193 /* Allocate one new op */
195 Op = TrAllocateOp (ParseOpcode);
198 "\nCreateOp Ln/Col %u/%u NewParent %p Child %u Op %s "
    [all...]
preprocess.h 222 char *Op;
  /src/sys/external/bsd/acpica/dist/disassembler/
dmdeferred.c 167 ACPI_PARSE_OBJECT *Op,
189 ACPI_PARSE_OBJECT *Op = Root;
198 while (Op)
200 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode);
203 Op = AcpiPsGetDepthNext (Root, Op);
209 switch (Op->Common.AmlOpcode)
217 Op, Op->Named.Data, Op->Named.Length)
    [all...]
dmwalk.c 187 ACPI_PARSE_OBJECT *Op,
193 ACPI_PARSE_OBJECT *Op,
219 ACPI_PARSE_OBJECT *Op = Origin;
223 if (!Op)
230 Info.StartAml = Op->Common.Aml - sizeof (ACPI_TABLE_HEADER);
231 Info.AmlOffset = Op->Common.Aml - Info.StartAml;
233 AcpiDmWalkParseTree (Op, AcpiDmDescendingOp, AcpiDmAscendingOp, &Info);
242 * PARAMETERS: Op - Root Op object
255 ACPI_PARSE_OBJECT *Op,
    [all...]
dmopcode.c 170 ACPI_PARSE_OBJECT *Op);
174 ACPI_PARSE_OBJECT *Op);
184 * PARAMETERS: Op - Parse object
196 ACPI_PARSE_OBJECT *Op)
204 if (Op->Common.AmlOpcode == AML_RETURN_OP)
206 PrevOp = Op->Asl.Value.Arg;
210 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode);
216 /* Target is the last Op in the arg list */
218 NextOp = Op->Asl.Value.Arg;
277 * PARAMETERS: Op - Name() parse objec
    [all...]
  /src/sys/external/bsd/acpica/dist/dispatcher/
dsargs.c 196 ACPI_PARSE_OBJECT *Op;
203 /* Allocate a new parser op to be the root of the parsed tree */
205 Op = AcpiPsAllocOp (AML_INT_EVAL_SUBTREE_OP, AmlStart);
206 if (!Op)
213 Op->Common.Node = ScopeNode;
224 Status = AcpiDsInitAmlWalk (WalkState, Op, NULL, AmlStart,
245 /* Get and init the Op created above */
247 Op->Common.Node = Node;
248 AcpiPsDeleteParseTree (Op);
252 Op = AcpiPsAllocOp (AML_INT_EVAL_SUBTREE_OP, AmlStart)
    [all...]
dswexec.c 229 Status = AcpiDsCreateOperand (WalkState, WalkState->Op, 0);
304 "Completed a predicate eval=%X Op=%p\n",
305 WalkState->ControlState->Common.Value, WalkState->Op));
331 * OutOp - Where to return op if a new one is created
346 ACPI_PARSE_OBJECT *Op;
354 Op = WalkState->Op;
355 if (!Op)
363 Op = *OutOp;
364 WalkState->Op = Op
    [all...]
dswload.c 243 * OutOp - Where to return op if a new one is created
256 ACPI_PARSE_OBJECT *Op;
264 ACPI_FUNCTION_TRACE_PTR (DsLoad1BeginOp, WalkState->Op);
267 Op = WalkState->Op;
268 ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH, "Op=%p State=%p\n", Op, WalkState));
272 if (Op)
276 *OutOp = Op;
282 if (Op->Common.Node
    [all...]
dswload2.c 173 * OutOp - Where to return op if a new one is created
186 ACPI_PARSE_OBJECT *Op;
197 Op = WalkState->Op;
198 ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH, "Op=%p State=%p\n", Op, WalkState));
200 if (Op)
225 /* For Namepath op, get the path string */
227 BufferPtr = Op->Common.Value.String;
237 /* Get name from the op */
    [all...]
dsmethod.c 207 ACPI_PARSE_OBJECT *Op = NULL;
218 /* Create/Init a root op for the method parse tree */
220 Op = AcpiPsAllocOp (AML_METHOD_OP, ObjDesc->Method.AmlStart);
221 if (!Op)
226 AcpiPsSetName (Op, Node->Name.Integer);
227 Op->Common.Node = Node;
234 AcpiPsFreeOp (Op);
238 Status = AcpiDsInitAmlWalk (WalkState, Op, Node,
243 AcpiPsFreeOp (Op);
253 AcpiPsDeleteParseTree (Op);
    [all...]
dsutils.c 285 * PARAMETERS: Op - Current Op
296 ACPI_PARSE_OBJECT *Op,
301 ACPI_FUNCTION_TRACE_PTR (DsIsResultUsed, Op);
304 /* Must have both an Op and a Result Object */
306 if (!Op)
308 ACPI_ERROR ((AE_INFO, "Null Op"));
331 if ((!Op->Common.Parent) ||
332 (Op->Common.Parent->Common.AmlOpcode == AML_SCOPE_OP))
338 AcpiPsGetOpcodeName (Op->Common.AmlOpcode)))
    [all...]
  /src/sys/external/bsd/acpica/dist/tools/acpihelp/
ahaml.c 159 const AH_AML_OPCODE *Op);
163 const AH_AML_TYPE *Op);
184 const AH_AML_OPCODE *Op;
192 for (Op = Gbl_AmlOpcodeInfo; Op->OpcodeString; Op++)
194 if (!Op->OpcodeName) /* Unused opcodes */
201 AhDisplayAmlOpcode (Op);
208 strcpy (Gbl_Buffer, Op->OpcodeName);
213 AhDisplayAmlOpcode (Op);
    [all...]
  /src/sys/external/bsd/acpica/dist/debugger/
dbutils.c 521 ACPI_PARSE_OBJECT *Op = Root;
535 while (Op)
537 if (Op->Common.AmlOpcode == AML_METHOD_OP)
539 Method = Op;
556 WalkState->ParserState.StartScope = Op;
576 if (Op->Common.AmlOpcode == AML_REGION_OP)
581 * Method = (ACPI_DEFERRED_OP *) Op;
582 * Status = AcpiPsParseAml (Op, Method->Body, Method->BodyLength);
591 Op = AcpiPsGetDepthNext (Root, Op);
    [all...]
dbmethod.c 184 * Op - Current Op (from parse walk)
197 ACPI_PARSE_OBJECT *Op)
203 if (!Op)
212 AmlOffset = (UINT32) ACPI_PTR_DIFF (Op->Common.Aml,
231 * PARAMETERS: Op - Current Op (from parse walk)
242 ACPI_PARSE_OBJECT *Op)
246 if (!Op)
406 * Op - Current Op (from parse walk
    [all...]
  /src/sys/external/bsd/acpica/dist/common/
dmrestag.c 183 ACPI_PARSE_OBJECT *Op,
204 ACPI_PARSE_OBJECT *Op);
584 * PARAMETERS: Op - Parse Op for the AML opcode
599 ACPI_PARSE_OBJECT *Op,
613 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode);
621 BufferNameOp = AcpiPsGetDepthNext (NULL, Op);
646 if ((Op->Common.AmlOpcode == AML_CREATE_BIT_FIELD_OP) ||
647 (Op->Common.AmlOpcode == AML_CREATE_FIELD_OP))
771 ACPI_PARSE_OBJECT *Op;
    [all...]

Completed in 27 milliseconds

1 2