/illumos-gate/usr/src/common/acpica/namespace/ |
H A D | nssearch.c | 228 ScopeName, ParentNode, ACPI_CAST_PTR (char, &TargetName), in AcpiNsSearchOneScope() 251 Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, Node->Object); in AcpiNsSearchOneScope() 258 ACPI_CAST_PTR (char, &TargetName), in AcpiNsSearchOneScope() 276 ACPI_CAST_PTR (char, &TargetName), AcpiUtGetTypeName (Type), in AcpiNsSearchOneScope() 331 ACPI_CAST_PTR (char, &TargetName))); in AcpiNsSearchParentTree() 339 ACPI_CAST_PTR (char, &TargetName), AcpiUtGetTypeName (Type))); in AcpiNsSearchParentTree() 347 AcpiUtGetNodeName (ParentNode), ACPI_CAST_PTR (char, &TargetName))); in AcpiNsSearchParentTree() 437 AcpiUtRepairName (ACPI_CAST_PTR (char, &TargetName)); in AcpiNsSearchAndEnter() 462 ACPI_CAST_PTR(char, &TargetName), InterpreterMode, in AcpiNsSearchAndEnter() 527 ACPI_CAST_PTR (char, &TargetName), Node)); in AcpiNsSearchAndEnter()
|
H A D | nsconvert.c | 418 DwordBuffer = ACPI_CAST_PTR (UINT32, NewObject->Buffer.Pointer); in AcpiNsConvertToBuffer() 498 UnicodeBuffer = ACPI_CAST_PTR (UINT16, NewObject->Buffer.Pointer); in AcpiNsConvertToUnicode() 586 Buffer = ACPI_CAST_PTR (UINT8, NewObject->Buffer.Pointer); in AcpiNsConvertToResource() 639 ScopeInfo.Scope.Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, Scope); in AcpiNsConvertToReference()
|
H A D | nsxfname.c | 239 *RetHandle = ACPI_CAST_PTR (ACPI_HANDLE, AcpiGbl_RootNode); in AcpiGetHandle() 255 *RetHandle = ACPI_CAST_PTR (ACPI_HANDLE, Node); in AcpiGetHandle() 562 NextIdString = ACPI_CAST_PTR (char, Info->CompatibleIdList.Ids); in AcpiGetObjectInfo() 672 ACPI_TABLE_HEADER *Table = ACPI_CAST_PTR (ACPI_TABLE_HEADER, Buffer); in ACPI_EXPORT_SYMBOL()
|
H A D | nsinit.c | 647 ACPI_DEVICE_WALK_INFO *Info = ACPI_CAST_PTR (ACPI_DEVICE_WALK_INFO, Context); in AcpiNsFindIniMethods() 654 Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, ObjHandle); in AcpiNsFindIniMethods() 720 ACPI_DEVICE_WALK_INFO *WalkInfo = ACPI_CAST_PTR (ACPI_DEVICE_WALK_INFO, Context); in AcpiNsInitOneDevice() 732 DeviceNode = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, ObjHandle); in AcpiNsInitOneDevice()
|
/illumos-gate/usr/src/common/acpica/resources/ |
H A D | rsutils.c | 297 &ACPI_CAST_PTR (UINT16, Destination)[i], in AcpiRsMoveData() 298 &ACPI_CAST_PTR (UINT16, Source)[i]); in AcpiRsMoveData() 304 &ACPI_CAST_PTR (UINT32, Destination)[i], in AcpiRsMoveData() 305 &ACPI_CAST_PTR (UINT32, Source)[i]); in AcpiRsMoveData() 311 &ACPI_CAST_PTR (UINT64, Destination)[i], in AcpiRsMoveData() 312 &ACPI_CAST_PTR (UINT64, Source)[i]); in AcpiRsMoveData() 523 ACPI_CAST_PTR (char, &AmlResourceSource[1])) + 1; in AcpiRsGetResourceSource() 533 ACPI_CAST_PTR (char, &AmlResourceSource[1])); in AcpiRsGetResourceSource() 593 strcpy (ACPI_CAST_PTR (char, &AmlResourceSource[1]), in AcpiRsSetResourceSource() 866 ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, Handle), in AcpiRsGetMethodData()
|
H A D | rsdump.c | 344 PrtElement = ACPI_CAST_PTR (ACPI_PCI_ROUTING_TABLE, RouteTable); in AcpiRsDumpIrqList() 409 AcpiRsOutString (Name, ACPI_CAST_PTR (char, Table->Pointer)); in AcpiRsDumpDescriptor() 414 AcpiRsOutString (Name, ACPI_CAST_PTR (char, Target)); in AcpiRsDumpDescriptor() 507 ACPI_CAST_PTR (UINT32, Target)); in AcpiRsDumpDescriptor() 527 AcpiRsDumpAddressCommon (ACPI_CAST_PTR ( in AcpiRsDumpDescriptor() 535 AcpiRsDumpResourceSource (ACPI_CAST_PTR ( in AcpiRsDumpDescriptor() 543 AcpiRsDumpResourceLabel ("Resource Label", ACPI_CAST_PTR ( in AcpiRsDumpDescriptor() 551 AcpiRsDumpResourceLabel ("Resource Source Label", ACPI_CAST_PTR ( in AcpiRsDumpDescriptor()
|
H A D | rslist.c | 207 AmlResource = ACPI_CAST_PTR (AML_RESOURCE, Aml); in AcpiRsConvertAmlToResources() 349 ACPI_CAST_PTR (AML_RESOURCE, Aml), ConversionTable); in AcpiRsConvertResourcesToAml() 361 NULL, ACPI_CAST_PTR (AML_RESOURCE, Aml), NULL); in AcpiRsConvertResourcesToAml()
|
/illumos-gate/usr/src/uts/intel/sys/acpi/ |
H A D | actypes.h | 652 #define ACPI_CAST_PTR(t, p) ((t *) (ACPI_UINTPTR_T) (p)) macro 654 #define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (UINT8, (a)) + (ACPI_SIZE)… 655 #define ACPI_SUB_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (UINT8, (a)) - (ACPI_SIZE)… 656 #define ACPI_PTR_DIFF(a, b) ((ACPI_SIZE) (ACPI_CAST_PTR (UINT8, (a)) - ACPI_CAST_PTR (U… 669 #define ACPI_COMPARE_NAME(a,b) (*ACPI_CAST_PTR (UINT32, (a)) == *ACPI_CAST_PTR (UINT32, (b… 670 #define ACPI_MOVE_NAME(dest,src) (*ACPI_CAST_PTR (UINT32, (dest)) = *ACPI_CAST_PTR (UINT32, … 672 #define ACPI_COMPARE_NAME(a,b) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_CAST_PTR (char, … 673 #define ACPI_MOVE_NAME(dest,src) (strncpy (ACPI_CAST_PTR (char, (dest)), ACPI_CAST_PTR (char… 678 #define ACPI_VALIDATE_RSDP_SIG(a) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_SIG_RSDP, 8)) 679 #define ACPI_MAKE_RSDP_SIG(dest) (memcpy (ACPI_CAST_PTR (char, (dest)), ACPI_SIG_RSDP, 8))
|
/illumos-gate/usr/src/common/acpica/tables/ |
H A D | tbprint.c | 268 memcpy (LocalHeader.OemId, ACPI_CAST_PTR (ACPI_TABLE_RSDP, in AcpiTbPrintTableHeader() 274 (ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Revision > 0) ? in AcpiTbPrintTableHeader() 275 ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Length : 20, in AcpiTbPrintTableHeader() 276 ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Revision, in AcpiTbPrintTableHeader() 331 Checksum = AcpiTbChecksum (ACPI_CAST_PTR (UINT8, Table), Length); in AcpiTbVerifyChecksum()
|
/illumos-gate/usr/src/cmd/acpi/iasl/ |
H A D | dttable1.c | 215 AsfTable = ACPI_CAST_PTR (ACPI_ASF_INFO, Subtable->Buffer); in DtCompileAsf() 269 DataCount = ACPI_CAST_PTR (ACPI_ASF_ALERT, in DtCompileAsf() 277 DataCount = ACPI_CAST_PTR (ACPI_ASF_REMOTE, in DtCompileAsf() 290 DataCount = ACPI_CAST_PTR (ACPI_ASF_ADDRESS, in DtCompileAsf() 411 (ACPI_CAST_PTR (ACPI_CSRT_GROUP, in DtCompileCsrt() 413 (ACPI_CAST_PTR (ACPI_CSRT_GROUP, in DtCompileCsrt() 518 Dbg2Header = ACPI_CAST_PTR (ACPI_DBG2_HEADER, Subtable->Buffer); in DtCompileDbg2() 538 DeviceInfo = ACPI_CAST_PTR (ACPI_DBG2_DEVICE, Subtable->Buffer); in DtCompileDbg2() 688 DmarHeader = ACPI_CAST_PTR (ACPI_DMAR_HEADER, Subtable->Buffer); in DtCompileDmar() 762 DmarDeviceScope = ACPI_CAST_PTR (ACPI_DMAR_DEVICE_SCOPE, Subtable->Buffer); in DtCompileDmar() [all …]
|
H A D | cvparser.c | 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() 832 ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly() 839 ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly() 846 ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly() 854 ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly() 860 ACPI_CAST_PTR (char, Aml)); in CvCaptureCommentsOnly() 862 ACPI_CAST_PTR (char, Aml), AcpiGbl_FileTreeRoot); in CvCaptureCommentsOnly() 892 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly()
|
H A D | dttable2.c | 204 LpitHeader = ACPI_CAST_PTR (ACPI_LPIT_HEADER, Subtable->Buffer); in DtCompileLpit() 285 MadtHeader = ACPI_CAST_PTR (ACPI_SUBTABLE_HEADER, Subtable->Buffer); in DtCompileMadt() 455 MpstChannelInfo = ACPI_CAST_PTR (ACPI_MPST_CHANNEL, Subtable->Buffer); in DtCompileMpst() 473 MpstPowerNode = ACPI_CAST_PTR (ACPI_MPST_POWER_NODE, Subtable->Buffer); in DtCompileMpst() 527 MpstDataHeader = ACPI_CAST_PTR (ACPI_MPST_DATA_HDR, Subtable->Buffer); in DtCompileMpst() 659 NfitHeader = ACPI_CAST_PTR (ACPI_NFIT_HEADER, Subtable->Buffer); in DtCompileNfit() 675 Interleave = ACPI_CAST_PTR (ACPI_NFIT_INTERLEAVE, Subtable->Buffer); in DtCompileNfit() 696 Hint = ACPI_CAST_PTR (ACPI_NFIT_FLUSH_ADDRESS, Subtable->Buffer); in DtCompileNfit() 857 PcctHeader = ACPI_CAST_PTR (ACPI_SUBTABLE_HEADER, Subtable->Buffer); in DtCompilePcct() 942 PdttHeader = ACPI_CAST_PTR (ACPI_TABLE_PDTT, ParentTable->Buffer); in DtCompilePdtt() [all …]
|
H A D | dttable.c | 191 Rsdp = ACPI_CAST_PTR (ACPI_TABLE_RSDP, Gbl_RootTable->Buffer); in DtCompileRsdp() 209 RsdpExtension = ACPI_CAST_PTR (ACPI_RSDP_EXTENSION, Subtable->Buffer); in DtCompileRsdp() 252 Table = ACPI_CAST_PTR (ACPI_TABLE_HEADER, ParentTable->Buffer); in DtCompileFadt()
|
H A D | aslcache.c | 269 Gbl_ParseOpCacheNext = ACPI_CAST_PTR (ACPI_PARSE_OBJECT, Cache->Buffer); in UtParseOpCacheCalloc() 313 Gbl_SubtableCacheNext = ACPI_CAST_PTR (DT_SUBTABLE, Cache->Buffer); in UtSubtableCacheCalloc() 357 Gbl_FieldCacheNext = ACPI_CAST_PTR (DT_FIELD, Cache->Buffer); in UtFieldCacheCalloc()
|
/illumos-gate/usr/src/common/acpica/utilities/ |
H A D | utglobal.c | 235 {"_REV", ACPI_TYPE_INTEGER, ACPI_CAST_PTR (char, 2)}, 237 {"_GL_", ACPI_TYPE_MUTEX, ACPI_CAST_PTR (char, 1)}, 240 {"_OSI", ACPI_TYPE_METHOD, ACPI_CAST_PTR (char, 1)},
|
H A D | utcopy.c | 411 ACPI_CAST_PTR (ACPI_OBJECT, Info->FreeSpace); in AcpiUtCopyIelementToEelement() 474 ExternalObject = ACPI_CAST_PTR (ACPI_OBJECT, Buffer); in AcpiUtCopyIpackageToEpackage() 488 ACPI_CAST_PTR (ACPI_OBJECT, Info.FreeSpace); in AcpiUtCopyIpackageToEpackage() 547 ACPI_CAST_PTR (ACPI_OBJECT, RetBuffer->Pointer), in AcpiUtCopyIobjectToEobject() 846 memcpy (ACPI_CAST_PTR (char, DestDesc), in AcpiUtCopySimpleObject() 847 ACPI_CAST_PTR (char, SourceDesc), CopySize); in AcpiUtCopySimpleObject()
|
/illumos-gate/usr/src/cmd/acpi/common/ |
H A D | dmtbdump3.c | 219 Localities = (UINT32) ACPI_CAST_PTR (ACPI_TABLE_SLIT, Table)->LocalityCount; in AcpiDmDumpSlit() 221 Row = (UINT8 *) ACPI_CAST_PTR (ACPI_TABLE_SLIT, Table)->Entry; in AcpiDmDumpSlit() 440 ACPI_TABLE_TCPA_HDR *CommonHeader = ACPI_CAST_PTR ( in AcpiDmDumpTcpa() 506 ACPI_TABLE_TPM2 *CommonHeader = ACPI_CAST_PTR (ACPI_TABLE_TPM2, Table); in AcpiDmDumpTpm2() 686 Subtable = ACPI_CAST_PTR (ACPI_TABLE_WPBT, Table); in AcpiDmDumpWpbt()
|
H A D | dmtbdump.c | 206 Buffer = ACPI_CAST_PTR (UINT8, Table) + BufferOffset; in AcpiDmDumpBuffer() 317 ACPI_TABLE_RSDP *Rsdp = ACPI_CAST_PTR (ACPI_TABLE_RSDP, Table); in AcpiDmDumpRsdp() 392 Array = ACPI_CAST_PTR (ACPI_TABLE_RSDT, Table)->TableOffsetEntry; in AcpiDmDumpRsdt() 432 Array = ACPI_CAST_PTR (ACPI_TABLE_XSDT, Table)->TableOffsetEntry; in AcpiDmDumpXsdt()
|
H A D | dmtbdump1.c | 222 DataCount = ACPI_CAST_PTR (ACPI_ASF_ALERT, Subtable)->Alerts; in AcpiDmDumpAsf() 223 DataLength = ACPI_CAST_PTR (ACPI_ASF_ALERT, Subtable)->DataLength; in AcpiDmDumpAsf() 232 DataCount = ACPI_CAST_PTR (ACPI_ASF_REMOTE, Subtable)->Controls; in AcpiDmDumpAsf() 233 DataLength = ACPI_CAST_PTR (ACPI_ASF_REMOTE, Subtable)->DataLength; in AcpiDmDumpAsf() 246 DataLength = ACPI_CAST_PTR (ACPI_ASF_ADDRESS, Subtable)->Devices; in AcpiDmDumpAsf() 1130 GtCount = (ACPI_CAST_PTR (ACPI_GTDT_TIMER_BLOCK, in AcpiDmDumpGtdt() 1240 BankCount = (ACPI_CAST_PTR (ACPI_HEST_IA_MACHINE_CHECK, in AcpiDmDumpHest() 1248 BankCount = (ACPI_CAST_PTR (ACPI_HEST_IA_CORRECTED, in AcpiDmDumpHest() 1292 BankCount = (ACPI_CAST_PTR (ACPI_HEST_IA_DEFERRED_CHECK, in AcpiDmDumpHest() 1454 HmatLocality = ACPI_CAST_PTR (ACPI_HMAT_LOCALITY, HmatStruct); in AcpiDmDumpHmat() [all …]
|
H A D | dmtable.c | 648 AcpiUtDumpBuffer (ACPI_CAST_PTR (UINT8, Table), in AcpiDmDumpDataTable() 741 AcpiUtDumpBuffer (ACPI_CAST_PTR (UINT8, Table), in AcpiDmDumpDataTable() 1036 ByteLength = strlen (ACPI_CAST_PTR (char, Target)) + 1; in AcpiDmDumpTable() 1242 AcpiOsPrintf ("\"%s\"\n", ACPI_CAST_PTR (char, Target)); in AcpiDmDumpTable() 1252 TableData = AcpiAhGetTableInfo (ACPI_CAST_PTR (char, Target)); in AcpiDmDumpTable() 1289 ACPI_CAST_PTR (ACPI_TABLE_HEADER, Table)->Length, in AcpiDmDumpTable() 1290 ACPI_CAST_PTR (ACPI_TABLE_HEADER, Table)->Checksum); in AcpiDmDumpTable() 1292 if (Temp8 != ACPI_CAST_PTR (ACPI_TABLE_HEADER, Table)->Checksum) in AcpiDmDumpTable()
|
H A D | dmtbdump2.c | 200 Iort = ACPI_CAST_PTR (ACPI_TABLE_IORT, Table); in AcpiDmDumpIort() 933 SubtableCount = (ACPI_CAST_PTR (ACPI_TABLE_MPST, Table))->PowerNodeCount; in AcpiDmDumpMpst() 974 Subtable0B = ACPI_CAST_PTR (ACPI_MPST_COMPONENT, Subtable0A); in AcpiDmDumpMpst() 1007 Subtable1 = ACPI_CAST_PTR (ACPI_MPST_DATA_HDR, Subtable0); in AcpiDmDumpMpst() 1214 Interleave = ACPI_CAST_PTR (ACPI_NFIT_INTERLEAVE, Subtable); in AcpiDmDumpNfit() 1220 SmbiosInfo = ACPI_CAST_PTR (ACPI_NFIT_SMBIOS, Subtable); in AcpiDmDumpNfit() 1239 Hint = ACPI_CAST_PTR (ACPI_NFIT_FLUSH_ADDRESS, Subtable); in AcpiDmDumpNfit() 1794 PpttProcessor = ACPI_CAST_PTR (ACPI_PPTT_PROCESSOR, Subtable); in AcpiDmDumpPptt() 1846 ACPI_TABLE_S3PT *S3ptTable = ACPI_CAST_PTR (ACPI_TABLE_S3PT, Tables); in AcpiDmDumpS3pt() 1999 Namesp = ACPI_CAST_PTR (ACPI_SDEV_NAMESPACE, Subtable); in AcpiDmDumpSdev() [all …]
|
/illumos-gate/usr/src/common/acpica/dispatcher/ |
H A D | dspkginit.c | 326 ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Arg->Common.Node); in AcpiDsBuildInternalPackageObj() 396 ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Arg->Common.Node)); in AcpiDsBuildInternalPackageObj() 433 Op->Common.Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, ObjDesc); in AcpiDsBuildInternalPackageObj() 610 ResolvedNode = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, in AcpiDsResolvePackageElement()
|
/illumos-gate/usr/src/common/acpica/executer/ |
H A D | exconfig.c | 357 ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, ParameterNode), WalkState); in AcpiExLoadTableOp() 495 ACPI_CAST_PTR (UINT8, TableHeader)); in AcpiExLoadOp() 538 ACPI_CAST_PTR (UINT8, Table)); in AcpiExLoadOp() 560 TableHeader = ACPI_CAST_PTR ( in AcpiExLoadOp()
|
/illumos-gate/usr/src/cmd/acpi/acpidump/ |
H A D | apdump.c | 232 Rsdp = ACPI_CAST_PTR (ACPI_TABLE_RSDP, Table); in ApIsValidChecksum() 278 Rsdp = ACPI_CAST_PTR (ACPI_TABLE_RSDP, Table); in ApGetTableLength() 338 ACPI_CAST_PTR (UINT8, Table), TableLength, in ApDumpTableBuffer()
|
/illumos-gate/usr/src/common/acpica/disassembler/ |
H A D | dmresrcl.c | 262 AcpiDmDumpInteger16 (ACPI_CAST_PTR (UINT16, Source)[i], in AcpiDmMemoryFields() 268 AcpiDmDumpInteger32 (ACPI_CAST_PTR (UINT32, Source)[i], in AcpiDmMemoryFields() 313 AcpiDmDumpInteger16 (ACPI_CAST_PTR (UINT16, Source)[i], in AcpiDmAddressFields() 319 AcpiDmDumpInteger32 (ACPI_CAST_PTR (UINT32, Source)[i], in AcpiDmAddressFields() 325 AcpiDmDumpInteger64 (ACPI_CAST_PTR (UINT64, Source)[i], in AcpiDmAddressFields()
|