/acpica-latest/source/components/parser/ |
D | psargs.c | 192 UINT8 *Aml = ParserState->Aml; in AcpiPsGetNextPackageLength() local 205 ByteCount = (Aml[0] >> 6); in AcpiPsGetNextPackageLength() 206 ParserState->Aml += ((ACPI_SIZE) ByteCount + 1); in AcpiPsGetNextPackageLength() 219 PackageLength |= (Aml[ByteCount] << ((ByteCount << 3) - 4)); in AcpiPsGetNextPackageLength() 227 PackageLength |= (Aml[0] & ByteZeroMask); in AcpiPsGetNextPackageLength() 249 UINT8 *Start = ParserState->Aml; in AcpiPsGetNextPackageEnd() 283 UINT8 *Start = ParserState->Aml; in AcpiPsGetNextNamestring() 284 UINT8 *End = ParserState->Aml; in AcpiPsGetNextNamestring() 335 ParserState->Aml = End; in AcpiPsGetNextNamestring() 373 UINT8 *Start = ParserState->Aml; in AcpiPsGetNextNamepath() [all …]
|
D | psloop.c | 245 WalkState->Aml = WalkState->ParserState.Aml; in AcpiPsGetArguments() 293 Op->Named.Data = WalkState->ParserState.Aml; in AcpiPsGetArguments() 295 (WalkState->ParserState.PkgEnd - WalkState->ParserState.Aml); in AcpiPsGetArguments() 299 WalkState->ParserState.Aml = WalkState->ParserState.PkgEnd; in AcpiPsGetArguments() 325 WalkState->ParserState.Aml = WalkState->ParserState.PkgEnd; in AcpiPsGetArguments() 444 while ((ParserState->Aml < ParserState->AmlEnd) || (Op)) in AcpiPsParseLoop() 448 AmlOpStart = ParserState->Aml; in AcpiPsParseLoop() 506 WalkState->ParserState.Aml = WalkState->Aml + OpcodeLength; in AcpiPsParseLoop() 508 WalkState->ParserState.Aml = in AcpiPsParseLoop() 510 WalkState->Aml = WalkState->ParserState.Aml; in AcpiPsParseLoop() [all …]
|
D | psparse.c | 219 UINT8 *Aml; in AcpiPsPeekOpcode() local 223 Aml = ParserState->Aml; in AcpiPsPeekOpcode() 224 Opcode = (UINT16) ACPI_GET8 (Aml); in AcpiPsPeekOpcode() 230 Aml++; in AcpiPsPeekOpcode() 231 Opcode = (UINT16) ((Opcode << 8) | ACPI_GET8 (Aml)); in AcpiPsPeekOpcode() 313 AML_INT_RETURN_VALUE_OP, Op->Common.Aml); in AcpiPsCompleteThisOp() 333 AML_INT_RETURN_VALUE_OP, Op->Common.Aml); in AcpiPsCompleteThisOp() 347 Op->Common.Aml); in AcpiPsCompleteThisOp() 364 AML_INT_RETURN_VALUE_OP, Op->Common.Aml); in AcpiPsCompleteThisOp() 464 ParserState->Aml = ParserState->AmlEnd; in AcpiPsNextParseState() [all …]
|
D | psobject.c | 192 WalkState->Aml = WalkState->ParserState.Aml; in AcpiPsGetAmlOpcode() 221 ACPI_ERROR_ONLY(AmlOffset = (UINT32) ACPI_PTR_DIFF (WalkState->Aml, in AcpiPsGetAmlOpcode() 229 ACPI_DUMP_BUFFER ((WalkState->ParserState.Aml - 16), 48); in AcpiPsGetAmlOpcode() 246 AcpiUtDumpBuffer (((UINT8 *) WalkState->ParserState.Aml - 16), in AcpiPsGetAmlOpcode() 263 WalkState->ParserState.Aml++; in AcpiPsGetAmlOpcode() 266 WalkState->ParserState.Aml++; in AcpiPsGetAmlOpcode() 275 WalkState->ParserState.Aml += in AcpiPsGetAmlOpcode() 406 (*Op)->Named.Aml = UnnamedOp->Common.Aml; in AcpiPsBuildNamedOp() 506 WalkState->Aml = WalkState->ParserState.Aml + 2; in AcpiPsCreateOp() 507 WalkState->ParserState.Aml = WalkState->Aml; in AcpiPsCreateOp()
|
D | psutils.c | 176 UINT8 *Aml) in AcpiPsCreateScopeOp() argument 181 ScopeOp = AcpiPsAllocOp (AML_SCOPE_OP, Aml); in AcpiPsCreateScopeOp() 240 UINT8 *Aml) in AcpiPsAllocOp() argument 287 Op->Common.Aml = Aml; in AcpiPsAllocOp()
|
/acpica-latest/source/components/utilities/ |
D | utresrc.c | 294 UINT8 *Aml, in AcpiUtWalkAmlResources() argument 319 EndAml = Aml + AmlLength; in AcpiUtWalkAmlResources() 323 while (Aml < EndAml) in AcpiUtWalkAmlResources() 327 Status = AcpiUtValidateResource (WalkState, Aml, &ResourceIndex); in AcpiUtWalkAmlResources() 339 Length = AcpiUtGetDescriptorLength (Aml); in AcpiUtWalkAmlResources() 346 Aml, Length, Offset, ResourceIndex, Context); in AcpiUtWalkAmlResources() 355 if (AcpiUtGetResourceType (Aml) == ACPI_RESOURCE_NAME_END_TAG) in AcpiUtWalkAmlResources() 361 if ((Aml + 1) >= EndAml) in AcpiUtWalkAmlResources() 377 *Context = Aml; in AcpiUtWalkAmlResources() 385 Aml += Length; in AcpiUtWalkAmlResources() [all …]
|
D | utdebug.c | 821 UINT8 *Aml, in AcpiTracePoint() argument 827 AcpiExTracePoint (Type, Begin, Aml, Pathname); in AcpiTracePoint() 830 AcpiOsTracePoint (Type, Begin, Aml, Pathname); in AcpiTracePoint()
|
/acpica-latest/source/components/resources/ |
D | rsmisc.c | 187 AML_RESOURCE *Aml, in AcpiRsConvertAmlToResource() argument 219 AmlResourceLength = AcpiUtGetResourceLength (Aml); in AcpiRsConvertAmlToResource() 234 Source = ACPI_ADD_PTR (void, Aml, Info->AmlOffset); in AcpiRsConvertAmlToResource() 308 Target = ACPI_ADD_PTR (void, Aml, Info->Value); in AcpiRsConvertAmlToResource() 329 Target = ACPI_ADD_PTR (void, Aml, (Info->Value + 2)); in AcpiRsConvertAmlToResource() 334 Target = ACPI_ADD_PTR (void, Aml, Info->Value); in AcpiRsConvertAmlToResource() 341 ItemCount = Aml->LargeHeader.ResourceLength + in AcpiRsConvertAmlToResource() 400 Source = ACPI_ADD_PTR (void, Aml, ACPI_GET16 (Source)); in AcpiRsConvertAmlToResource() 414 Source = ACPI_ADD_PTR (void, Aml, ACPI_GET16 (Source)); in AcpiRsConvertAmlToResource() 428 Source = ACPI_ADD_PTR (void, Aml, Info->Value); in AcpiRsConvertAmlToResource() [all …]
|
D | rslist.c | 177 UINT8 *Aml, in AcpiRsConvertAmlToResources() argument 207 AmlResource = ACPI_CAST_PTR (AML_RESOURCE, Aml); in AcpiRsConvertAmlToResources() 209 if (AcpiUtGetResourceType (Aml) == in AcpiRsConvertAmlToResources() 250 "Could not convert AML resource (Type 0x%X)", *Aml)); in AcpiRsConvertAmlToResources() 262 AcpiUtGetResourceType (Aml), Length, in AcpiRsConvertAmlToResources() 297 UINT8 *Aml = OutputBuffer; in AcpiRsConvertResourcesToAml() local 308 while (Aml < EndAml) in AcpiRsConvertResourcesToAml() 360 ACPI_CAST_PTR (AML_RESOURCE, Aml), ConversionTable); in AcpiRsConvertResourcesToAml() 372 NULL, ACPI_CAST_PTR (AML_RESOURCE, Aml), NULL); in AcpiRsConvertResourcesToAml() 391 Aml += AcpiUtGetDescriptorLength (Aml); in AcpiRsConvertResourcesToAml()
|
D | rsutils.c | 343 AML_RESOURCE *Aml) in AcpiRsSetResourceLength() argument 354 (TotalLength - AcpiUtGetResourceHeaderLength (Aml)); in AcpiRsSetResourceLength() 358 if (Aml->SmallHeader.DescriptorType & ACPI_RESOURCE_NAME_LARGE) in AcpiRsSetResourceLength() 363 &Aml->LargeHeader.ResourceLength, &ResourceLength); in AcpiRsSetResourceLength() 371 Aml->SmallHeader.DescriptorType = (UINT8) in AcpiRsSetResourceLength() 372 ((Aml->SmallHeader.DescriptorType & in AcpiRsSetResourceLength() 400 AML_RESOURCE *Aml) in AcpiRsSetResourceHeader() argument 407 Aml->SmallHeader.DescriptorType = DescriptorType; in AcpiRsSetResourceHeader() 411 AcpiRsSetResourceLength (TotalLength, Aml); in AcpiRsSetResourceHeader() 478 AML_RESOURCE *Aml, in AcpiRsGetResourceSource() argument [all …]
|
D | rsaddr.c | 432 AML_RESOURCE *Aml) in AcpiRsGetAddressCommon() argument 438 memcpy(&Address, Aml, sizeof(Address)); in AcpiRsGetAddressCommon() 452 Resource, Aml, AcpiRsConvertGeneralFlags); in AcpiRsGetAddressCommon() 459 Resource, Aml, AcpiRsConvertMemFlags); in AcpiRsGetAddressCommon() 464 Resource, Aml, AcpiRsConvertIoFlags); in AcpiRsGetAddressCommon() 494 AML_RESOURCE *Aml, in AcpiRsSetAddressCommon() argument 503 Resource, Aml, AcpiRsConvertGeneralFlags); in AcpiRsSetAddressCommon() 510 Resource, Aml, AcpiRsConvertMemFlags); in AcpiRsSetAddressCommon() 515 Resource, Aml, AcpiRsConvertIoFlags); in AcpiRsSetAddressCommon() 521 Aml->Address.SpecificFlags = in AcpiRsSetAddressCommon()
|
/acpica-latest/source/compiler/ |
D | cvparser.c | 540 Op->Common.Aml, AcpiGbl_FileTreeRoot); in CvLabelFileNode() 718 UINT8 *Aml = ParserState->Aml; in CvCaptureCommentsOnly() local 719 UINT16 Opcode = (UINT16) ACPI_GET8 (Aml); in CvCaptureCommentsOnly() 735 CvDbgPrint ("comment aml address: %p\n", Aml); in CvCaptureCommentsOnly() 737 if (CvCommentExists(ParserState->Aml)) in CvCaptureCommentsOnly() 743 CommentOption = *(Aml +1); in CvCaptureCommentsOnly() 749 Aml += 2; in CvCaptureCommentsOnly() 765 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly() 791 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly() 816 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly() [all …]
|
D | aslcodegen.c | 364 } Aml; in CgWriteAmlOpcode() local 402 Aml.Opcode = AML_FIELD_OFFSET_OP; in CgWriteAmlOpcode() 407 Aml.Opcode = AML_FIELD_ACCESS_OP; in CgWriteAmlOpcode() 412 Aml.Opcode = AML_FIELD_CONNECTION_OP; in CgWriteAmlOpcode() 417 Aml.Opcode = Op->Asl.AmlOpcode; in CgWriteAmlOpcode() 422 switch (Aml.Opcode) in CgWriteAmlOpcode() 435 if (Aml.Opcode > 0x00FF) in CgWriteAmlOpcode() 439 CgLocalWriteAmlData (Op, &Aml.OpcodeBytes[1], 1); in CgWriteAmlOpcode() 442 CgLocalWriteAmlData (Op, &Aml.OpcodeBytes[0], 1); in CgWriteAmlOpcode() 489 switch (Aml.Opcode) in CgWriteAmlOpcode()
|
/acpica-latest/source/components/disassembler/ |
D | dmresrc.c | 368 void *Aml; in AcpiDmResourceTemplate() local 390 Aml = &ByteData[CurrentByteOffset]; in AcpiDmResourceTemplate() 394 ResourceType = AcpiUtGetResourceType (Aml); in AcpiDmResourceTemplate() 395 ResourceLength = AcpiUtGetResourceLength (Aml); in AcpiDmResourceTemplate() 399 Status = AcpiUtValidateResource (NULL, Aml, &ResourceIndex); in AcpiDmResourceTemplate() 410 CurrentByteOffset += AcpiUtGetDescriptorLength (Aml); in AcpiDmResourceTemplate() 448 AcpiDmEndDependentDescriptor (Info, Aml, ResourceLength, Level); in AcpiDmResourceTemplate() 471 Info, Aml, ResourceLength, Level); in AcpiDmResourceTemplate() 505 UINT8 *Aml; in AcpiDmIsResourceTemplate() local 539 Aml = NextOp->Named.Data; in AcpiDmIsResourceTemplate() [all …]
|
D | dmdeferred.c | 168 UINT8 *Aml, 270 UINT8 *Aml, in AcpiDmDeferredParse() argument 284 if (!Aml || !AmlLength) in AcpiDmDeferredParse() 300 Status = AcpiDsInitAmlWalk (WalkState, Op, NULL, Aml, in AcpiDmDeferredParse()
|
D | dmwalk.c | 230 Info.StartAml = Op->Common.Aml - sizeof (ACPI_TABLE_HEADER); in AcpiDmDisassemble() 231 Info.AmlOffset = Op->Common.Aml - Info.StartAml; in AcpiDmDisassemble() 561 if (Op->Common.Aml > Info->PreviousAml) in AcpiDmDescendingOp() 566 (Op->Common.Aml - Info->PreviousAml), in AcpiDmDescendingOp() 571 Info->AmlOffset = (Op->Common.Aml - Info->StartAml); in AcpiDmDescendingOp() 574 Info->PreviousAml = Op->Common.Aml; in AcpiDmDescendingOp() 632 AmlOffset = (UINT32) ACPI_PTR_DIFF (Op->Common.Aml, in AcpiDmDescendingOp()
|
D | dmopcode.c | 801 UINT8 *Aml; in AcpiDmDisassembleOneOp() local 1055 Aml = Child->Named.Data; in AcpiDmDisassembleOneOp() 1062 AcpiDmResourceTemplate (Info, Op->Common.Parent, Aml, Length); in AcpiDmDisassembleOneOp()
|
/acpica-latest/source/include/ |
D | acresrc.h | 378 UINT8 *Aml, 396 AML_RESOURCE *Aml, 402 AML_RESOURCE *Aml); 411 AML_RESOURCE *Aml, 417 AML_RESOURCE *Aml, 446 AML_RESOURCE *Aml, 451 AML_RESOURCE *Aml, 459 AML_RESOURCE *Aml); 464 AML_RESOURCE *Aml);
|
D | acutils.h | 267 UINT8 *Aml, 1037 UINT8 *Aml, 1045 void *Aml, 1050 void *Aml); 1054 void *Aml); 1058 void *Aml); 1062 void *Aml);
|
D | acparser.h | 426 UINT8 *Aml); 436 UINT8 *Aml);
|
/acpica-latest/source/components/executer/ |
D | extrace.c | 292 UINT8 *Aml, in AcpiExTracePoint() argument 304 Aml, Pathname)); in AcpiExTracePoint() 311 Aml)); in AcpiExTracePoint() 473 Op->Common.Aml, Op->Common.AmlOpName); in AcpiExStartTraceOpcode() 505 Op->Common.Aml, Op->Common.AmlOpName); in AcpiExStopTraceOpcode()
|
/acpica-latest/source/common/ |
D | dmrestag.c | 195 UINT8 *Aml, 770 AML_RESOURCE *Aml; in AcpiGetTagPathname() local 787 Aml = ACPI_CAST_PTR ( in AcpiGetTagPathname() 790 Status = AcpiUtValidateResource (NULL, Aml, &ResourceTableIndex); in AcpiGetTagPathname() 802 Tag = AcpiDmGetResourceTag (ResourceBitIndex, Aml, ResourceTableIndex); in AcpiGetTagPathname() 1191 UINT8 *Aml, in AcpiDmAddResourceToNamespace() argument
|
/acpica-latest/source/components/namespace/ |
D | nsxfname.c | 702 ParserState.Aml = Buffer + sizeof (ACPI_TABLE_HEADER); in ACPI_EXPORT_SYMBOL() 711 ParserState.Aml += AcpiPsGetOpcodeSize (Opcode); in ACPI_EXPORT_SYMBOL() 715 MethodFlags = *ParserState.Aml++; in ACPI_EXPORT_SYMBOL() 716 AmlStart = ParserState.Aml; in ACPI_EXPORT_SYMBOL()
|
/acpica-latest/source/components/dispatcher/ |
D | dspkginit.c | 293 ObjDesc->Package.AmlStart = WalkState->Aml; in AcpiDsBuildInternalPackageObj() 575 Status = AcpiNsLookup (&ScopeInfo, (char *) Element->Reference.Aml, in AcpiDsResolvePackageElement() 603 (char *) Element->Reference.Aml, NULL, &ExternalPath); in AcpiDsResolvePackageElement()
|
D | dscontrol.c | 203 (WalkState->ParserState.Aml - 1)) in AcpiDsExecBeginControlOp() 232 WalkState->ParserState.Aml - 1; in AcpiDsExecBeginControlOp()
|