/acpica-latest/source/common/ |
D | dmtbdump3.c | 177 ACPI_TABLE_HEADER *Table) in AcpiDmDumpSlic() argument 180 (void) AcpiDmDumpTable (Table->Length, sizeof (ACPI_TABLE_HEADER), Table, in AcpiDmDumpSlic() 181 Table->Length - sizeof (*Table), AcpiDmTableInfoSlic); in AcpiDmDumpSlic() 199 ACPI_TABLE_HEADER *Table) in AcpiDmDumpSlit() argument 211 Status = AcpiDmDumpTable (Table->Length, 0, Table, 0, AcpiDmTableInfoSlit); in AcpiDmDumpSlit() 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() 232 if (Offset >= Table->Length) in AcpiDmDumpSlit() 278 ACPI_TABLE_HEADER *Table) in AcpiDmDumpSrat() argument 288 Status = AcpiDmDumpTable (Table->Length, 0, Table, 0, AcpiDmTableInfoSrat); in AcpiDmDumpSrat() [all …]
|
D | dmtbdump2.c | 179 ACPI_TABLE_HEADER *Table) in AcpiDmDumpIort() argument 199 Status = AcpiDmDumpTable (Table->Length, 0, Table, 0, AcpiDmTableInfoIort); in AcpiDmDumpIort() 205 Revision = Table->Revision; in AcpiDmDumpIort() 216 Iort = ACPI_CAST_PTR (ACPI_TABLE_IORT, Table); in AcpiDmDumpIort() 223 Status = AcpiDmDumpTable (Table->Length, Offset, Table, in AcpiDmDumpIort() 232 while (Offset < Table->Length) in AcpiDmDumpIort() 236 IortNode = ACPI_ADD_PTR (ACPI_IORT_NODE, Table, Offset); in AcpiDmDumpIort() 242 Status = AcpiDmDumpTable (Table->Length, Offset, in AcpiDmDumpIort() 247 Status = AcpiDmDumpTable (Table->Length, Offset, in AcpiDmDumpIort() 325 Status = AcpiDmDumpTable (Table->Length, Offset + NodeOffset, in AcpiDmDumpIort() [all …]
|
D | dmtables.c | 171 ACPI_TABLE_HEADER *Table); 175 ACPI_TABLE_HEADER *Table, 250 ACPI_TABLE_HEADER *Table) in AdCreateTableHeader() argument 266 AcpiOsPrintf (" * Signature \"%4.4s\"\n", Table->Signature); in AdCreateTableHeader() 267 AcpiOsPrintf (" * Length 0x%8.8X (%u)\n", Table->Length, Table->Length); in AdCreateTableHeader() 271 AcpiOsPrintf (" * Revision 0x%2.2X", Table->Revision); in AdCreateTableHeader() 273 switch (Table->Revision) in AdCreateTableHeader() 284 if (ACPI_COMPARE_NAMESEG (Table->Signature, ACPI_SIG_DSDT)) in AdCreateTableHeader() 297 AcpiOsPrintf ("\n * Checksum 0x%2.2X", Table->Checksum); in AdCreateTableHeader() 299 Checksum = AcpiUtChecksum (ACPI_CAST_PTR (UINT8, Table), Table->Length); in AdCreateTableHeader() [all …]
|
D | dmtbdump1.c | 188 ACPI_TABLE_HEADER *Table) in AcpiDmDumpAest() argument 202 while (Offset < Table->Length) in AcpiDmDumpAest() 204 NodeHeader = ACPI_ADD_PTR (ACPI_AEST_HEADER, Table, Offset); in AcpiDmDumpAest() 208 Status = AcpiDmDumpTable (Table->Length, Offset, NodeHeader, in AcpiDmDumpAest() 257 Subtable = ACPI_ADD_PTR (ACPI_AEST_HEADER, Table, Offset); in AcpiDmDumpAest() 262 Status = AcpiDmDumpTable (Table->Length, Offset, Subtable, Length, in AcpiDmDumpAest() 309 ProcessorSubtable = ACPI_ADD_PTR (ACPI_AEST_PROCESSOR, Table, in AcpiDmDumpAest() 314 Status = AcpiDmDumpTable (Table->Length, Offset, ProcessorSubtable, in AcpiDmDumpAest() 330 Subtable = ACPI_ADD_PTR (ACPI_AEST_HEADER, Table, Offset); in AcpiDmDumpAest() 338 Status = AcpiDmDumpTable (Table->Length, Offset, Subtable, in AcpiDmDumpAest() [all …]
|
D | dmtbdump.c | 191 void *Table, in AcpiDmDumpBuffer() argument 208 Buffer = ACPI_CAST_PTR (UINT8, Table) + BufferOffset; in AcpiDmDumpBuffer() 297 void *Table, in AcpiDmDumpUnicode() argument 306 Buffer = ((UINT8 *) Table) + BufferOffset; in AcpiDmDumpUnicode() 341 AcpiDmDumpBuffer (Table, BufferOffset, ByteLength, in AcpiDmDumpUnicode() 362 ACPI_TABLE_HEADER *Table) in AcpiDmDumpRsdp() argument 364 ACPI_TABLE_RSDP *Rsdp = ACPI_CAST_PTR (ACPI_TABLE_RSDP, Table); in AcpiDmDumpRsdp() 372 Status = AcpiDmDumpTable (Length, 0, Table, 0, AcpiDmTableInfoRsdp1); in AcpiDmDumpRsdp() 393 Status = AcpiDmDumpTable (Length, 0, Table, 0, AcpiDmTableInfoRsdp2); in AcpiDmDumpRsdp() 429 ACPI_TABLE_HEADER *Table) in AcpiDmDumpRsdt() argument [all …]
|
D | adisasm.c | 173 ACPI_TABLE_HEADER *Table, 180 ACPI_TABLE_HEADER *Table, 302 ACPI_TABLE_HEADER *Table = NULL; in AdAmlDisassemble() local 348 Status = AcpiGetTable (ACPI_SIG_DSDT, 0, &Table); in AdAmlDisassemble() 357 Prefix = AdGenerateFilename ("dsdt", Table->OemTableId); in AdAmlDisassemble() 391 Status = AdDisassembleOneTable (ListHead->Table, in AdAmlDisassemble() 403 if (Table && in AdAmlDisassemble() 405 !AcpiUtIsAmlTable (Table)) in AdAmlDisassemble() 407 ACPI_FREE (Table); in AdAmlDisassemble() 441 ACPI_TABLE_HEADER *Table, in AdDisassembleOneTable() argument [all …]
|
D | acfileio.c | 169 ACPI_TABLE_HEADER **Table); 173 ACPI_TABLE_HEADER *Table); 230 ACPI_TABLE_HEADER *Table = NULL; in AcGetAllTablesFromFile() local 286 Filename, File, GetOnlyAmlTables, &Table); in AcGetAllTablesFromFile() 307 AcpiTbPrintTableHeader (0, Table); in AcGetAllTablesFromFile() 315 AcpiOsFree (Table); in AcGetAllTablesFromFile() 320 TableDesc->Table = Table; in AcGetAllTablesFromFile() 388 ACPI_TABLE_HEADER *Table; in AcGetOneTableFromFile() local 457 Table = AcpiOsAllocate ((ACPI_SIZE) TableLength); in AcGetOneTableFromFile() 458 if (!Table) in AcGetOneTableFromFile() [all …]
|
D | dmtable.c | 762 ACPI_TABLE_HEADER *Table) in AcpiDmDumpDataTable() argument 771 if (AcpiUtIsAmlTable (Table)) in AcpiDmDumpDataTable() 777 Length = Table->Length; in AcpiDmDumpDataTable() 781 AcpiUtDumpBuffer (ACPI_CAST_PTR (UINT8, Table), in AcpiDmDumpDataTable() 792 if (ACPI_COMPARE_NAMESEG (Table->Signature, ACPI_SIG_FACS)) in AcpiDmDumpDataTable() 794 Length = Table->Length; in AcpiDmDumpDataTable() 795 Status = AcpiDmDumpTable (Length, 0, Table, 0, AcpiDmTableInfoFacs); in AcpiDmDumpDataTable() 802 Table)->Signature)) in AcpiDmDumpDataTable() 804 Length = AcpiDmDumpRsdp (Table); in AcpiDmDumpDataTable() 806 else if (ACPI_COMPARE_NAMESEG (Table->Signature, ACPI_SIG_S3PT)) in AcpiDmDumpDataTable() [all …]
|
/acpica-latest/source/tools/acpidump/ |
D | apdump.c | 159 ACPI_TABLE_HEADER *Table, 178 ACPI_TABLE_HEADER *Table) in ApIsValidHeader() argument 181 if (!ACPI_VALIDATE_RSDP_SIG (Table->Signature)) in ApIsValidHeader() 185 if (!AcpiUtValidNameseg (Table->Signature)) in ApIsValidHeader() 188 *(UINT32 *) Table->Signature); in ApIsValidHeader() 194 if (Table->Length < sizeof (ACPI_TABLE_HEADER)) in ApIsValidHeader() 197 Table->Length); in ApIsValidHeader() 220 ACPI_TABLE_HEADER *Table) in ApIsValidChecksum() argument 226 if (ACPI_VALIDATE_RSDP_SIG (Table->Signature)) in ApIsValidChecksum() 232 Rsdp = ACPI_CAST_PTR (ACPI_TABLE_RSDP, Table); in ApIsValidChecksum() [all …]
|
D | apfiles.c | 264 ACPI_TABLE_HEADER *Table, in ApWriteToBinaryFile() argument 276 TableLength = ApGetTableLength (Table); in ApWriteToBinaryFile() 280 if (ACPI_VALIDATE_RSDP_SIG (Table->Signature)) in ApWriteToBinaryFile() 286 ACPI_COPY_NAMESEG (Filename, Table->Signature); in ApWriteToBinaryFile() 309 Table->Signature, Filename, Table->Length, Table->Length); in ApWriteToBinaryFile() 321 Actual = fwrite (Table, 1, TableLength, File); in ApWriteToBinaryFile()
|
/acpica-latest/source/include/ |
D | acdisasm.h | 310 ACPI_TABLE_HEADER *Table); 713 void *Table, 723 ACPI_TABLE_HEADER *Table); 729 void *Table, 752 void *Table, 760 void *Table, 766 ACPI_TABLE_HEADER *Table); 770 ACPI_TABLE_HEADER *Table); 774 ACPI_TABLE_HEADER *Table); 778 ACPI_TABLE_HEADER *Table); [all …]
|
D | actables.h | 190 ACPI_TABLE_HEADER *Table); 197 ACPI_TABLE_HEADER *Table); 232 ACPI_TABLE_HEADER *Table, 275 ACPI_TABLE_HEADER *Table, 283 ACPI_TABLE_HEADER *Table, 301 ACPI_TABLE_HEADER *Table, 312 void *Table);
|
/acpica-latest/source/components/tables/ |
D | tbxfload.c | 261 ACPI_TABLE_DESC *Table; in ACPI_EXPORT_SYMBOL_INIT() local 275 Table = &AcpiGbl_RootTableList.Tables[AcpiGbl_DsdtIndex]; in ACPI_EXPORT_SYMBOL_INIT() 278 !ACPI_COMPARE_NAMESEG (Table->Signature.Ascii, ACPI_SIG_DSDT) || in ACPI_EXPORT_SYMBOL_INIT() 279 ACPI_FAILURE (AcpiTbValidateTable (Table))) in ACPI_EXPORT_SYMBOL_INIT() 291 AcpiGbl_DSDT = Table->Pointer; in ACPI_EXPORT_SYMBOL_INIT() 334 Table = &AcpiGbl_RootTableList.Tables[i]; in ACPI_EXPORT_SYMBOL_INIT() 336 if (!Table->Address || in ACPI_EXPORT_SYMBOL_INIT() 337 (!ACPI_COMPARE_NAMESEG (Table->Signature.Ascii, ACPI_SIG_SSDT) && in ACPI_EXPORT_SYMBOL_INIT() 338 !ACPI_COMPARE_NAMESEG (Table->Signature.Ascii, ACPI_SIG_PSDT) && in ACPI_EXPORT_SYMBOL_INIT() 339 !ACPI_COMPARE_NAMESEG (Table->Signature.Ascii, ACPI_SIG_OSDT)) || in ACPI_EXPORT_SYMBOL_INIT() [all …]
|
D | tbdata.c | 195 ACPI_TABLE_HEADER *Table; in AcpiTbCompareTables() local 201 &Table, &TableLength, &TableFlags); in AcpiTbCompareTables() 212 memcmp (TableDesc->Pointer, Table, TableLength)) ? in AcpiTbCompareTables() 217 AcpiTbReleaseTable (Table, TableLength, TableFlags); in AcpiTbCompareTables() 242 ACPI_TABLE_HEADER *Table) in AcpiTbInitTableDescriptor() argument 251 TableDesc->Length = Table->Length; in AcpiTbInitTableDescriptor() 253 ACPI_MOVE_32_TO_32 (TableDesc->Signature.Ascii, Table->Signature); in AcpiTbInitTableDescriptor() 260 TableDesc->Pointer = Table; in AcpiTbInitTableDescriptor() 294 ACPI_TABLE_HEADER *Table = NULL; in AcpiTbAcquireTable() local 301 Table = AcpiOsMapMemory (TableDesc->Address, TableDesc->Length); in AcpiTbAcquireTable() [all …]
|
D | tbutils.c | 393 ACPI_TABLE_HEADER *Table; in AcpiTbParseRootTable() local 445 Table = AcpiOsMapMemory (Address, sizeof (ACPI_TABLE_HEADER)); in AcpiTbParseRootTable() 446 if (!Table) in AcpiTbParseRootTable() 451 AcpiTbPrintTableHeader (Address, Table); in AcpiTbParseRootTable() 457 Length = Table->Length; in AcpiTbParseRootTable() 458 AcpiOsUnmapMemory (Table, sizeof (ACPI_TABLE_HEADER)); in AcpiTbParseRootTable() 467 Table = AcpiOsMapMemory (Address, Length); in AcpiTbParseRootTable() 468 if (!Table) in AcpiTbParseRootTable() 475 Status = AcpiUtVerifyChecksum (Table, Length); in AcpiTbParseRootTable() 478 AcpiOsUnmapMemory (Table, Length); in AcpiTbParseRootTable() [all …]
|
D | tbinstal.c | 250 ACPI_TABLE_HEADER *Table, in AcpiTbInstallStandardTable() argument 265 Status = AcpiTbAcquireTempTable (&NewTableDesc, Address, Flags, Table); in AcpiTbInstallStandardTable() 363 ACPI_TABLE_HEADER *Table; in AcpiTbOverrideTable() local 371 Status = AcpiOsTableOverride (OldTableDesc->Pointer, &Table); in AcpiTbOverrideTable() 372 if (ACPI_SUCCESS (Status) && Table) in AcpiTbOverrideTable() 374 AcpiTbAcquireTempTable (&NewTableDesc, ACPI_PTR_TO_PHYSADDR (Table), in AcpiTbOverrideTable() 375 ACPI_TABLE_ORIGIN_EXTERNAL_VIRTUAL, Table); in AcpiTbOverrideTable()
|
/acpica-latest/source/os_specific/service_layers/ |
D | osbsdtbl.c | 176 ACPI_TABLE_HEADER **Table); 186 ACPI_TABLE_HEADER **Table, 249 ACPI_TABLE_HEADER **Table) in AcpiOsGetTableByAddress() argument 285 *Table = LocalTable; in AcpiOsGetTableByAddress() 313 ACPI_TABLE_HEADER **Table, in AcpiOsGetTableByName() argument 348 *Table = (ACPI_TABLE_HEADER *) Gbl_Xsdt; in AcpiOsGetTableByName() 360 *Table = (ACPI_TABLE_HEADER *) Gbl_Rsdt; in AcpiOsGetTableByName() 367 *Table = (ACPI_TABLE_HEADER *) Gbl_Fadt; in AcpiOsGetTableByName() 373 Status = OslGetTableViaRoot (Signature, Instance, Table, Address); in AcpiOsGetTableByName() 405 ACPI_TABLE_HEADER **Table, in AcpiOsGetTableByIndex() argument [all …]
|
D | oslinuxtbl.c | 195 ACPI_TABLE_HEADER **Table); 201 ACPI_TABLE_HEADER **Table); 205 ACPI_TABLE_HEADER *Table); 229 ACPI_TABLE_HEADER **Table, 240 ACPI_TABLE_HEADER **Table, 338 ACPI_TABLE_HEADER **Table) in AcpiOsGetTableByAddress() argument 382 *Table = LocalTable; in AcpiOsGetTableByAddress() 410 ACPI_TABLE_HEADER **Table, in AcpiOsGetTableByName() argument 430 Status = OslGetBiosTable (Signature, Instance, Table, Address); in AcpiOsGetTableByName() 437 Instance, Table, Address); in AcpiOsGetTableByName() [all …]
|
/acpica-latest/source/components/utilities/ |
D | utcksum.c | 183 ACPI_TABLE_HEADER *Table, in AcpiUtVerifyChecksum() argument 193 if (ACPI_COMPARE_NAMESEG (Table->Signature, ACPI_SIG_S3PT) || in AcpiUtVerifyChecksum() 194 ACPI_COMPARE_NAMESEG (Table->Signature, ACPI_SIG_FACS)) in AcpiUtVerifyChecksum() 201 Length = Table->Length; in AcpiUtVerifyChecksum() 202 Checksum = AcpiUtGenerateChecksum (ACPI_CAST_PTR (UINT8, Table), Length, Table->Checksum); in AcpiUtVerifyChecksum() 206 if (Checksum != Table->Checksum) in AcpiUtVerifyChecksum() 211 Table->Signature, Table->Checksum, in AcpiUtVerifyChecksum() 212 Table->Checksum - Checksum)); in AcpiUtVerifyChecksum() 285 void *Table, in AcpiUtGenerateChecksum() argument 294 Checksum = AcpiUtChecksum ((UINT8 *) Table, Length); in AcpiUtGenerateChecksum()
|
/acpica-latest/source/components/namespace/ |
D | nsparse.c | 194 ACPI_TABLE_HEADER *Table; in AcpiNsExecuteTable() local 205 Status = AcpiGetTableByIndex (TableIndex, &Table); in AcpiNsExecuteTable() 213 if (Table->Length < sizeof (ACPI_TABLE_HEADER)) in AcpiNsExecuteTable() 218 AmlStart = (UINT8 *) Table + sizeof (ACPI_TABLE_HEADER); in AcpiNsExecuteTable() 219 AmlLength = Table->Length - sizeof (ACPI_TABLE_HEADER); in AcpiNsExecuteTable() 246 ACPI_GET_FUNCTION_NAME, Table->Signature, Table, MethodObj)); in AcpiNsExecuteTable() 312 ACPI_TABLE_HEADER *Table; in AcpiNsOneCompleteParse() local 319 Status = AcpiGetTableByIndex (TableIndex, &Table); in AcpiNsOneCompleteParse() 327 if (Table->Length < sizeof (ACPI_TABLE_HEADER)) in AcpiNsOneCompleteParse() 332 AmlStart = (UINT8 *) Table + sizeof (ACPI_TABLE_HEADER); in AcpiNsOneCompleteParse() [all …]
|
/acpica-latest/source/components/resources/ |
D | rsdump.c | 230 ACPI_RSDUMP_INFO *Table); 380 ACPI_RSDUMP_INFO *Table) in AcpiRsDumpDescriptor() argument 390 Count = Table->Offset; in AcpiRsDumpDescriptor() 395 Target = ACPI_ADD_PTR (UINT8, Resource, Table->Offset); in AcpiRsDumpDescriptor() 396 Name = Table->Name; in AcpiRsDumpDescriptor() 398 switch (Table->Opcode) in AcpiRsDumpDescriptor() 404 if (Table->Name) in AcpiRsDumpDescriptor() 414 AcpiRsOutString (Name, ACPI_CAST_PTR (char, Table->Pointer)); in AcpiRsDumpDescriptor() 426 if (Table->Pointer) in AcpiRsDumpDescriptor() 428 AcpiRsOutString (Name, Table->Pointer [*Target]); in AcpiRsDumpDescriptor() [all …]
|
/acpica-latest/source/tools/acpiexec/ |
D | aetables.c | 309 if (!ACPI_COMPARE_NAMESEG (NextTable->Table->Signature, ACPI_SIG_DSDT) && in AeBuildLocalTables() 310 !ACPI_COMPARE_NAMESEG (NextTable->Table->Signature, ACPI_SIG_FADT)) in AeBuildLocalTables() 348 if (ACPI_COMPARE_NAMESEG (NextTable->Table->Signature, ACPI_SIG_DSDT)) in AeBuildLocalTables() 358 DsdtAddress = ACPI_PTR_TO_PHYSADDR (NextTable->Table); in AeBuildLocalTables() 359 DsdtToInstallOverride = NextTable->Table; in AeBuildLocalTables() 361 else if (ACPI_COMPARE_NAMESEG (NextTable->Table->Signature, ACPI_SIG_FADT)) in AeBuildLocalTables() 363 ExternalFadt = ACPI_CAST_PTR (ACPI_TABLE_FADT, NextTable->Table); in AeBuildLocalTables() 364 LocalXSDT->TableOffsetEntry[0] = ACPI_PTR_TO_PHYSADDR (NextTable->Table); in AeBuildLocalTables() 371 ACPI_PTR_TO_PHYSADDR (NextTable->Table); in AeBuildLocalTables() 594 ACPI_TABLE_HEADER *Table; in AeInstallTables() local [all …]
|
/acpica-latest/source/os_specific/efi/ |
D | osefitbl.c | 189 ACPI_TABLE_HEADER **Table); 193 ACPI_TABLE_HEADER *Table); 207 ACPI_TABLE_HEADER **Table, 256 ACPI_TABLE_HEADER **Table) in AcpiOsGetTableByAddress() argument 300 *Table = LocalTable; in AcpiOsGetTableByAddress() 328 ACPI_TABLE_HEADER **Table, in AcpiOsGetTableByName() argument 344 Status = OslGetTable (Signature, Instance, Table, Address); in AcpiOsGetTableByName() 453 ACPI_TABLE_HEADER **Table, in AcpiOsGetTableByIndex() argument 488 Table, Address); in AcpiOsGetTableByIndex() 829 ACPI_TABLE_HEADER **Table, in OslGetTable() argument [all …]
|
/acpica-latest/source/components/executer/ |
D | exconfig.c | 459 ACPI_TABLE_HEADER *Table; in AcpiExLoadOp() local 552 Table = ACPI_ALLOCATE (Length); in AcpiExLoadOp() 553 if (!Table) in AcpiExLoadOp() 561 ACPI_CAST_PTR (UINT8, Table)); in AcpiExLoadOp() 564 ACPI_FREE (Table); in AcpiExLoadOp() 602 Table = ACPI_ALLOCATE (Length); in AcpiExLoadOp() 603 if (!Table) in AcpiExLoadOp() 608 memcpy (Table, TableHeader, Length); in AcpiExLoadOp() 620 Status = AcpiTbInstallAndLoadTable (ACPI_PTR_TO_PHYSADDR (Table), in AcpiExLoadOp() 621 ACPI_TABLE_ORIGIN_INTERNAL_VIRTUAL, Table, TRUE, &TableIndex); in AcpiExLoadOp() [all …]
|
/acpica-latest/source/components/debugger/ |
D | dbfileio.c | 246 ACPI_TABLE_HEADER *Table; in AcpiDbLoadTables() local 254 Table = TableListHead->Table; in AcpiDbLoadTables() 256 Status = AcpiLoadTable (Table, NULL); in AcpiDbLoadTables() 262 Table->Signature); in AcpiDbLoadTables() 274 Table->Signature); in AcpiDbLoadTables()
|