Home | History | Annotate | Download | only in disassembler

Lines Matching defs:Op

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 object
288 ACPI_PARSE_OBJECT *Op)
298 NextOp = Op->Asl.Value.Arg;
323 Node = Op->Asl.Node;
337 * PARAMETERS: Op - Name() parse object
348 ACPI_PARSE_OBJECT *Op)
357 if (!Op)
364 if (Op->Common.DisasmFlags & ACPI_PARSEOP_PREDEFINED_CHECKED)
368 Op->Common.DisasmFlags |= ACPI_PARSEOP_PREDEFINED_CHECKED;
372 NameString = ACPI_CAST_PTR (char, &Op->Named.Name);
473 * PARAMETERS: Op - Parse object
484 ACPI_PARSE_OBJECT *Op)
493 if (!Op)
500 if (Op->Common.DisasmFlags & ACPI_PARSEOP_PREDEFINED_CHECKED)
504 Op->Common.DisasmFlags |= ACPI_PARSEOP_PREDEFINED_CHECKED;
507 * Op must be one of the Create* operators: CreateField, CreateBitField,
510 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode);
518 IndexOp = Op->Common.Value.Arg;
563 * PARAMETERS: Op - Method Object to be examined
573 ACPI_PARSE_OBJECT *Op)
579 /* The next Op contains the flags */
581 Op = AcpiPsGetDepthNext (NULL, Op);
582 Flags = (UINT8) Op->Common.Value.Integer;
585 /* Mark the Op as completed */
587 Op->Common.DisasmFlags |= ACPI_PARSEOP_IGNORE;
615 * PARAMETERS: Op - Field Object to be examined
625 ACPI_PARSE_OBJECT *Op)
630 Op = Op->Common.Next;
631 Flags = (UINT8) Op->Common.Value.Integer;
633 /* Mark the Op as completed */
635 Op->Common.DisasmFlags |= ACPI_PARSEOP_IGNORE;
682 * PARAMETERS: Op - Object to be examined
692 ACPI_PARSE_OBJECT *Op)
695 /* The next Op contains the SpaceId */
697 Op = AcpiPsGetDepthNext (NULL, Op);
699 /* Mark the Op as completed */
701 Op->Common.DisasmFlags |= ACPI_PARSEOP_IGNORE;
704 AcpiDmAddressSpace ((UINT8) Op->Common.Value.Integer);
712 * PARAMETERS: Op - Match Object to be examined
722 ACPI_PARSE_OBJECT *Op)
727 NextOp = AcpiPsGetDepthNext (NULL, Op);
751 * PARAMETERS: Op - Match Object to be examined
761 ACPI_PARSE_OBJECT *Op)
764 if (((UINT32) Op->Common.Value.Integer) > ACPI_MAX_MATCH_OPCODE)
771 AcpiGbl_MatchOps[(ACPI_SIZE) Op->Common.Value.Integer]);
782 * Op - Op that is to be printed
794 ACPI_PARSE_OBJECT *Op)
805 if (!Op)
807 AcpiOsPrintf ("<NULL OP PTR>");
811 if (Op->Common.DisasmFlags & ACPI_PARSEOP_ELSEIF)
816 switch (Op->Common.DisasmOpcode)
820 AcpiDmMatchKeyword (Op);
827 switch (Op->Common.AmlOpcode)
846 Op->Common.DisasmOpcode = 0;
847 Op->Common.DisasmFlags |= ACPI_PARSEOP_IGNORE;
854 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode);
856 /* The op and arguments */
858 switch (Op->Common.AmlOpcode)
862 Child = Op->Common.Value.Arg;
868 Op->Common.DisasmOpcode = ACPI_DASM_LNOT_PREFIX;
878 AcpiOsPrintf ("0x%2.2X", (UINT32) Op->Common.Value.Integer);
883 if (Op->Common.DisasmOpcode == ACPI_DASM_EISAID)
885 AcpiDmDecompressEisaId ((UINT32) Op->Common.Value.Integer);
889 AcpiOsPrintf ("0x%4.4X", (UINT32) Op->Common.Value.Integer);
895 if (Op->Common.DisasmOpcode == ACPI_DASM_EISAID)
897 AcpiDmDecompressEisaId ((UINT32) Op->Common.Value.Integer);
901 AcpiOsPrintf ("0x%8.8X", (UINT32) Op->Common.Value.Integer);
908 ACPI_FORMAT_UINT64 (Op->Common.Value.Integer));
913 AcpiUtPrintString (Op->Common.Value.String, ACPI_UINT16_MAX);
917 if (Op->Common.DisasmOpcode == ACPI_DASM_HID_STRING)
921 IdInfo = AcpiAhMatchHardwareId (Op->Common.Value.String);
944 Status = AcpiDmIsResourceTemplate (WalkState, Op);
947 Op->Common.DisasmOpcode = ACPI_DASM_RESOURCE;
959 if (AcpiDmIsUuidBuffer (Op))
961 Op->Common.DisasmOpcode = ACPI_DASM_UUID;
964 else if (AcpiDmIsUnicodeBuffer (Op))
966 Op->Common.DisasmOpcode = ACPI_DASM_UNICODE;
969 else if (AcpiDmIsStringBuffer (Op))
971 Op->Common.DisasmOpcode = ACPI_DASM_STRING;
974 else if (AcpiDmIsPldBuffer (Op))
976 Op->Common.DisasmOpcode = ACPI_DASM_PLD_METHOD;
981 Op->Common.DisasmOpcode = ACPI_DASM_BUFFER;
988 AcpiDmNamestring (Op->Common.Value.Name);
993 Length = AcpiDmDumpName (Op->Named.Name);
996 ASL_CV_PRINT_ONE_COMMENT (Op, AML_NAMECOMMENT, NULL, 0);
998 (UINT32) Op->Common.Value.Integer);
1000 AcpiDmCommaIfFieldMember (Op);
1002 Info->BitOffset += (UINT32) Op->Common.Value.Integer;
1009 Offset = (UINT32) Op->Common.Value.Integer;
1021 AcpiDmCommaIfFieldMember (Op);
1028 AcpiGbl_AccessTypes [(UINT32) (Op->Common.Value.Integer & 0x7)]);
1030 AcpiDmDecodeAttribute ((UINT8) (Op->Common.Value.Integer >> 8));
1032 if (Op->Common.AmlOpcode == AML_INT_EXTACCESSFIELD_OP)
1035 ((Op->Common.Value.Integer >> 16) & 0xFF));
1039 AcpiDmCommaIfFieldMember (Op);
1040 ASL_CV_PRINT_ONE_COMMENT (Op, AML_COMMENT_END_NODE, NULL, 0);
1049 Child = Op->Common.Value.Arg;
1059 Info->MappingOp = Op;
1060 Op->Common.DisasmOpcode = ACPI_DASM_RESOURCE;
1062 AcpiDmResourceTemplate (Info, Op->Common.Parent, Aml, Length);
1073 AcpiDmCommaIfFieldMember (Op);
1074 ASL_CV_PRINT_ONE_COMMENT (Op, AML_COMMENT_END_NODE, NULL, 0);
1075 ASL_CV_PRINT_ONE_COMMENT (Op, AMLCOMMENT_INLINE, NULL, 0);
1078 Op->Common.DisasmFlags |= ACPI_PARSEOP_IGNORE; /* for now, ignore in AcpiDmAscendingOp */
1084 AcpiDmByteList (Info, Op);
1089 Op = AcpiPsGetDepthNext (NULL, Op);
1090 Op->Common.DisasmFlags |= ACPI_PARSEOP_IGNORE;
1092 AcpiDmNamestring (Op->Common.Value.Name);
1097 if (Op->Common.DisasmOpcode == ACPI_DASM_SWITCH)
1108 if (Op->Common.DisasmOpcode == ACPI_DASM_CASE)
1119 AcpiDmConvertToElseIf (Op);
1126 AcpiDmEmitExternal (Op, AcpiPsGetArg(Op, 0));
1140 if ((Op->Common.AmlOpcode == AML_INT_RETURN_VALUE_OP) &&
1337 ACPI_PARSE_OBJECT *Op;
1347 Op = StartOp->Common.Value.Arg;
1351 while (Op)
1353 Op->Common.Parent = ParentOp;
1354 if (!Op->Common.Next)
1356 /* Last Op in list, update its next field */
1358 Op->Common.Next = StartOp->Common.Next;
1361 Op = Op->Common.Next;