/titanic_44/usr/src/uts/intel/io/acpica/executer/ |
H A D | exstorob.c | 87 Buffer = ACPI_CAST_PTR (UINT8, SourceDesc->Buffer.Pointer); in AcpiExStoreBufferToBuffer() 97 TargetDesc->Buffer.Pointer = ACPI_ALLOCATE (Length); in AcpiExStoreBufferToBuffer() 98 if (!TargetDesc->Buffer.Pointer) in AcpiExStoreBufferToBuffer() 112 memset (TargetDesc->Buffer.Pointer, 0, TargetDesc->Buffer.Length); in AcpiExStoreBufferToBuffer() 113 memcpy (TargetDesc->Buffer.Pointer, Buffer, Length); in AcpiExStoreBufferToBuffer() 142 memcpy (TargetDesc->Buffer.Pointer, Buffer, in AcpiExStoreBufferToBuffer() 192 Buffer = ACPI_CAST_PTR (UINT8, SourceDesc->String.Pointer); in AcpiExStoreStringToString() 206 memset (TargetDesc->String.Pointer, 0, in AcpiExStoreStringToString() 208 memcpy (TargetDesc->String.Pointer, Buffer, Length); in AcpiExStoreStringToString() 216 if (TargetDesc->String.Pointer && in AcpiExStoreStringToString() [all …]
|
H A D | exconcat.c | 244 Buffer = (char *) ReturnDesc->Buffer.Pointer; in AcpiExDoConcatenate() 270 Buffer = ReturnDesc->String.Pointer; in AcpiExDoConcatenate() 274 strcpy (Buffer, LocalOperand0->String.Pointer); in AcpiExDoConcatenate() 275 strcat (Buffer, LocalOperand1->String.Pointer); in AcpiExDoConcatenate() 291 Buffer = (char *) ReturnDesc->Buffer.Pointer; in AcpiExDoConcatenate() 295 memcpy (Buffer, Operand0->Buffer.Pointer, in AcpiExDoConcatenate() 298 LocalOperand1->Buffer.Pointer, in AcpiExDoConcatenate() 362 strcpy (ReturnDesc->String.Pointer, "["); in AcpiExConvertToObjectTypeString() 363 strcat (ReturnDesc->String.Pointer, TypeString); in AcpiExConvertToObjectTypeString() 364 strcat (ReturnDesc->String.Pointer, " Object]"); in AcpiExConvertToObjectTypeString() [all …]
|
H A D | exconvrt.c | 85 UINT8 *Pointer; in AcpiExConvertToInteger() local 109 Pointer = ObjDesc->Buffer.Pointer; in AcpiExConvertToInteger() 140 Status = AcpiUtStrtoul64 ((char *) Pointer, Flags, in AcpiExConvertToInteger() 175 Result |= (((UINT64) Pointer[i]) << (i * 8)); in AcpiExConvertToInteger() 254 NewBuf = ReturnDesc->Buffer.Pointer; in AcpiExConvertToBuffer() 277 NewBuf = ReturnDesc->Buffer.Pointer; in AcpiExConvertToBuffer() 278 strncpy ((char *) NewBuf, (char *) ObjDesc->String.Pointer, in AcpiExConvertToBuffer() 490 NewBuf = ReturnDesc->Buffer.Pointer; in AcpiExConvertToString() 522 if (ObjDesc->Buffer.Pointer[i] >= 100) in AcpiExConvertToString() 526 else if (ObjDesc->Buffer.Pointer[i] >= 10) in AcpiExConvertToString() [all …]
|
H A D | exconfig.c | 187 Operand[0]->String.Pointer, in AcpiExLoadTableOp() 188 Operand[1]->String.Pointer, in AcpiExLoadTableOp() 189 Operand[2]->String.Pointer, &TableIndex); in AcpiExLoadTableOp() 222 Status = AcpiNsGetNode (StartNode, Operand[3]->String.Pointer, in AcpiExLoadTableOp() 234 if ((Operand[4]->String.Pointer[0] != AML_ROOT_PREFIX) && in AcpiExLoadTableOp() 235 (Operand[4]->String.Pointer[0] != AML_PARENT_PREFIX)) in AcpiExLoadTableOp() 246 Status = AcpiNsGetNode (StartNode, Operand[4]->String.Pointer, in AcpiExLoadTableOp() 488 ACPI_TABLE_HEADER, ObjDesc->Buffer.Pointer); in AcpiExLoadOp()
|
H A D | exdump.c | 106 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (String.Pointer), "Pointer"}, 114 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Buffer.Pointer), "Pointer"}, 289 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Data.Pointer), "Raw Data"} 449 AcpiUtPrintString (ObjDesc->String.Pointer, ACPI_UINT8_MAX); in AcpiExDumpObject() 456 ObjDesc->Buffer.Pointer, ObjDesc->Buffer.Length); in AcpiExDumpObject() 733 ObjDesc->Buffer.Length, ObjDesc->Buffer.Pointer); in AcpiExDumpOperand() 737 if (ObjDesc->Buffer.Pointer) in AcpiExDumpOperand() 747 ACPI_DUMP_BUFFER (ObjDesc->Buffer.Pointer, Length); in AcpiExDumpOperand() 804 ObjDesc->String.Pointer); in AcpiExDumpOperand() 806 AcpiUtPrintString (ObjDesc->String.Pointer, ACPI_UINT8_MAX); in AcpiExDumpOperand() [all …]
|
H A D | exfield.c | 235 ACPI_CAST_PTR (UINT64, BufferDesc->Buffer.Pointer), Function); in AcpiExReadDataFromField() 263 Buffer = BufferDesc->Buffer.Pointer; in AcpiExReadDataFromField() 474 Buffer = BufferDesc->Buffer.Pointer; in AcpiExWriteDataToField() 475 memcpy (Buffer, SourceDesc->Buffer.Pointer, Length); in AcpiExWriteDataToField() 540 Buffer = SourceDesc->Buffer.Pointer; in AcpiExWriteDataToField() 546 Buffer = SourceDesc->String.Pointer; in AcpiExWriteDataToField()
|
H A D | exoparg2.c | 357 (Operand[0]->Buffer.Pointer[Length])) in AcpiExOpcode_2A_1T_1R() 375 memcpy (ReturnDesc->String.Pointer, in AcpiExOpcode_2A_1T_1R() 376 Operand[0]->Buffer.Pointer, Length); in AcpiExOpcode_2A_1T_1R() 420 &(Operand[0]->Buffer.Pointer [Index]); in AcpiExOpcode_2A_1T_1R() 433 &(Operand[0]->Buffer.Pointer [Index]); in AcpiExOpcode_2A_1T_1R()
|
/titanic_44/usr/src/uts/intel/io/pciex/ |
H A D | pcie_acpi.c | 149 arglist.Pointer = args; in pcie_acpi_eval_osc() 154 args[0].Buffer.Pointer = pcie_uuid; in pcie_acpi_eval_osc() 167 args[3].Buffer.Pointer = (void *)caps_buffer; in pcie_acpi_eval_osc() 185 rb.Pointer = NULL; in pcie_acpi_eval_osc() 196 rbuf = (UINT32 *)((ACPI_OBJECT *)rb.Pointer)->Buffer.Pointer; in pcie_acpi_eval_osc() 201 AcpiOsFree(rb.Pointer); in pcie_acpi_eval_osc() 211 AcpiOsFree(rb.Pointer); in pcie_acpi_eval_osc() 238 retbuf.Pointer = NULL; in pcie_dump_acpi_obj() 243 PCIE_DBG("PCIE BUS PATHNAME: %s\n", (char *)retbuf.Pointer); in pcie_dump_acpi_obj() 244 AcpiOsFree(retbuf.Pointer); in pcie_dump_acpi_obj() [all …]
|
/titanic_44/usr/src/uts/intel/io/acpica/utilities/ |
H A D | utcopy.c | 163 ExternalObject->String.Pointer = (char *) DataSpace; in AcpiUtCopyIsimpleToEsimple() 169 (void *) InternalObject->String.Pointer, in AcpiUtCopyIsimpleToEsimple() 175 ExternalObject->Buffer.Pointer = DataSpace; in AcpiUtCopyIsimpleToEsimple() 181 (void *) InternalObject->Buffer.Pointer, in AcpiUtCopyIsimpleToEsimple() 431 RetBuffer->Pointer, &RetBuffer->Length); in AcpiUtCopyIobjectToEobject() 439 ACPI_CAST_PTR (ACPI_OBJECT, RetBuffer->Pointer), in AcpiUtCopyIobjectToEobject() 440 ACPI_ADD_PTR (UINT8, RetBuffer->Pointer, in AcpiUtCopyIobjectToEobject() 522 InternalObject->String.Pointer = in AcpiUtCopyEsimpleToIsimple() 526 if (!InternalObject->String.Pointer) in AcpiUtCopyEsimpleToIsimple() 531 memcpy (InternalObject->String.Pointer, in AcpiUtCopyEsimpleToIsimple() [all …]
|
H A D | utalloc.c | 268 if (!Buffer->Pointer) in AcpiUtValidateBuffer() 333 Buffer->Pointer = AcpiOsAllocate (RequiredLength); in AcpiUtInitializeBuffer() 340 Buffer->Pointer = ACPI_ALLOCATE (RequiredLength); in AcpiUtInitializeBuffer() 356 if (!Buffer->Pointer) in AcpiUtInitializeBuffer() 363 memset (Buffer->Pointer, 0, RequiredLength); in AcpiUtInitializeBuffer()
|
/titanic_44/usr/src/uts/intel/io/acpica/resources/ |
H A D | rscreate.c | 172 AmlStart = AmlBuffer->Buffer.Pointer; in ACPI_EXPORT_SYMBOL() 198 Resource = OutputBuffer->Pointer; in ACPI_EXPORT_SYMBOL() 207 OutputBuffer->Pointer, (UINT32) OutputBuffer->Length)); in ACPI_EXPORT_SYMBOL() 283 Buffer = OutputBuffer->Pointer; in AcpiRsCreatePciRoutingTable() 371 (UINT8 *) OutputBuffer->Pointer); in AcpiRsCreatePciRoutingTable() 372 PathBuffer.Pointer = UserPrt->Source; in AcpiRsCreatePciRoutingTable() 384 strcpy (UserPrt->Source, ObjDesc->String.Pointer); in AcpiRsCreatePciRoutingTable() 435 OutputBuffer->Pointer, (UINT32) OutputBuffer->Length)); in AcpiRsCreatePciRoutingTable() 472 ResourceList->Pointer)); in AcpiRsCreateAmlResources() 477 ResourceList->Pointer, ResourceList->Length, &AmlSizeNeeded); in AcpiRsCreateAmlResources() [all …]
|
H A D | rsdump.c | 296 AcpiRsOutString (Name, ACPI_CAST_PTR (char, Table->Pointer)); in AcpiRsDumpDescriptor() 308 if (Table->Pointer) in AcpiRsDumpDescriptor() 310 AcpiRsOutString (Name, Table->Pointer [*Target]); in AcpiRsDumpDescriptor() 337 AcpiRsOutString (Name, Table->Pointer [*Target & 0x01]); in AcpiRsDumpDescriptor() 342 AcpiRsOutString (Name, Table->Pointer [*Target & 0x03]); in AcpiRsDumpDescriptor() 347 AcpiRsOutString (Name, Table->Pointer [*Target & 0x07]); in AcpiRsDumpDescriptor()
|
H A D | rsxface.c | 332 (!InBuffer->Pointer) || in ACPI_EXPORT_SYMBOL() 579 memcpy (Buffer->Pointer, Resource, Resource->Length); in ACPI_EXPORT_SYMBOL() 621 if (!Buffer || !Buffer->Pointer || !UserFunction) in AcpiWalkResourceBuffer() 628 Resource = ACPI_CAST_PTR (ACPI_RESOURCE, Buffer->Pointer); in AcpiWalkResourceBuffer() 630 ACPI_RESOURCE, Buffer->Pointer, Buffer->Length); in AcpiWalkResourceBuffer() 739 ACPI_FREE (Buffer.Pointer); in ACPI_EXPORT_SYMBOL()
|
/titanic_44/usr/src/uts/intel/io/acpica/namespace/ |
H A D | nsconvert.c | 86 Status = AcpiUtStrtoul64 (OriginalObject->String.Pointer, in AcpiNsConvertToInteger() 108 OriginalObject->Buffer.Pointer[i] << (i * 8)); in AcpiNsConvertToInteger() 189 (OriginalObject->Buffer.Pointer[Length])) in AcpiNsConvertToString() 206 memcpy (NewObject->String.Pointer, in AcpiNsConvertToString() 207 OriginalObject->Buffer.Pointer, Length); in AcpiNsConvertToString() 274 memcpy (NewObject->Buffer.Pointer, in AcpiNsConvertToBuffer() 275 OriginalObject->String.Pointer, OriginalObject->String.Length); in AcpiNsConvertToBuffer() 311 DwordBuffer = ACPI_CAST_PTR (UINT32, NewObject->Buffer.Pointer); in AcpiNsConvertToBuffer() 380 AsciiString = OriginalObject->String.Pointer; in AcpiNsConvertToUnicode() 391 UnicodeBuffer = ACPI_CAST_PTR (UINT16, NewObject->Buffer.Pointer); in AcpiNsConvertToUnicode() [all …]
|
H A D | nsxfeval.c | 137 if (((ACPI_OBJECT *) ReturnBuffer->Pointer)->Type == ReturnType) in AcpiEvaluateObjectTyped() 146 AcpiUtGetTypeName (((ACPI_OBJECT *) ReturnBuffer->Pointer)->Type), in AcpiEvaluateObjectTyped() 158 AcpiOsFree (ReturnBuffer->Pointer); in AcpiEvaluateObjectTyped() 159 ReturnBuffer->Pointer = NULL; in AcpiEvaluateObjectTyped() 297 &ExternalParams->Pointer[i], &Info->Parameters[i]); in ACPI_EXPORT_SYMBOL() 366 &ExternalParams->Pointer[i], &Info->Parameters[i]); in ACPI_EXPORT_SYMBOL()
|
/titanic_44/usr/src/uts/intel/io/acpica/tables/ |
H A D | tbfind.c | 120 if (!AcpiGbl_RootTableList.Tables[i].Pointer) in AcpiTbFindTable() 130 if (!AcpiGbl_RootTableList.Tables[i].Pointer) in AcpiTbFindTable() 138 if (!memcmp (AcpiGbl_RootTableList.Tables[i].Pointer->Signature, in AcpiTbFindTable() 141 !memcmp (AcpiGbl_RootTableList.Tables[i].Pointer->OemId, in AcpiTbFindTable() 144 !memcmp (AcpiGbl_RootTableList.Tables[i].Pointer->OemTableId, in AcpiTbFindTable()
|
H A D | tbinstal.c | 97 memcmp (TableDesc->Pointer, Table, TableLength)) ? in AcpiTbCompareTables() 153 NewTableDesc->Address, NewTableDesc->Flags, NewTableDesc->Pointer); in AcpiTbInstallTableWithOverride() 155 AcpiTbPrintTableHeader (NewTableDesc->Address, NewTableDesc->Pointer); in AcpiTbInstallTableWithOverride() 165 AcpiUtSetIntegerWidth (NewTableDesc->Pointer->Revision); in AcpiTbInstallTableWithOverride() 433 Status = AcpiOsTableOverride (OldTableDesc->Pointer, &Table); in AcpiTbOverrideTable() 444 Status = AcpiOsPhysicalTableOverride (OldTableDesc->Pointer, in AcpiTbOverrideTable() 482 NewTableDesc.Flags, NewTableDesc.Pointer); in AcpiTbOverrideTable()
|
H A D | tbdata.c | 303 if (!TableDesc->Pointer) in AcpiTbValidateTable() 305 Status = AcpiTbAcquireTable (TableDesc, &TableDesc->Pointer, in AcpiTbValidateTable() 307 if (!TableDesc->Pointer) in AcpiTbValidateTable() 340 if (!TableDesc->Pointer) in AcpiTbInvalidateTable() 345 AcpiTbReleaseTable (TableDesc->Pointer, TableDesc->Length, in AcpiTbInvalidateTable() 347 TableDesc->Pointer = NULL; in AcpiTbInvalidateTable() 371 if (!TableDesc->Pointer && !AcpiGbl_VerifyTableChecksum) in AcpiTbValidateTempTable() 438 Status = AcpiTbVerifyChecksum (TableDesc->Pointer, TableDesc->Length); in AcpiTbVerifyTempTable()
|
H A D | tbxface.c | 260 if (!AcpiGbl_RootTableList.Tables[i].Pointer) in ACPI_EXPORT_SYMBOL_INIT() 285 AcpiGbl_RootTableList.Tables[i].Pointer, in ACPI_EXPORT_SYMBOL_INIT() 349 *OutTable = AcpiGbl_RootTableList.Tables[i].Pointer; in ACPI_EXPORT_SYMBOL() 403 if (!AcpiGbl_RootTableList.Tables[TableIndex].Pointer) in ACPI_EXPORT_SYMBOL() 416 *Table = AcpiGbl_RootTableList.Tables[TableIndex].Pointer; in ACPI_EXPORT_SYMBOL()
|
H A D | tbxfload.c | 186 AcpiGbl_DSDT = Table->Pointer; in ACPI_EXPORT_SYMBOL_INIT() 248 Table->Signature.Ascii, Table->Pointer->OemTableId)); in ACPI_EXPORT_SYMBOL_INIT() 254 Table->Signature.Ascii, Table->Pointer->OemTableId)); in ACPI_EXPORT_SYMBOL_INIT() 513 AcpiGbl_RootTableList.Tables[i].Pointer, in ACPI_EXPORT_SYMBOL()
|
/titanic_44/usr/src/uts/i86pc/os/cpupm/ |
H A D | cpu_acpi.c | 93 abuf.Pointer = NULL; in cpu_acpi_cache_ctrl_regs() 110 obj = abuf.Pointer; in cpu_acpi_cache_ctrl_regs() 131 obj->Package.Elements[i].Buffer.Pointer; in cpu_acpi_cache_ctrl_regs() 164 obj->Package.Elements[i].Buffer.Pointer; in cpu_acpi_cache_ctrl_regs() 173 if (abuf.Pointer != NULL) in cpu_acpi_cache_ctrl_regs() 174 AcpiOsFree(abuf.Pointer); in cpu_acpi_cache_ctrl_regs() 238 abuf.Pointer = NULL; in cpu_acpi_cache_state_dependencies() 253 pkg = abuf.Pointer; in cpu_acpi_cache_state_dependencies() 295 if (abuf.Pointer != NULL) in cpu_acpi_cache_state_dependencies() 296 AcpiOsFree(abuf.Pointer); in cpu_acpi_cache_state_dependencies() [all …]
|
/titanic_44/usr/src/uts/i86pc/io/tzmon/ |
H A D | tzmon.c | 379 if (tzp->al[level].Pointer != NULL) in tzmon_discard_buffers() 380 AcpiOsFree(tzp->al[level].Pointer); in tzmon_discard_buffers() 383 if (tzp->psl.Pointer != NULL) in tzmon_discard_buffers() 384 AcpiOsFree(tzp->psl.Pointer); in tzmon_discard_buffers() 434 zone_name.Pointer = NULL; in tzmon_enumerate_zone() 439 tzp->zone_name = zone_name.Pointer; in tzmon_enumerate_zone() 469 tzp->al[level].Pointer = NULL; in tzmon_enumerate_zone() 473 tzp->al[level].Pointer = NULL; in tzmon_enumerate_zone() 481 tzp->al[level].Pointer = NULL; in tzmon_enumerate_zone() 487 tzp->psl.Pointer = NULL; in tzmon_enumerate_zone() [all …]
|
/titanic_44/usr/src/uts/intel/io/acpica/ |
H A D | acpica.c | 603 prw_buf.Pointer = NULL; in acpica_init_PRW() 622 if (prw_buf.Pointer != NULL) in acpica_init_PRW() 623 AcpiOsFree(prw_buf.Pointer); in acpica_init_PRW() 648 prw_buf.Pointer = NULL; in acpica_ddi_setwake() 680 arglist.Pointer = args; in acpica_ddi_setwake() 739 if (prw_buf.Pointer != NULL) in acpica_ddi_setwake() 740 AcpiOsFree(prw_buf.Pointer); in acpica_ddi_setwake() 753 if (prw_buf->Length == 0 || prw_buf->Pointer == NULL) in acpica_parse_PRW() 756 prw = prw_buf->Pointer; in acpica_parse_PRW() 855 "acpi-crs", resbuf.Pointer, resbuf.Length); in acpica_ddi_save_resources() [all …]
|
/titanic_44/usr/src/uts/i86pc/io/psm/ |
H A D | psm_common.c | 119 rb.Pointer = NULL; in acpi_get_gsiv() 127 for (prtp = rb.Pointer; prtp->Length != 0; prtp = NEXT_PRT_ITEM(prtp)) { in acpi_get_gsiv() 147 AcpiOsFree(rb.Pointer); in acpi_get_gsiv() 470 rsb.Pointer = NULL; in acpi_set_irq_resource() 482 for (resp = rsb.Pointer; resp->Type != ACPI_RESOURCE_TYPE_END_TAG; in acpi_set_irq_resource() 504 AcpiOsFree(rsb.Pointer); in acpi_set_irq_resource() 524 rsb.Pointer = srsp; in acpi_set_irq_resource() 606 rb.Pointer = NULL; in acpi_get_current_irq_resource() 615 for (rp = rb.Pointer; rp->Type != ACPI_RESOURCE_TYPE_END_TAG; in acpi_get_current_irq_resource() 662 AcpiOsFree(rb.Pointer); in acpi_get_current_irq_resource() [all …]
|
/titanic_44/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_util.c | 245 buf.Pointer = NULL; in acpidev_walk_apic() 250 ap = (ACPI_SUBTABLE_HEADER *)(bufp->Pointer); in acpidev_walk_apic() 263 obj = buf.Pointer; in acpidev_walk_apic() 264 ap = (ACPI_SUBTABLE_HEADER *)obj->Buffer.Pointer; in acpidev_walk_apic() 298 if (buf.Pointer != NULL) { in acpidev_walk_apic() 299 AcpiOsFree(buf.Pointer); in acpidev_walk_apic() 312 buf.Pointer = NULL; in acpidev_get_object_name() 314 ASSERT(buf.Pointer != NULL); in acpidev_get_object_name() 315 objname = (char *)buf.Pointer; in acpidev_get_object_name() 858 args[2].Buffer.Pointer = (UINT8 *)bufp; in acpidev_eval_ost() [all …]
|