Home
last modified time | relevance | path

Searched refs:ACPI_CAST_PTR (Results 1 – 25 of 66) sorted by relevance

123

/titanic_41/usr/src/uts/intel/io/acpica/namespace/
H A Dnssearch.c120 ScopeName, ParentNode, ACPI_CAST_PTR (char, &TargetName), in AcpiNsSearchOneScope()
143 Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, Node->Object); in AcpiNsSearchOneScope()
150 ACPI_CAST_PTR (char, &TargetName), in AcpiNsSearchOneScope()
168 ACPI_CAST_PTR (char, &TargetName), AcpiUtGetTypeName (Type), in AcpiNsSearchOneScope()
223 ACPI_CAST_PTR (char, &TargetName))); in AcpiNsSearchParentTree()
231 ACPI_CAST_PTR (char, &TargetName), AcpiUtGetTypeName (Type))); in AcpiNsSearchParentTree()
239 AcpiUtGetNodeName (ParentNode), ACPI_CAST_PTR (char, &TargetName))); in AcpiNsSearchParentTree()
329 AcpiUtRepairName (ACPI_CAST_PTR (char, &TargetName)); in AcpiNsSearchAndEnter()
354 ACPI_CAST_PTR(char, &TargetName), InterpreterMode, in AcpiNsSearchAndEnter()
419 ACPI_CAST_PTR (char, &TargetName), Node)); in AcpiNsSearchAndEnter()
H A Dnsconvert.c311 DwordBuffer = ACPI_CAST_PTR (UINT32, NewObject->Buffer.Pointer); in AcpiNsConvertToBuffer()
391 UnicodeBuffer = ACPI_CAST_PTR (UINT16, NewObject->Buffer.Pointer); in AcpiNsConvertToUnicode()
479 Buffer = ACPI_CAST_PTR (UINT8, NewObject->Buffer.Pointer); in AcpiNsConvertToResource()
532 ScopeInfo.Scope.Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, Scope); in AcpiNsConvertToReference()
H A Dnsinit.c478 ACPI_DEVICE_WALK_INFO *Info = ACPI_CAST_PTR (ACPI_DEVICE_WALK_INFO, Context); in AcpiNsFindIniMethods()
485 Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, ObjHandle); in AcpiNsFindIniMethods()
551 ACPI_DEVICE_WALK_INFO *WalkInfo = ACPI_CAST_PTR (ACPI_DEVICE_WALK_INFO, Context); in AcpiNsInitOneDevice()
563 DeviceNode = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, ObjHandle); in AcpiNsInitOneDevice()
H A Dnsxfobj.c170 *RetHandle = ACPI_CAST_PTR (ACPI_HANDLE, ParentNode); in ACPI_EXPORT_SYMBOL()
270 *RetHandle = ACPI_CAST_PTR (ACPI_HANDLE, Node); in ACPI_EXPORT_SYMBOL()
H A Dnseval.c127 Info->Node = ACPI_CAST_PTR ( in AcpiNsEvaluate()
279 Info->ReturnObject = ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Info->Node); in AcpiNsEvaluate()
443 ParentNode = ACPI_CAST_PTR ( in AcpiNsExecModuleCode()
H A Dnsxfname.c131 *RetHandle = ACPI_CAST_PTR (ACPI_HANDLE, AcpiGbl_RootNode); in AcpiGetHandle()
147 *RetHandle = ACPI_CAST_PTR (ACPI_HANDLE, Node); in AcpiGetHandle()
488 NextIdString = ACPI_CAST_PTR (char, Info->CompatibleIdList.Ids); in AcpiGetObjectInfo()
598 ACPI_TABLE_HEADER *Table = ACPI_CAST_PTR (ACPI_TABLE_HEADER, Buffer); in ACPI_EXPORT_SYMBOL()
/titanic_41/usr/src/uts/intel/io/acpica/resources/
H A Drsutils.c189 &ACPI_CAST_PTR (UINT16, Destination)[i], in AcpiRsMoveData()
190 &ACPI_CAST_PTR (UINT16, Source)[i]); in AcpiRsMoveData()
196 &ACPI_CAST_PTR (UINT32, Destination)[i], in AcpiRsMoveData()
197 &ACPI_CAST_PTR (UINT32, Source)[i]); in AcpiRsMoveData()
203 &ACPI_CAST_PTR (UINT64, Destination)[i], in AcpiRsMoveData()
204 &ACPI_CAST_PTR (UINT64, Source)[i]); in AcpiRsMoveData()
415 ACPI_CAST_PTR (char, &AmlResourceSource[1])) + 1; in AcpiRsGetResourceSource()
425 ACPI_CAST_PTR (char, &AmlResourceSource[1])); in AcpiRsGetResourceSource()
485 strcpy (ACPI_CAST_PTR (char, &AmlResourceSource[1]), in AcpiRsSetResourceSource()
758 ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, Handle), in AcpiRsGetMethodData()
H A Drsdump.c231 PrtElement = ACPI_CAST_PTR (ACPI_PCI_ROUTING_TABLE, RouteTable); in AcpiRsDumpIrqList()
296 AcpiRsOutString (Name, ACPI_CAST_PTR (char, Table->Pointer)); in AcpiRsDumpDescriptor()
301 AcpiRsOutString (Name, ACPI_CAST_PTR (char, Target)); in AcpiRsDumpDescriptor()
394 ACPI_CAST_PTR (UINT32, Target)); in AcpiRsDumpDescriptor()
414 AcpiRsDumpAddressCommon (ACPI_CAST_PTR ( in AcpiRsDumpDescriptor()
422 AcpiRsDumpResourceSource (ACPI_CAST_PTR ( in AcpiRsDumpDescriptor()
H A Drslist.c99 AmlResource = ACPI_CAST_PTR (AML_RESOURCE, Aml); in AcpiRsConvertAmlToResources()
241 ACPI_CAST_PTR (AML_RESOURCE, Aml), ConversionTable); in AcpiRsConvertResourcesToAml()
253 NULL, ACPI_CAST_PTR (AML_RESOURCE, Aml), NULL); in AcpiRsConvertResourcesToAml()
H A Drsxface.c436 Address16 = ACPI_CAST_PTR ( in ACPI_EXPORT_SYMBOL()
443 Address32 = ACPI_CAST_PTR ( in ACPI_EXPORT_SYMBOL()
628 Resource = ACPI_CAST_PTR (ACPI_RESOURCE, Buffer->Pointer); in AcpiWalkResourceBuffer()
/titanic_41/usr/src/uts/intel/sys/acpi/
H A Dactypes.h538 #define ACPI_CAST_PTR(t, p) ((t *) (ACPI_UINTPTR_T) (p)) macro
540 #define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (UINT8, (a)) + (ACPI_SIZE)…
541 #define ACPI_SUB_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (UINT8, (a)) - (ACPI_SIZE)…
542 #define ACPI_PTR_DIFF(a, b) (ACPI_SIZE) (ACPI_CAST_PTR (UINT8, (a)) - ACPI_CAST_PTR (UI…
555 #define ACPI_COMPARE_NAME(a,b) (*ACPI_CAST_PTR (UINT32, (a)) == *ACPI_CAST_PTR (UINT32, (b…
556 #define ACPI_MOVE_NAME(dest,src) (*ACPI_CAST_PTR (UINT32, (dest)) = *ACPI_CAST_PTR (UINT32, …
558 #define ACPI_COMPARE_NAME(a,b) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_CAST_PTR (char, …
559 #define ACPI_MOVE_NAME(dest,src) (strncpy (ACPI_CAST_PTR (char, (dest)), ACPI_CAST_PTR (char…
564 #define ACPI_VALIDATE_RSDP_SIG(a) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_SIG_RSDP, 8))
565 #define ACPI_MAKE_RSDP_SIG(dest) (memcpy (ACPI_CAST_PTR (char, (dest)), ACPI_SIG_RSDP, 8))
/titanic_41/usr/src/uts/intel/io/acpica/tables/
H A Dtbprint.c160 memcpy (LocalHeader.OemId, ACPI_CAST_PTR (ACPI_TABLE_RSDP, in AcpiTbPrintTableHeader()
166 (ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Revision > 0) ? in AcpiTbPrintTableHeader()
167 ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Length : 20, in AcpiTbPrintTableHeader()
168 ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Revision, in AcpiTbPrintTableHeader()
223 Checksum = AcpiTbChecksum (ACPI_CAST_PTR (UINT8, Table), Length); in AcpiTbVerifyChecksum()
/titanic_41/usr/src/cmd/acpi/acpidump/
H A Dtbprint.c160 memcpy (LocalHeader.OemId, ACPI_CAST_PTR (ACPI_TABLE_RSDP, in AcpiTbPrintTableHeader()
166 (ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Revision > 0) ? in AcpiTbPrintTableHeader()
167 ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Length : 20, in AcpiTbPrintTableHeader()
168 ACPI_CAST_PTR (ACPI_TABLE_RSDP, Header)->Revision, in AcpiTbPrintTableHeader()
223 Checksum = AcpiTbChecksum (ACPI_CAST_PTR (UINT8, Table), Length); in AcpiTbVerifyChecksum()
H A Dapdump.c124 Rsdp = ACPI_CAST_PTR (ACPI_TABLE_RSDP, Table); in ApIsValidChecksum()
170 Rsdp = ACPI_CAST_PTR (ACPI_TABLE_RSDP, Table); in ApGetTableLength()
230 ACPI_CAST_PTR (UINT8, Table), TableLength, in ApDumpTableBuffer()
H A Dosillumostbl.c400 tblp = ACPI_CAST_PTR(ACPI_TABLE_HEADER, in OslLoadRsdp()
427 tblp = ACPI_CAST_PTR(ACPI_TABLE_HEADER, in OslLoadRsdp()
504 ACPI_CAST_PTR(ACPI_TABLE_HEADER *, &Gbl_Xsdt), &Address); in OslTableInitialize()
519 ACPI_CAST_PTR(ACPI_TABLE_HEADER *, &Gbl_Rsdt), &Address); in OslTableInitialize()
533 ACPI_CAST_PTR(ACPI_TABLE_HEADER *, &Gbl_Fadt), &Gbl_FadtAddress); in OslTableInitialize()
/titanic_41/usr/src/uts/intel/io/acpica/dispatcher/
H A Ddsobject.c161 ObjDesc = ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Op->Common.Node); in AcpiDsBuildInternalObject()
180 Op->Common.Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, in AcpiDsBuildInternalObject()
357 Op->Common.Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, ObjDesc); in AcpiDsBuildInternalBufferObj()
479 ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Arg->Common.Node); in AcpiDsBuildInternalPackageObj()
531 ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Arg->Common.Node)); in AcpiDsBuildInternalPackageObj()
559 Op->Common.Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, ObjDesc); in AcpiDsBuildInternalPackageObj()
683 ObjDesc->Buffer.Node = ACPI_CAST_PTR ( in AcpiDsInitObjectFromOp()
693 ObjDesc->Package.Node = ACPI_CAST_PTR ( in AcpiDsInitObjectFromOp()
/titanic_41/usr/src/uts/intel/io/acpica/utilities/
H A Dutglobal.c127 {"_REV", ACPI_TYPE_INTEGER, ACPI_CAST_PTR (char, 2)},
129 {"_GL_", ACPI_TYPE_MUTEX, ACPI_CAST_PTR (char, 1)},
132 {"_OSI", ACPI_TYPE_METHOD, ACPI_CAST_PTR (char, 1)},
H A Dutcopy.c303 ACPI_CAST_PTR (ACPI_OBJECT, Info->FreeSpace); in AcpiUtCopyIelementToEelement()
366 ExternalObject = ACPI_CAST_PTR (ACPI_OBJECT, Buffer); in AcpiUtCopyIpackageToEpackage()
380 ACPI_CAST_PTR (ACPI_OBJECT, Info.FreeSpace); in AcpiUtCopyIpackageToEpackage()
439 ACPI_CAST_PTR (ACPI_OBJECT, RetBuffer->Pointer), in AcpiUtCopyIobjectToEobject()
738 memcpy (ACPI_CAST_PTR (char, DestDesc), in AcpiUtCopySimpleObject()
739 ACPI_CAST_PTR (char, SourceDesc), CopySize); in AcpiUtCopySimpleObject()
H A Duteval.c354 ACPI_CAST_PTR (char, MethodNames[i]), in AcpiUtExecutePowerMethods()
374 ACPI_CAST_PTR (char, MethodNames[i]), in AcpiUtExecutePowerMethods()
/titanic_41/usr/src/cmd/acpi/common/
H A Dutglobal.c127 {"_REV", ACPI_TYPE_INTEGER, ACPI_CAST_PTR (char, 2)},
129 {"_GL_", ACPI_TYPE_MUTEX, ACPI_CAST_PTR (char, 1)},
132 {"_OSI", ACPI_TYPE_METHOD, ACPI_CAST_PTR (char, 1)},
/titanic_41/usr/src/uts/intel/io/acpica/disassembler/
H A Ddmresrcl.c154 AcpiDmDumpInteger16 (ACPI_CAST_PTR (UINT16, Source)[i], in AcpiDmMemoryFields()
160 AcpiDmDumpInteger32 (ACPI_CAST_PTR (UINT32, Source)[i], in AcpiDmMemoryFields()
205 AcpiDmDumpInteger16 (ACPI_CAST_PTR (UINT16, Source)[i], in AcpiDmAddressFields()
211 AcpiDmDumpInteger32 (ACPI_CAST_PTR (UINT32, Source)[i], in AcpiDmAddressFields()
217 AcpiDmDumpInteger64 (ACPI_CAST_PTR (UINT64, Source)[i], in AcpiDmAddressFields()
/titanic_41/usr/src/uts/intel/io/acpica/executer/
H A Dexconfig.c269 ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, ParameterNode), WalkState); in AcpiExLoadTableOp()
422 ACPI_CAST_PTR (UINT8, TableHeader)); in AcpiExLoadOp()
465 ACPI_CAST_PTR (UINT8, Table)); in AcpiExLoadOp()
487 TableHeader = ACPI_CAST_PTR ( in AcpiExLoadOp()
H A Dexstorob.c87 Buffer = ACPI_CAST_PTR (UINT8, SourceDesc->Buffer.Pointer); in AcpiExStoreBufferToBuffer()
192 Buffer = ACPI_CAST_PTR (UINT8, SourceDesc->String.Pointer); in AcpiExStoreStringToString()
H A Dexdump.c444 AcpiExOutPointer (Name, *ACPI_CAST_PTR (void *, Target)); in AcpiExDumpObject()
480 Start = *ACPI_CAST_PTR (void *, Target); in AcpiExDumpObject()
515 Start = *ACPI_CAST_PTR (void *, Target); in AcpiExDumpObject()
552 Start = *ACPI_CAST_PTR (void *, Target); in AcpiExDumpObject()
587 Node = *ACPI_CAST_PTR (ACPI_NAMESPACE_NODE *, Target); in AcpiExDumpObject()
1020 AcpiExDumpObject (ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Node), in AcpiExDumpNamespaceNode()
1153 ACPI_CAST_PTR (UINT8, ObjDesc->Buffer.Pointer), in AcpiExDumpPackageObj()
H A Dexcreate.c94 TargetNode = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, TargetNode->Object); in AcpiExCreateAlias()
128 AliasNode->Object = ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, TargetNode); in AcpiExCreateAlias()
136 AliasNode->Object = ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, TargetNode); in AcpiExCreateAlias()

123