Lines Matching defs:Op

164     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,
213 if (Op->Asl.ParseOpcode == PARSEOP_VAR_PACKAGE)
215 OpnDoPackage (Op);
237 ACPI_PARSE_OBJECT *Op,
244 OpcGenerateAmlOpcode (Op);
245 OpnGenerateAmlOperands (Op);
254 * PARAMETERS: Op - DEFINITION BLOCK op
264 ACPI_PARSE_OBJECT *Op)
269 if (!Op)
280 Child = Op->Asl.Child;
295 * PARAMETERS: Op - A parse tree node
308 ACPI_PARSE_OBJECT *Op)
316 if (Op->Asl.Parent &&
317 Op->Asl.Parent->Asl.Parent &&
318 (Op->Asl.Parent->Asl.Parent->Asl.ParseOpcode == PARSEOP_DEFINITION_BLOCK))
333 switch (Op->Asl.Value.Integer)
337 Op->Asl.AmlOpcode = AML_ZERO_OP;
339 Op, "Zero");
344 Op->Asl.AmlOpcode = AML_ONE_OP;
346 Op, "One");
355 Op->Asl.AmlOpcode = AML_ONES_OP;
357 Op, "Ones");
368 Op->Asl.AmlOpcode = AML_ONES_OP;
370 Op, "Ones");
383 if (Op->Asl.Value.Integer <= ACPI_UINT8_MAX)
385 Op->Asl.AmlOpcode = AML_BYTE_OP;
389 if (Op->Asl.Value.Integer <= ACPI_UINT16_MAX)
391 Op->Asl.AmlOpcode = AML_WORD_OP;
395 if (Op->Asl.Value.Integer <= ACPI_UINT32_MAX)
397 Op->Asl.AmlOpcode = AML_DWORD_OP;
405 Op, NULL);
411 Op->Asl.Value.Integer &= ACPI_UINT32_MAX;
415 return (OpcSetOptimalIntegerSize (Op));
419 Op->Asl.AmlOpcode = AML_QWORD_OP;
429 * PARAMETERS: Op - Parse node
439 ACPI_PARSE_OBJECT *Op)
447 Op->Asl.AmlOpcodeLength = 1;
448 TypeOp = Op->Asl.Child;
476 Op->Asl.AmlOpcode = AML_FIELD_EXT_ACCESS_OP;
504 * PARAMETERS: Op - Parse node
514 ACPI_PARSE_OBJECT *Op)
524 Op->Asl.AmlOpcodeLength = 1;
526 if (Op->Asl.Child->Asl.AmlOpcode == AML_INT_NAMEPATH_OP)
531 BufferOp = Op->Asl.Child;
547 * Op -> AML_BUFFER_OP
574 * PARAMETERS: Op - Parse node
588 ACPI_PARSE_OBJECT *Op)
601 Op->Asl.CompileFlags &= ~OP_COMPILE_TIME_CONST;
602 Op->Asl.ParseOpcode = PARSEOP_BUFFER;
603 UtSetParseOpName (Op);
607 BufferLengthOp = Op->Asl.Child;
651 * PARAMETERS: Op - Parse node
686 ACPI_PARSE_OBJECT *Op)
695 InString = (char *) Op->Asl.Value.String;
732 AslError (ASL_ERROR, ASL_MSG_INVALID_EISAID, Op, Op->Asl.Value.String);
754 * Morph the Op into an integer, regardless of whether there
757 Op->Asl.Value.Integer = EisaId;
759 Op->Asl.CompileFlags &= ~OP_COMPILE_TIME_CONST;
760 Op->Asl.ParseOpcode = PARSEOP_INTEGER;
761 (void) OpcSetOptimalIntegerSize (Op);
763 /* Op is now an integer */
765 UtSetParseOpName (Op);
773 * PARAMETERS: Op - Parse node
783 ACPI_PARSE_OBJECT *Op)
791 InString = ACPI_CAST_PTR (char, Op->Asl.Value.String);
797 AslError (ASL_ERROR, ASL_MSG_INVALID_UUID, Op, Op->Asl.Value.String);
806 AslError (ASL_REMARK, ASL_MSG_UUID_NOT_FOUND, Op, NULL);
810 /* Change Op to a Buffer */
812 Op->Asl.ParseOpcode = PARSEOP_BUFFER;
813 Op->Common.AmlOpcode = AML_BUFFER_OP;
817 Op->Asl.CompileFlags &= ~OP_COMPILE_TIME_CONST;
818 UtSetParseOpName (Op);
826 NewOp->Asl.Parent = Op;
828 Op->Asl.Child = NewOp;
829 Op = NewOp;
837 NewOp->Asl.Parent = Op->Asl.Parent;
839 Op->Asl.Next = NewOp;
847 * PARAMETERS: Op - Parse node
859 ACPI_PARSE_OBJECT *Op)
864 Index = (UINT16) (Op->Asl.ParseOpcode - ASL_PARSE_OPCODE_BASE);
866 Op->Asl.AmlOpcode = AslKeywordMapping[Index].AmlOpcode;
867 Op->Asl.AcpiBtype = AslKeywordMapping[Index].AcpiBtype;
868 Op->Asl.CompileFlags |= AslKeywordMapping[Index].Flags;
870 if (!Op->Asl.Value.Integer)
872 Op->Asl.Value.Integer = AslKeywordMapping[Index].Value;
877 switch (Op->Asl.ParseOpcode)
883 (void) OpcSetOptimalIntegerSize (Op);
888 Op->Asl.AmlOpcodeLength = 1;
893 OpcDoAccessAs (Op);
898 OpcDoConnection (Op);
903 OpcDoEisaId (Op);
908 OpcDoPrintf (Op);
913 OpcDoFprintf (Op);
918 OpcDoPld (Op);
923 OpcDoUuId (Op);
928 OpcDoUnicode (Op);
940 AslError (ASL_REMARK, ASL_MSG_TRUNCATION, Op, NULL);