/titanic_50/usr/src/uts/intel/io/acpica/parser/ |
H A D | psargs.c | 83 UINT8 *Aml = ParserState->Aml; in AcpiPsGetNextPackageLength() local 96 ByteCount = (Aml[0] >> 6); in AcpiPsGetNextPackageLength() 97 ParserState->Aml += ((ACPI_SIZE) ByteCount + 1); in AcpiPsGetNextPackageLength() 110 PackageLength |= (Aml[ByteCount] << ((ByteCount << 3) - 4)); in AcpiPsGetNextPackageLength() 118 PackageLength |= (Aml[0] & ByteZeroMask); in AcpiPsGetNextPackageLength() 140 UINT8 *Start = ParserState->Aml; in AcpiPsGetNextPackageEnd() 174 UINT8 *Start = ParserState->Aml; in AcpiPsGetNextNamestring() 175 UINT8 *End = ParserState->Aml; in AcpiPsGetNextNamestring() 226 ParserState->Aml = End; in AcpiPsGetNextNamestring() 264 UINT8 *Start = ParserState->Aml; in AcpiPsGetNextNamepath() [all …]
|
H A D | psparse.c | 110 UINT8 *Aml; in AcpiPsPeekOpcode() local 114 Aml = ParserState->Aml; in AcpiPsPeekOpcode() 115 Opcode = (UINT16) ACPI_GET8 (Aml); in AcpiPsPeekOpcode() 121 Aml++; in AcpiPsPeekOpcode() 122 Opcode = (UINT16) ((Opcode << 8) | ACPI_GET8 (Aml)); in AcpiPsPeekOpcode() 204 AML_INT_RETURN_VALUE_OP, Op->Common.Aml); in AcpiPsCompleteThisOp() 224 AML_INT_RETURN_VALUE_OP, Op->Common.Aml); in AcpiPsCompleteThisOp() 238 Op->Common.Aml); in AcpiPsCompleteThisOp() 255 AML_INT_RETURN_VALUE_OP, Op->Common.Aml); in AcpiPsCompleteThisOp() 355 ParserState->Aml = ParserState->AmlEnd; in AcpiPsNextParseState() [all …]
|
H A D | psloop.c | 140 WalkState->Aml = WalkState->ParserState.Aml; in AcpiPsGetArguments() 195 WalkState->ParserState.Aml = WalkState->ParserState.PkgEnd; in AcpiPsGetArguments() 237 Op->Named.Data = WalkState->ParserState.Aml; in AcpiPsGetArguments() 239 (WalkState->ParserState.PkgEnd - WalkState->ParserState.Aml); in AcpiPsGetArguments() 243 WalkState->ParserState.Aml = WalkState->ParserState.PkgEnd; in AcpiPsGetArguments() 265 WalkState->ParserState.Aml = WalkState->ParserState.PkgEnd; in AcpiPsGetArguments() 485 while ((ParserState->Aml < ParserState->AmlEnd) || (Op)) in AcpiPsParseLoop() 487 AmlOpStart = ParserState->Aml; in AcpiPsParseLoop() 589 Op->Named.Length = (UINT32) (ParserState->Aml - Op->Named.Data); in AcpiPsParseLoop() 601 Op->Named.Length = (UINT32) (ParserState->Aml - Op->Named.Data); in AcpiPsParseLoop() [all …]
|
H A D | psutils.c | 67 UINT8 *Aml) in AcpiPsCreateScopeOp() argument 72 ScopeOp = AcpiPsAllocOp (AML_SCOPE_OP, Aml); in AcpiPsCreateScopeOp() 131 UINT8 *Aml) in AcpiPsAllocOp() argument 178 Op->Common.Aml = Aml; in AcpiPsAllocOp()
|
H A D | psobject.c | 82 WalkState->Aml = WalkState->ParserState.Aml; in AcpiPsGetAmlOpcode() 111 AmlOffset = (UINT32) ACPI_PTR_DIFF (WalkState->Aml, in AcpiPsGetAmlOpcode() 119 ACPI_DUMP_BUFFER ((WalkState->ParserState.Aml - 16), 48); in AcpiPsGetAmlOpcode() 133 AcpiUtDumpBuffer (((UINT8 *) WalkState->ParserState.Aml - 16), in AcpiPsGetAmlOpcode() 142 WalkState->ParserState.Aml++; in AcpiPsGetAmlOpcode() 145 WalkState->ParserState.Aml++; in AcpiPsGetAmlOpcode() 154 WalkState->ParserState.Aml += in AcpiPsGetAmlOpcode()
|
H A D | psscope.c | 93 ((ParserState->Aml >= ParserState->Scope->ParseScope.ArgEnd || in AcpiPsHasCompletedScope()
|
/titanic_50/usr/src/uts/intel/io/acpica/utilities/ |
H A D | utresrc.c | 455 UINT8 *Aml, in AcpiUtWalkAmlResources() argument 480 EndAml = Aml + AmlLength; in AcpiUtWalkAmlResources() 484 while (Aml < EndAml) in AcpiUtWalkAmlResources() 488 Status = AcpiUtValidateResource (WalkState, Aml, &ResourceIndex); in AcpiUtWalkAmlResources() 500 Length = AcpiUtGetDescriptorLength (Aml); in AcpiUtWalkAmlResources() 507 Aml, Length, Offset, ResourceIndex, Context); in AcpiUtWalkAmlResources() 516 if (AcpiUtGetResourceType (Aml) == ACPI_RESOURCE_NAME_END_TAG) in AcpiUtWalkAmlResources() 522 if ((Aml + 1) >= EndAml) in AcpiUtWalkAmlResources() 531 *Context = Aml; in AcpiUtWalkAmlResources() 539 Aml += Length; in AcpiUtWalkAmlResources() [all …]
|
H A D | utdebug.c | 695 UINT8 *Aml, in AcpiTracePoint() argument 701 AcpiExTracePoint (Type, Begin, Aml, Pathname); in AcpiTracePoint() 704 AcpiOsTracePoint (Type, Begin, Aml, Pathname); in AcpiTracePoint()
|
/titanic_50/usr/src/uts/intel/io/acpica/resources/ |
H A D | rsmisc.c | 79 AML_RESOURCE *Aml, in AcpiRsConvertAmlToResource() argument 111 AmlResourceLength = AcpiUtGetResourceLength (Aml); in AcpiRsConvertAmlToResource() 124 Source = ACPI_ADD_PTR (void, Aml, Info->AmlOffset); in AcpiRsConvertAmlToResource() 190 Target = ACPI_ADD_PTR (void, Aml, Info->Value); in AcpiRsConvertAmlToResource() 211 Target = ACPI_ADD_PTR (void, Aml, (Info->Value + 2)); in AcpiRsConvertAmlToResource() 216 Target = ACPI_ADD_PTR (void, Aml, Info->Value); in AcpiRsConvertAmlToResource() 223 ItemCount = Aml->LargeHeader.ResourceLength + in AcpiRsConvertAmlToResource() 280 Source = ACPI_ADD_PTR (void, Aml, ACPI_GET16 (Source)); in AcpiRsConvertAmlToResource() 294 Source = ACPI_ADD_PTR (void, Aml, ACPI_GET16 (Source)); in AcpiRsConvertAmlToResource() 308 Source = ACPI_ADD_PTR (void, Aml, Info->Value); in AcpiRsConvertAmlToResource() [all …]
|
H A D | rslist.c | 69 UINT8 *Aml, in AcpiRsConvertAmlToResources() argument 99 AmlResource = ACPI_CAST_PTR (AML_RESOURCE, Aml); in AcpiRsConvertAmlToResources() 101 if (AcpiUtGetResourceType (Aml) == in AcpiRsConvertAmlToResources() 137 "Could not convert AML resource (Type 0x%X)", *Aml)); in AcpiRsConvertAmlToResources() 143 AcpiUtGetResourceType (Aml), Length, in AcpiRsConvertAmlToResources() 178 UINT8 *Aml = OutputBuffer; in AcpiRsConvertResourcesToAml() local 189 while (Aml < EndAml) in AcpiRsConvertResourcesToAml() 241 ACPI_CAST_PTR (AML_RESOURCE, Aml), ConversionTable); in AcpiRsConvertResourcesToAml() 253 NULL, ACPI_CAST_PTR (AML_RESOURCE, Aml), NULL); in AcpiRsConvertResourcesToAml() 272 Aml += AcpiUtGetDescriptorLength (Aml); in AcpiRsConvertResourcesToAml()
|
H A D | rsaddr.c | 324 AML_RESOURCE *Aml) in AcpiRsGetAddressCommon() argument 331 if ((Aml->Address.ResourceType > 2) && in AcpiRsGetAddressCommon() 332 (Aml->Address.ResourceType < 0xC0)) in AcpiRsGetAddressCommon() 340 Resource, Aml, AcpiRsConvertGeneralFlags); in AcpiRsGetAddressCommon() 347 Resource, Aml, AcpiRsConvertMemFlags); in AcpiRsGetAddressCommon() 352 Resource, Aml, AcpiRsConvertIoFlags); in AcpiRsGetAddressCommon() 359 Aml->Address.SpecificFlags; in AcpiRsGetAddressCommon() 382 AML_RESOURCE *Aml, in AcpiRsSetAddressCommon() argument 391 Resource, Aml, AcpiRsConvertGeneralFlags); in AcpiRsSetAddressCommon() 398 Resource, Aml, AcpiRsConvertMemFlags); in AcpiRsSetAddressCommon() [all …]
|
H A D | rsutils.c | 235 AML_RESOURCE *Aml) in AcpiRsSetResourceLength() argument 246 (TotalLength - AcpiUtGetResourceHeaderLength (Aml)); in AcpiRsSetResourceLength() 250 if (Aml->SmallHeader.DescriptorType & ACPI_RESOURCE_NAME_LARGE) in AcpiRsSetResourceLength() 255 &Aml->LargeHeader.ResourceLength, &ResourceLength); in AcpiRsSetResourceLength() 263 Aml->SmallHeader.DescriptorType = (UINT8) in AcpiRsSetResourceLength() 264 ((Aml->SmallHeader.DescriptorType & in AcpiRsSetResourceLength() 292 AML_RESOURCE *Aml) in AcpiRsSetResourceHeader() argument 299 Aml->SmallHeader.DescriptorType = DescriptorType; in AcpiRsSetResourceHeader() 303 AcpiRsSetResourceLength (TotalLength, Aml); in AcpiRsSetResourceHeader() 370 AML_RESOURCE *Aml, in AcpiRsGetResourceSource() argument [all …]
|
/titanic_50/usr/src/uts/intel/io/acpica/disassembler/ |
H A D | dmresrc.c | 255 void *Aml; in AcpiDmResourceTemplate() local 277 Aml = &ByteData[CurrentByteOffset]; in AcpiDmResourceTemplate() 281 ResourceType = AcpiUtGetResourceType (Aml); in AcpiDmResourceTemplate() 282 ResourceLength = AcpiUtGetResourceLength (Aml); in AcpiDmResourceTemplate() 286 Status = AcpiUtValidateResource (NULL, Aml, &ResourceIndex); in AcpiDmResourceTemplate() 297 CurrentByteOffset += AcpiUtGetDescriptorLength (Aml); in AcpiDmResourceTemplate() 336 AcpiDmEndDependentDescriptor (Info, Aml, ResourceLength, Level); in AcpiDmResourceTemplate() 359 Info, Aml, ResourceLength, Level); in AcpiDmResourceTemplate() 393 UINT8 *Aml; in AcpiDmIsResourceTemplate() local 420 Aml = NextOp->Named.Data; in AcpiDmIsResourceTemplate() [all …]
|
H A D | dmdeferred.c | 60 UINT8 *Aml, 162 UINT8 *Aml, in AcpiDmDeferredParse() argument 176 if (!Aml || !AmlLength) in AcpiDmDeferredParse() 192 Status = AcpiDsInitAmlWalk (WalkState, Op, NULL, Aml, in AcpiDmDeferredParse()
|
H A D | dmwalk.c | 119 Info.StartAml = Op->Common.Aml - sizeof (ACPI_TABLE_HEADER); in AcpiDmDisassemble() 120 Info.AmlOffset = Op->Common.Aml - Info.StartAml; in AcpiDmDisassemble() 434 if (Op->Common.Aml > Info->PreviousAml) in AcpiDmDescendingOp() 439 (Op->Common.Aml - Info->PreviousAml), in AcpiDmDescendingOp() 444 Info->AmlOffset = (Op->Common.Aml - Info->StartAml); in AcpiDmDescendingOp() 447 Info->PreviousAml = Op->Common.Aml; in AcpiDmDescendingOp() 498 AmlOffset = (UINT32) ACPI_PTR_DIFF (Op->Common.Aml, in AcpiDmDescendingOp()
|
H A D | dmopcode.c | 680 UINT8 *Aml; in AcpiDmDisassembleOneOp() local 929 Aml = Child->Named.Data; in AcpiDmDisassembleOneOp() 936 AcpiDmResourceTemplate (Info, Op->Common.Parent, Aml, Length); in AcpiDmDisassembleOneOp()
|
/titanic_50/usr/src/uts/intel/sys/acpi/ |
H A D | acresrc.h | 265 UINT8 *Aml, 283 AML_RESOURCE *Aml, 289 AML_RESOURCE *Aml); 298 AML_RESOURCE *Aml, 304 AML_RESOURCE *Aml, 333 AML_RESOURCE *Aml, 338 AML_RESOURCE *Aml, 346 AML_RESOURCE *Aml); 351 AML_RESOURCE *Aml);
|
H A D | acutils.h | 154 UINT8 *Aml, 827 UINT8 *Aml, 835 void *Aml, 840 void *Aml); 844 void *Aml); 848 void *Aml); 852 void *Aml);
|
H A D | acparser.h | 314 UINT8 *Aml); 324 UINT8 *Aml);
|
H A D | acstruct.h | 91 UINT8 *Aml; member
|
H A D | acpiosxf.h | 608 UINT8 *Aml,
|
/titanic_50/usr/src/uts/intel/io/acpica/executer/ |
H A D | extrace.c | 184 UINT8 *Aml, in AcpiExTracePoint() argument 196 Aml, Pathname)); in AcpiExTracePoint() 203 Aml)); in AcpiExTracePoint() 393 Op->Common.Aml, Op->Common.AmlOpName); in AcpiExStartTraceOpcode() 425 Op->Common.Aml, Op->Common.AmlOpName); in AcpiExStopTraceOpcode()
|
/titanic_50/usr/src/cmd/acpi/common/ |
H A D | utdebug.c | 695 UINT8 *Aml, in AcpiTracePoint() argument 701 AcpiExTracePoint (Type, Begin, Aml, Pathname); in AcpiTracePoint() 704 AcpiOsTracePoint (Type, Begin, Aml, Pathname); in AcpiTracePoint()
|
/titanic_50/usr/src/uts/intel/io/acpica/namespace/ |
H A D | nsxfname.c | 628 ParserState.Aml = Buffer + sizeof (ACPI_TABLE_HEADER); in ACPI_EXPORT_SYMBOL() 637 ParserState.Aml += AcpiPsGetOpcodeSize (Opcode); in ACPI_EXPORT_SYMBOL() 641 MethodFlags = *ParserState.Aml++; in ACPI_EXPORT_SYMBOL() 642 AmlStart = ParserState.Aml; in ACPI_EXPORT_SYMBOL()
|
/titanic_50/usr/src/uts/intel/io/acpica/dispatcher/ |
H A D | dscontrol.c | 95 (WalkState->ParserState.Aml - 1)) in AcpiDsExecBeginControlOp() 124 WalkState->ParserState.Aml - 1; in AcpiDsExecBeginControlOp()
|