| /src/sys/external/bsd/acpica/dist/parser/ |
| pswalk.c | 3 * Module Name: pswalk - Parser routines to walk parsed op tree(s) 70 ACPI_PARSE_OBJECT *Op = SubtreeRoot; 83 while (Op) 85 if (Op != Parent) 94 AcpiPsGetOpcodeName (Op->Common.AmlOpcode), Op); 96 if (Op->Named.AmlOpcode == AML_INT_NAMEPATH_OP) 98 AcpiOsPrintf (" %4.4s", Op->Common.Value.String); 100 if (Op->Named.AmlOpcode == AML_STRING_OP) 102 AcpiOsPrintf (" %s", Op->Common.Value.String) [all...] |
| psloop.c | 71 ACPI_PARSE_OBJECT *Op); 79 * AmlOpStart - Op start in AML 80 * Op - Current Op 84 * DESCRIPTION: Get arguments for passed Op. 92 ACPI_PARSE_OBJECT *Op) 102 "Get arguments for opcode [%s]\n", Op->Common.AmlOpName)); 104 switch (Op->Common.AmlOpcode) 115 GET_CURRENT_ARG_TYPE (WalkState->ArgTypes), Op); 121 &(WalkState->ParserState), Op, ACPI_POSSIBLE_METHOD_CALL) [all...] |
| psopinfo.c | 174 const ACPI_OPCODE_INFO *Op; 177 Op = AcpiPsGetOpcodeInfo (Opcode); 181 return __UNCONST(Op->Name);
|
| psxface.c | 135 ACPI_PARSE_OBJECT *Op; 175 Op = AcpiPsCreateScopeOp (Info->ObjDesc->Method.AmlStart); 176 if (!Op) 193 Status = AcpiDsInitAmlWalk (WalkState, Op, Info->Node, 249 AcpiPsDeleteParseTree (Op); 301 ACPI_PARSE_OBJECT *Op = NULL; 310 Op = AcpiPsCreateScopeOp (Info->ObjDesc->Method.AmlStart); 311 if (!Op) 327 Status = AcpiDsInitAmlWalk (WalkState, Op, Info->Node, 368 if (Op) [all...] |
| psobject.c | 182 * AmlOpStart - Begin of named Op in AML 183 * UnnamedOp - Early Op (not a named Op) 184 * Op - Returned Op 188 * DESCRIPTION: Parse a named Op 197 ACPI_PARSE_OBJECT **Op) 257 WalkState->Op = NULL; 259 Status = WalkState->DescendingCallback (WalkState, Op); 269 if (!*Op) [all...] |
| psutils.c | 62 * DESCRIPTION: Create a Scope and associated namepath op with the root name 88 * PARAMETERS: Op - A newly allocated Op object 89 * Opcode - Opcode to store in the Op 93 * DESCRIPTION: Initialize a parse (Op) object 99 ACPI_PARSE_OBJECT *Op, 105 Op->Common.DescriptorType = ACPI_DESC_TYPE_PARSER; 106 Op->Common.AmlOpcode = Opcode; 108 ACPI_DISASM_ONLY_MEMBERS (AcpiUtSafeStrncpy (Op->Common.AmlOpName, 110 sizeof (Op->Common.AmlOpName))) [all...] |
| /src/sys/external/bsd/acpica/dist/compiler/ |
| asllength.c | 57 ACPI_PARSE_OBJECT *Op, 62 ACPI_PARSE_OBJECT *Op); 68 ACPI_PARSE_OBJECT *Op, 89 ACPI_PARSE_OBJECT *Op, 94 Op->Asl.AmlSubtreeLength = 0; 122 ACPI_PARSE_OBJECT *Op, 129 CgGenerateAmlLengths (Op); 133 if ((Op->Asl.Parent) && 134 (Op->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG)) 136 Op->Asl.Parent->Asl.AmlSubtreeLength += [all...] |
| aslnamesp.c | 175 ACPI_PARSE_OBJECT *Op; 184 Op = Node->Op; 187 if (!Op) 227 if (Op->Asl.ParseOpcode == PARSEOP_NAME) 229 Op = Op->Asl.Child; 232 if ((Op->Asl.ParseOpcode == PARSEOP_NAMESEG) || 233 (Op->Asl.ParseOpcode == PARSEOP_NAMESTRING)) 235 Op = Op->Asl.Next [all...] |
| aslmaputils.c | 77 ACPI_PARSE_OBJECT *Op; 82 Op = HidNode->Op; 83 if (!Op) 90 switch (Op->Asl.ParseOpcode) 94 Arg = Op->Asl.Child; /* Get the NameSeg/NameString node */ 232 * PARAMETERS: Op - Parse Op to be examined 238 * DESCRIPTION: Find the parent Device or Scope Op, get the full pathname to 245 ACPI_PARSE_OBJECT *Op, [all...] |
| aslprepkg.c | 58 ACPI_PARSE_OBJECT *Op, 75 ACPI_PARSE_OBJECT *Op, 82 ACPI_PARSE_OBJECT *Op); 87 ACPI_PARSE_OBJECT *Op, 101 * PARAMETERS: ParentOp - Parser op for the package 117 ACPI_PARSE_OBJECT *Op; 131 Op = ParentOp->Asl.Child; 132 Count = (UINT32) Op->Asl.Value.Integer; 170 Op = Op->Asl.Next [all...] |
| aslparseop.c | 3 * Module Name: aslparseop - Parse op create/allocate/cache interfaces 57 * PARAMETERS: ParseOpcode - Opcode to be assigned to the op 60 * op. NumChildren long. 62 * RETURN: Pointer to the new op. Aborts on allocation failure 64 * DESCRIPTION: Create a new parse op and link together a list of child 65 * ops underneath the new op. 75 ACPI_PARSE_OBJECT *Op; 85 /* Allocate one new op */ 87 Op = TrAllocateOp (ParseOpcode); 90 "\nCreateOp Ln/Col %u/%u NewParent %p Child %u Op %s " [all...] |
| preprocess.h | 114 char *Op;
|
| /src/sys/external/bsd/acpica/dist/disassembler/ |
| dmdeferred.c | 59 ACPI_PARSE_OBJECT *Op, 81 ACPI_PARSE_OBJECT *Op = Root; 90 while (Op) 92 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); 95 Op = AcpiPsGetDepthNext (Root, Op); 101 switch (Op->Common.AmlOpcode) 109 Op, Op->Named.Data, Op->Named.Length) [all...] |
| dmwalk.c | 79 ACPI_PARSE_OBJECT *Op, 85 ACPI_PARSE_OBJECT *Op, 111 ACPI_PARSE_OBJECT *Op = Origin; 115 if (!Op) 122 Info.StartAml = Op->Common.Aml - sizeof (ACPI_TABLE_HEADER); 123 Info.AmlOffset = Op->Common.Aml - Info.StartAml; 125 AcpiDmWalkParseTree (Op, AcpiDmDescendingOp, AcpiDmAscendingOp, &Info); 134 * PARAMETERS: Op - Root Op object 147 ACPI_PARSE_OBJECT *Op, [all...] |
| dmopcode.c | 62 ACPI_PARSE_OBJECT *Op); 66 ACPI_PARSE_OBJECT *Op); 76 * PARAMETERS: Op - Parse object 88 ACPI_PARSE_OBJECT *Op) 96 if (Op->Common.AmlOpcode == AML_RETURN_OP) 98 PrevOp = Op->Asl.Value.Arg; 102 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); 108 /* Target is the last Op in the arg list */ 110 NextOp = Op->Asl.Value.Arg; 169 * PARAMETERS: Op - Name() parse objec [all...] |
| /src/sys/external/bsd/acpica/dist/dispatcher/ |
| dsargs.c | 88 ACPI_PARSE_OBJECT *Op; 95 /* Allocate a new parser op to be the root of the parsed tree */ 97 Op = AcpiPsAllocOp (AML_INT_EVAL_SUBTREE_OP, AmlStart); 98 if (!Op) 105 Op->Common.Node = ScopeNode; 116 Status = AcpiDsInitAmlWalk (WalkState, Op, NULL, AmlStart, 137 /* Get and init the Op created above */ 139 Op->Common.Node = Node; 140 AcpiPsDeleteParseTree (Op); 144 Op = AcpiPsAllocOp (AML_INT_EVAL_SUBTREE_OP, AmlStart) [all...] |
| dswexec.c | 121 Status = AcpiDsCreateOperand (WalkState, WalkState->Op, 0); 196 "Completed a predicate eval=%X Op=%p\n", 197 WalkState->ControlState->Common.Value, WalkState->Op)); 223 * OutOp - Where to return op if a new one is created 238 ACPI_PARSE_OBJECT *Op; 246 Op = WalkState->Op; 247 if (!Op) 255 Op = *OutOp; 256 WalkState->Op = Op [all...] |
| dswload.c | 135 * OutOp - Where to return op if a new one is created 148 ACPI_PARSE_OBJECT *Op; 156 ACPI_FUNCTION_TRACE_PTR (DsLoad1BeginOp, WalkState->Op); 159 Op = WalkState->Op; 160 ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH, "Op=%p State=%p\n", Op, WalkState)); 164 if (Op) 168 *OutOp = Op; 174 if (Op->Common.Node [all...] |
| dswload2.c | 65 * OutOp - Where to return op if a new one is created 78 ACPI_PARSE_OBJECT *Op; 89 Op = WalkState->Op; 90 ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH, "Op=%p State=%p\n", Op, WalkState)); 92 if (Op) 117 /* For Namepath op, get the path string */ 119 BufferPtr = Op->Common.Value.String; 129 /* Get name from the op */ [all...] |
| dsmethod.c | 99 ACPI_PARSE_OBJECT *Op = NULL; 110 /* Create/Init a root op for the method parse tree */ 112 Op = AcpiPsAllocOp (AML_METHOD_OP, ObjDesc->Method.AmlStart); 113 if (!Op) 118 AcpiPsSetName (Op, Node->Name.Integer); 119 Op->Common.Node = Node; 126 AcpiPsFreeOp (Op); 130 Status = AcpiDsInitAmlWalk (WalkState, Op, Node, 135 AcpiPsFreeOp (Op); 145 AcpiPsDeleteParseTree (Op); [all...] |
| dsutils.c | 177 * PARAMETERS: Op - Current Op 188 ACPI_PARSE_OBJECT *Op, 193 ACPI_FUNCTION_TRACE_PTR (DsIsResultUsed, Op); 196 /* Must have both an Op and a Result Object */ 198 if (!Op) 200 ACPI_ERROR ((AE_INFO, "Null Op")); 223 if ((!Op->Common.Parent) || 224 (Op->Common.Parent->Common.AmlOpcode == AML_SCOPE_OP)) 230 AcpiPsGetOpcodeName (Op->Common.AmlOpcode))) [all...] |
| /src/sys/external/bsd/acpica/dist/tools/acpihelp/ |
| ahaml.c | 51 const AH_AML_OPCODE *Op); 55 const AH_AML_TYPE *Op); 76 const AH_AML_OPCODE *Op; 84 for (Op = Gbl_AmlOpcodeInfo; Op->OpcodeString; Op++) 86 if (!Op->OpcodeName) /* Unused opcodes */ 93 AhDisplayAmlOpcode (Op); 100 strcpy (Gbl_Buffer, Op->OpcodeName); 105 AhDisplayAmlOpcode (Op); [all...] |
| /src/sys/external/bsd/acpica/dist/debugger/ |
| dbutils.c | 413 ACPI_PARSE_OBJECT *Op = Root; 427 while (Op) 429 if (Op->Common.AmlOpcode == AML_METHOD_OP) 431 Method = Op; 448 WalkState->ParserState.StartScope = Op; 468 if (Op->Common.AmlOpcode == AML_REGION_OP) 473 * Method = (ACPI_DEFERRED_OP *) Op; 474 * Status = AcpiPsParseAml (Op, Method->Body, Method->BodyLength); 483 Op = AcpiPsGetDepthNext (Root, Op); [all...] |
| dbmethod.c | 76 * Op - Current Op (from parse walk) 89 ACPI_PARSE_OBJECT *Op) 95 if (!Op) 104 AmlOffset = (UINT32) ACPI_PTR_DIFF (Op->Common.Aml, 123 * PARAMETERS: Op - Current Op (from parse walk) 134 ACPI_PARSE_OBJECT *Op) 138 if (!Op) 298 * Op - Current Op (from parse walk [all...] |
| /src/sys/external/bsd/acpica/dist/common/ |
| dmrestag.c | 75 ACPI_PARSE_OBJECT *Op, 96 ACPI_PARSE_OBJECT *Op); 476 * PARAMETERS: Op - Parse Op for the AML opcode 491 ACPI_PARSE_OBJECT *Op, 505 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); 513 BufferNameOp = AcpiPsGetDepthNext (NULL, Op); 538 if ((Op->Common.AmlOpcode == AML_CREATE_BIT_FIELD_OP) || 539 (Op->Common.AmlOpcode == AML_CREATE_FIELD_OP)) 663 ACPI_PARSE_OBJECT *Op; [all...] |