Home
last modified time | relevance | path

Searched refs:Aml (Results 1 – 25 of 39) sorted by relevance

12

/illumos-gate/usr/src/common/acpica/parser/
H A Dpsargs.c192 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 …]
H A Dpsloop.c253 WalkState->Aml = WalkState->ParserState.Aml; in AcpiPsGetArguments()
335 WalkState->ParserState.Aml = WalkState->ParserState.PkgEnd; in AcpiPsGetArguments()
377 Op->Named.Data = WalkState->ParserState.Aml; in AcpiPsGetArguments()
379 (WalkState->ParserState.PkgEnd - WalkState->ParserState.Aml); in AcpiPsGetArguments()
383 WalkState->ParserState.Aml = WalkState->ParserState.PkgEnd; in AcpiPsGetArguments()
409 WalkState->ParserState.Aml = WalkState->ParserState.PkgEnd; in AcpiPsGetArguments()
639 while ((ParserState->Aml < ParserState->AmlEnd) || (Op)) in AcpiPsParseLoop()
643 AmlOpStart = ParserState->Aml; in AcpiPsParseLoop()
691 WalkState->ParserState.Aml = WalkState->Aml + 1; in AcpiPsParseLoop()
692 WalkState->ParserState.Aml = in AcpiPsParseLoop()
[all …]
H A Dpsparse.c219 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 …]
H A Dpsobject.c192 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()
H A Dpsutils.c176 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()
/illumos-gate/usr/src/common/acpica/utilities/
H A Dutresrc.c290 UINT8 *Aml, in AcpiUtWalkAmlResources() argument
315 EndAml = Aml + AmlLength; in AcpiUtWalkAmlResources()
319 while (Aml < EndAml) in AcpiUtWalkAmlResources()
323 Status = AcpiUtValidateResource (WalkState, Aml, &ResourceIndex); in AcpiUtWalkAmlResources()
335 Length = AcpiUtGetDescriptorLength (Aml); in AcpiUtWalkAmlResources()
342 Aml, Length, Offset, ResourceIndex, Context); in AcpiUtWalkAmlResources()
351 if (AcpiUtGetResourceType (Aml) == ACPI_RESOURCE_NAME_END_TAG) in AcpiUtWalkAmlResources()
357 if ((Aml + 1) >= EndAml) in AcpiUtWalkAmlResources()
373 *Context = Aml; in AcpiUtWalkAmlResources()
381 Aml += Length; in AcpiUtWalkAmlResources()
[all …]
H A Dutdebug.c816 UINT8 *Aml, in AcpiTracePoint() argument
822 AcpiExTracePoint (Type, Begin, Aml, Pathname); in AcpiTracePoint()
825 AcpiOsTracePoint (Type, Begin, Aml, Pathname); in AcpiTracePoint()
/illumos-gate/usr/src/common/acpica/resources/
H A Drsmisc.c187 AML_RESOURCE *Aml, in AcpiRsConvertAmlToResource() argument
219 AmlResourceLength = AcpiUtGetResourceLength (Aml); in AcpiRsConvertAmlToResource()
232 Source = ACPI_ADD_PTR (void, Aml, Info->AmlOffset); in AcpiRsConvertAmlToResource()
298 Target = ACPI_ADD_PTR (void, Aml, Info->Value); in AcpiRsConvertAmlToResource()
319 Target = ACPI_ADD_PTR (void, Aml, (Info->Value + 2)); in AcpiRsConvertAmlToResource()
324 Target = ACPI_ADD_PTR (void, Aml, Info->Value); in AcpiRsConvertAmlToResource()
331 ItemCount = Aml->LargeHeader.ResourceLength + in AcpiRsConvertAmlToResource()
388 Source = ACPI_ADD_PTR (void, Aml, ACPI_GET16 (Source)); in AcpiRsConvertAmlToResource()
402 Source = ACPI_ADD_PTR (void, Aml, ACPI_GET16 (Source)); in AcpiRsConvertAmlToResource()
416 Source = ACPI_ADD_PTR (void, Aml, Info->Value); in AcpiRsConvertAmlToResource()
[all …]
H A Drslist.c177 UINT8 *Aml, in AcpiRsConvertAmlToResources() argument
207 AmlResource = ACPI_CAST_PTR (AML_RESOURCE, Aml); in AcpiRsConvertAmlToResources()
209 if (AcpiUtGetResourceType (Aml) == in AcpiRsConvertAmlToResources()
245 "Could not convert AML resource (Type 0x%X)", *Aml)); in AcpiRsConvertAmlToResources()
251 AcpiUtGetResourceType (Aml), Length, in AcpiRsConvertAmlToResources()
286 UINT8 *Aml = OutputBuffer; in AcpiRsConvertResourcesToAml() local
297 while (Aml < EndAml) in AcpiRsConvertResourcesToAml()
349 ACPI_CAST_PTR (AML_RESOURCE, Aml), ConversionTable); in AcpiRsConvertResourcesToAml()
361 NULL, ACPI_CAST_PTR (AML_RESOURCE, Aml), NULL); in AcpiRsConvertResourcesToAml()
380 Aml += AcpiUtGetDescriptorLength (Aml); in AcpiRsConvertResourcesToAml()
H A Drsaddr.c432 AML_RESOURCE *Aml) in AcpiRsGetAddressCommon() argument
439 if ((Aml->Address.ResourceType > 2) && in AcpiRsGetAddressCommon()
440 (Aml->Address.ResourceType < 0xC0)) in AcpiRsGetAddressCommon()
448 Resource, Aml, AcpiRsConvertGeneralFlags); in AcpiRsGetAddressCommon()
455 Resource, Aml, AcpiRsConvertMemFlags); in AcpiRsGetAddressCommon()
460 Resource, Aml, AcpiRsConvertIoFlags); in AcpiRsGetAddressCommon()
467 Aml->Address.SpecificFlags; in AcpiRsGetAddressCommon()
490 AML_RESOURCE *Aml, in AcpiRsSetAddressCommon() argument
499 Resource, Aml, AcpiRsConvertGeneralFlags); in AcpiRsSetAddressCommon()
506 Resource, Aml, AcpiRsConvertMemFlags); in AcpiRsSetAddressCommon()
[all …]
H A Drsutils.c343 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 …]
/illumos-gate/usr/src/cmd/acpi/iasl/
H A Dcvparser.c536 Op->Common.Aml, AcpiGbl_FileTreeRoot); in CvLabelFileNode()
714 UINT8 *Aml = ParserState->Aml; in CvCaptureCommentsOnly() local
715 UINT16 Opcode = (UINT16) ACPI_GET8 (Aml); in CvCaptureCommentsOnly()
731 CvDbgPrint ("comment aml address: %p\n", Aml); in CvCaptureCommentsOnly()
733 if (CvCommentExists(ParserState->Aml)) in CvCaptureCommentsOnly()
739 CommentOption = *(Aml +1); in CvCaptureCommentsOnly()
745 Aml += 2; in CvCaptureCommentsOnly()
761 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly()
787 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly()
812 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly()
[all …]
H A Daslcodegen.c355 } Aml; in CgWriteAmlOpcode() local
393 Aml.Opcode = AML_FIELD_OFFSET_OP; in CgWriteAmlOpcode()
398 Aml.Opcode = AML_FIELD_ACCESS_OP; in CgWriteAmlOpcode()
403 Aml.Opcode = AML_FIELD_CONNECTION_OP; in CgWriteAmlOpcode()
408 Aml.Opcode = Op->Asl.AmlOpcode; in CgWriteAmlOpcode()
413 switch (Aml.Opcode) in CgWriteAmlOpcode()
426 if (Aml.Opcode > 0x00FF) in CgWriteAmlOpcode()
430 CgLocalWriteAmlData (Op, &Aml.OpcodeBytes[1], 1); in CgWriteAmlOpcode()
433 CgLocalWriteAmlData (Op, &Aml.OpcodeBytes[0], 1); in CgWriteAmlOpcode()
480 switch (Aml.Opcode) in CgWriteAmlOpcode()
/illumos-gate/usr/src/common/acpica/disassembler/
H A Ddmresrc.c367 void *Aml; in AcpiDmResourceTemplate() local
389 Aml = &ByteData[CurrentByteOffset]; in AcpiDmResourceTemplate()
393 ResourceType = AcpiUtGetResourceType (Aml); in AcpiDmResourceTemplate()
394 ResourceLength = AcpiUtGetResourceLength (Aml); in AcpiDmResourceTemplate()
398 Status = AcpiUtValidateResource (NULL, Aml, &ResourceIndex); in AcpiDmResourceTemplate()
409 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 …]
H A Ddmdeferred.c168 UINT8 *Aml,
270 UINT8 *Aml, in AcpiDmDeferredParse() argument
284 if (!Aml || !AmlLength) in AcpiDmDeferredParse()
300 Status = AcpiDsInitAmlWalk (WalkState, Op, NULL, Aml, in AcpiDmDeferredParse()
H A Ddmwalk.c230 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()
H A Ddmopcode.c801 UINT8 *Aml; in AcpiDmDisassembleOneOp() local
1055 Aml = Child->Named.Data; in AcpiDmDisassembleOneOp()
1062 AcpiDmResourceTemplate (Info, Op->Common.Parent, Aml, Length); in AcpiDmDisassembleOneOp()
/illumos-gate/usr/src/uts/intel/sys/acpi/
H A Dacresrc.h376 UINT8 *Aml,
394 AML_RESOURCE *Aml,
400 AML_RESOURCE *Aml);
409 AML_RESOURCE *Aml,
415 AML_RESOURCE *Aml,
444 AML_RESOURCE *Aml,
449 AML_RESOURCE *Aml,
457 AML_RESOURCE *Aml);
462 AML_RESOURCE *Aml);
H A Dacutils.h264 UINT8 *Aml,
1004 UINT8 *Aml,
1012 void *Aml,
1017 void *Aml);
1021 void *Aml);
1025 void *Aml);
1029 void *Aml);
H A Dacparser.h426 UINT8 *Aml);
436 UINT8 *Aml);
/illumos-gate/usr/src/common/acpica/executer/
H A Dextrace.c292 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()
/illumos-gate/usr/src/cmd/acpi/common/
H A Ddmrestag.c195 UINT8 *Aml,
750 AML_RESOURCE *Aml; in AcpiGetTagPathname() local
767 Aml = ACPI_CAST_PTR ( in AcpiGetTagPathname()
770 Status = AcpiUtValidateResource (NULL, Aml, &ResourceTableIndex); in AcpiGetTagPathname()
782 Tag = AcpiDmGetResourceTag (ResourceBitIndex, Aml, ResourceTableIndex); in AcpiGetTagPathname()
1160 UINT8 *Aml, in AcpiDmAddResourceToNamespace() argument
/illumos-gate/usr/src/common/acpica/namespace/
H A Dnsxfname.c702 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()
/illumos-gate/usr/src/common/acpica/dispatcher/
H A Ddspkginit.c293 ObjDesc->Package.AmlStart = WalkState->Aml; in AcpiDsBuildInternalPackageObj()
549 Status = AcpiNsLookup (&ScopeInfo, (char *) Element->Reference.Aml, in AcpiDsResolvePackageElement()
577 (char *) Element->Reference.Aml, NULL, &ExternalPath); in AcpiDsResolvePackageElement()
H A Ddscontrol.c203 (WalkState->ParserState.Aml - 1)) in AcpiDsExecBeginControlOp()
232 WalkState->ParserState.Aml - 1; in AcpiDsExecBeginControlOp()

12