Home | History | Annotate | Download | only in compiler

Lines Matching refs:Asl

213     if (Op->Asl.ParseOpcode == PARSEOP_VAR_PACKAGE)
280 Child = Op->Asl.Child;
281 Child = Child->Asl.Next;
282 Child = Child->Asl.Next;
286 AcpiUtSetIntegerWidth ((UINT8) Child->Asl.Value.Integer);
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;
344 Op->Asl.AmlOpcode = AML_ONE_OP;
355 Op->Asl.AmlOpcode = AML_ONES_OP;
368 Op->Asl.AmlOpcode = AML_ONES_OP;
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;
411 Op->Asl.Value.Integer &= ACPI_UINT32_MAX;
419 Op->Asl.AmlOpcode = AML_QWORD_OP;
433 * DESCRIPTION: Implement the ACCESS_AS ASL keyword.
447 Op->Asl.AmlOpcodeLength = 1;
448 TypeOp = Op->Asl.Child;
452 TypeOp->Asl.AmlOpcode = AML_RAW_DATA_BYTE;
453 TypeOp->Asl.ParseOpcode = PARSEOP_RAW_DATA;
457 AttribOp = TypeOp->Asl.Next;
458 if (AttribOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG)
460 AttribOp->Asl.Value.Integer = 0;
463 AttribOp->Asl.AmlOpcode = AML_RAW_DATA_BYTE;
464 AttribOp->Asl.ParseOpcode = PARSEOP_RAW_DATA;
468 Attribute = (UINT8) AttribOp->Asl.Value.Integer;
476 Op->Asl.AmlOpcode = AML_FIELD_EXT_ACCESS_OP;
482 LengthOp = AttribOp->Asl.Child;
490 if (LengthOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG)
492 LengthOp->Asl.Value.Integer = 16;
495 LengthOp->Asl.AmlOpcode = AML_RAW_DATA_BYTE;
496 LengthOp->Asl.ParseOpcode = PARSEOP_RAW_DATA;
508 * DESCRIPTION: Implement the Connection ASL keyword.
524 Op->Asl.AmlOpcodeLength = 1;
526 if (Op->Asl.Child->Asl.AmlOpcode == AML_INT_NAMEPATH_OP)
531 BufferOp = Op->Asl.Child;
532 BufferLengthOp = BufferOp->Asl.Child;
533 BufferDataOp = BufferLengthOp->Asl.Next;
535 Info.DescriptorTypeOp = BufferDataOp->Asl.Next;
551 BufferOp->Asl.ParseOpcode = PARSEOP_BUFFER;
552 BufferOp->Asl.AmlOpcode = AML_BUFFER_OP;
553 BufferOp->Asl.CompileFlags = OP_AML_PACKAGE | OP_IS_RESOURCE_DESC;
556 BufferLengthOp->Asl.ParseOpcode = PARSEOP_INTEGER;
557 BufferLengthOp->Asl.Value.Integer = Rnode->BufferLength;
561 BufferDataOp->Asl.ParseOpcode = PARSEOP_RAW_DATA;
562 BufferDataOp->Asl.AmlOpcode = AML_RAW_DATA_CHAIN;
563 BufferDataOp->Asl.AmlOpcodeLength = 0;
564 BufferDataOp->Asl.AmlLength = Rnode->BufferLength;
565 BufferDataOp->Asl.Value.Buffer = (UINT8 *) Rnode;
578 * DESCRIPTION: Implement the UNICODE ASL "macro". Convert the input string
601 Op->Asl.CompileFlags &= ~OP_COMPILE_TIME_CONST;
602 Op->Asl.ParseOpcode = PARSEOP_BUFFER;
607 BufferLengthOp = Op->Asl.Child;
608 InitializerOp = BufferLengthOp->Asl.Next;
610 AsciiString = (UINT8 *) InitializerOp->Asl.Value.String;
614 Count = strlen (InitializerOp->Asl.Value.String) + 1;
629 BufferLengthOp->Asl.ParseOpcode = PARSEOP_INTEGER;
630 BufferLengthOp->Asl.AmlOpcode = AML_DWORD_OP;
631 BufferLengthOp->Asl.Value.Integer = Length;
638 InitializerOp->Asl.Value.Buffer = (UINT8 *) UnicodeString;
639 InitializerOp->Asl.AmlOpcode = AML_RAW_DATA_BUFFER;
640 InitializerOp->Asl.AmlLength = Length;
641 InitializerOp->Asl.ParseOpcode = PARSEOP_RAW_DATA;
642 InitializerOp->Asl.Child = NULL;
695 InString = (char *) Op->Asl.Value.String;
732 AslError (ASL_ERROR, ASL_MSG_INVALID_EISAID, Op, Op->Asl.Value.String);
757 Op->Asl.Value.Integer = EisaId;
759 Op->Asl.CompileFlags &= ~OP_COMPILE_TIME_CONST;
760 Op->Asl.ParseOpcode = PARSEOP_INTEGER;
791 InString = ACPI_CAST_PTR (char, Op->Asl.Value.String);
797 AslError (ASL_ERROR, ASL_MSG_INVALID_UUID, Op, Op->Asl.Value.String);
812 Op->Asl.ParseOpcode = PARSEOP_BUFFER;
817 Op->Asl.CompileFlags &= ~OP_COMPILE_TIME_CONST;
824 NewOp->Asl.AmlOpcode = AML_BYTE_OP;
825 NewOp->Asl.Value.Integer = 16;
826 NewOp->Asl.Parent = Op;
828 Op->Asl.Child = NewOp;
834 NewOp->Asl.AmlOpcode = AML_RAW_DATA_BUFFER;
835 NewOp->Asl.AmlLength = 16;
836 NewOp->Asl.Value.String = ACPI_CAST_PTR (char, Buffer);
837 NewOp->Asl.Parent = Op->Asl.Parent;
839 Op->Asl.Next = NewOp;
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)
888 Op->Asl.AmlOpcodeLength = 1;