/freebsd/usr.sbin/acpi/acpidump/ |
H A D | acpidump.h | 59 ACPI_TABLE_HEADER *sdt_load_devmem(void); 63 ACPI_TABLE_HEADER header; 137 ACPI_TABLE_HEADER *dsdt_load_file(char *); 140 void dsdt_save_file(char *, ACPI_TABLE_HEADER *, ACPI_TABLE_HEADER *); 143 void sdt_print_all(ACPI_TABLE_HEADER *, const char *); 146 void aml_disassemble(ACPI_TABLE_HEADER *, ACPI_TABLE_HEADER *); 147 void aml_disassemble_separate(ACPI_TABLE_HEADER *, ACPI_TABLE_HEADER *); 152 ACPI_TABLE_HEADER *sdt_from_rsdt(ACPI_TABLE_HEADER *, const char *, 153 ACPI_TABLE_HEADER *); 154 ACPI_TABLE_HEADER *dsdt_from_fadt(ACPI_TABLE_FADT *);
|
H A D | acpi.c | 59 static void acpi_handle_fadt(ACPI_TABLE_HEADER *fadt); 69 static void acpi_handle_madt(ACPI_TABLE_HEADER *sdp); 70 static void acpi_handle_ecdt(ACPI_TABLE_HEADER *sdp); 71 static void acpi_handle_hpet(ACPI_TABLE_HEADER *sdp); 72 static void acpi_handle_mcfg(ACPI_TABLE_HEADER *sdp); 73 static void acpi_handle_slit(ACPI_TABLE_HEADER *sdp); 74 static void acpi_handle_wddt(ACPI_TABLE_HEADER *sdp); 75 static void acpi_handle_lpit(ACPI_TABLE_HEADER *sdp); 80 static void acpi_handle_srat(ACPI_TABLE_HEADER *sdp); 81 static void acpi_handle_tcpa(ACPI_TABLE_HEADER *sdp); [all …]
|
/freebsd/sys/contrib/dev/acpica/include/ |
H A D | acdisasm.h | 312 ACPI_TABLE_HEADER *Table); 740 ACPI_TABLE_HEADER *Table); 783 ACPI_TABLE_HEADER *Table); 787 ACPI_TABLE_HEADER *Table); 791 ACPI_TABLE_HEADER *Table); 795 ACPI_TABLE_HEADER *Table); 799 ACPI_TABLE_HEADER *Table); 803 ACPI_TABLE_HEADER *Table); 807 ACPI_TABLE_HEADER *Table); 811 ACPI_TABLE_HEADER *Table); [all …]
|
H A D | actables.h | 190 ACPI_TABLE_HEADER *Table); 197 ACPI_TABLE_HEADER *Table); 232 ACPI_TABLE_HEADER *Table, 269 ACPI_TABLE_HEADER **TablePtr, 275 ACPI_TABLE_HEADER *Table, 283 ACPI_TABLE_HEADER *Table, 301 ACPI_TABLE_HEADER *Table, 346 ACPI_TABLE_HEADER *Header); 352 ACPI_TABLE_HEADER * 369 ACPI_TABLE_HEADER **OutTable);
|
H A D | actbl3.h | 222 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 236 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 255 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 303 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 343 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 510 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 535 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 607 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 633 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 708 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ [all …]
|
H A D | actbl1.h | 274 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 414 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 492 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 545 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 572 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 735 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 869 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 898 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 981 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 1069 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ [all …]
|
H A D | actbl2.h | 234 ACPI_TABLE_HEADER Header; 514 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 538 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 618 ACPI_TABLE_HEADER Header; 633 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 653 ACPI_TABLE_HEADER Header; 902 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 1135 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 1192 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 1769 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ [all …]
|
H A D | acpiosxf.h | 228 ACPI_TABLE_HEADER *ExistingTable, 229 ACPI_TABLE_HEADER **NewTable); 235 ACPI_TABLE_HEADER *ExistingTable, 654 ACPI_TABLE_HEADER **Table, 662 ACPI_TABLE_HEADER **Table, 671 ACPI_TABLE_HEADER **Table);
|
H A D | actbl.h | 226 } ACPI_TABLE_HEADER; typedef 304 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 311 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 368 ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 512 ACPI_TABLE_HEADER *Pointer;
|
/freebsd/sys/arm64/acpica/ |
H A D | acpi_machdep.c | 65 ACPI_TABLE_HEADER *header; in map_table() 69 header = pmap_mapbios(pa, sizeof(ACPI_TABLE_HEADER)); in map_table() 71 pmap_unmapbios(header, sizeof(ACPI_TABLE_HEADER)); in map_table() 75 pmap_unmapbios(header, sizeof(ACPI_TABLE_HEADER)); in map_table() 96 ACPI_TABLE_HEADER *table; in probe_table() 98 table = pmap_mapbios(address, sizeof(ACPI_TABLE_HEADER)); in probe_table() 107 pmap_unmapbios(table, sizeof(ACPI_TABLE_HEADER)); in probe_table() 110 pmap_unmapbios(table, sizeof(ACPI_TABLE_HEADER)); in probe_table() 118 ACPI_TABLE_HEADER *header; in acpi_unmap_table() 120 header = (ACPI_TABLE_HEADER *)table; in acpi_unmap_table() [all …]
|
/freebsd/sys/amd64/acpica/ |
H A D | acpi_machdep.c | 97 ACPI_TABLE_HEADER *header; in map_table() 101 header = pmap_mapbios(pa, sizeof(ACPI_TABLE_HEADER)); in map_table() 103 pmap_unmapbios(header, sizeof(ACPI_TABLE_HEADER)); in map_table() 107 pmap_unmapbios(header, sizeof(ACPI_TABLE_HEADER)); in map_table() 127 ACPI_TABLE_HEADER *table; in probe_table() 130 table = pmap_mapbios(address, sizeof(ACPI_TABLE_HEADER)); in probe_table() 132 pmap_unmapbios(table, sizeof(ACPI_TABLE_HEADER)); in probe_table() 151 ACPI_TABLE_HEADER *header; in acpi_unmap_table() 153 header = (ACPI_TABLE_HEADER *)table; in acpi_unmap_table() 168 ACPI_TABLE_HEADER *table; in acpi_find_table() [all …]
|
/freebsd/sys/i386/acpica/ |
H A D | acpi_machdep.c | 115 ACPI_TABLE_HEADER *header; in map_table() 119 header = pmap_mapbios(pa, sizeof(ACPI_TABLE_HEADER)); in map_table() 121 pmap_unmapbios(header, sizeof(ACPI_TABLE_HEADER)); in map_table() 125 pmap_unmapbios(header, sizeof(ACPI_TABLE_HEADER)); in map_table() 145 ACPI_TABLE_HEADER *table; in probe_table() 148 table = pmap_mapbios(address, sizeof(ACPI_TABLE_HEADER)); in probe_table() 150 pmap_unmapbios(table, sizeof(ACPI_TABLE_HEADER)); in probe_table() 169 ACPI_TABLE_HEADER *header; in acpi_unmap_table() 171 header = (ACPI_TABLE_HEADER *)table; in acpi_unmap_table() 186 ACPI_TABLE_HEADER *table; in acpi_find_table() [all …]
|
/freebsd/sys/contrib/dev/acpica/components/tables/ |
H A D | tbutils.c | 191 ACPI_CAST_INDIRECT_PTR (ACPI_TABLE_HEADER, &Facs)); in AcpiTbInitializeFacs() 197 ACPI_CAST_INDIRECT_PTR (ACPI_TABLE_HEADER, &Facs)); in AcpiTbInitializeFacs() 260 ACPI_TABLE_HEADER * 264 ACPI_TABLE_HEADER *NewTable; in AcpiTbCopyDsdt() 383 ACPI_TABLE_HEADER *Table; in AcpiTbParseRootTable() 403 ACPI_CAST_PTR (ACPI_TABLE_HEADER, Rsdp)); in AcpiTbParseRootTable() 435 Table = AcpiOsMapMemory (Address, sizeof (ACPI_TABLE_HEADER)); in AcpiTbParseRootTable() 448 AcpiOsUnmapMemory (Table, sizeof (ACPI_TABLE_HEADER)); in AcpiTbParseRootTable() 450 if (Length < (sizeof (ACPI_TABLE_HEADER) + TableEntrySize)) in AcpiTbParseRootTable() 474 TableCount = (UINT32) ((Table->Length - sizeof (ACPI_TABLE_HEADER)) / in AcpiTbParseRootTable() [all …]
|
H A D | tbprint.c | 171 ACPI_TABLE_HEADER *OutHeader, 172 ACPI_TABLE_HEADER *Header); 224 ACPI_TABLE_HEADER *OutHeader, in AcpiTbCleanupTableHeader() 225 ACPI_TABLE_HEADER *Header) in AcpiTbCleanupTableHeader() 228 memcpy (OutHeader, Header, sizeof (ACPI_TABLE_HEADER)); in AcpiTbCleanupTableHeader() 253 ACPI_TABLE_HEADER *Header) in AcpiTbPrintTableHeader() 255 ACPI_TABLE_HEADER LocalHeader; in AcpiTbPrintTableHeader()
|
H A D | tbxface.c | 386 ACPI_TABLE_HEADER *OutTableHeader) in ACPI_EXPORT_SYMBOL_INIT() 390 ACPI_TABLE_HEADER *Header; in ACPI_EXPORT_SYMBOL_INIT() 423 sizeof (ACPI_TABLE_HEADER)); in ACPI_EXPORT_SYMBOL_INIT() 429 memcpy (OutTableHeader, Header, sizeof (ACPI_TABLE_HEADER)); in ACPI_EXPORT_SYMBOL_INIT() 430 AcpiOsUnmapMemory (Header, sizeof (ACPI_TABLE_HEADER)); in ACPI_EXPORT_SYMBOL_INIT() 441 sizeof (ACPI_TABLE_HEADER)); in ACPI_EXPORT_SYMBOL_INIT() 477 ACPI_TABLE_HEADER **OutTable) in ACPI_EXPORT_SYMBOL() 546 ACPI_TABLE_HEADER *Table) in ACPI_EXPORT_SYMBOL() 601 ACPI_TABLE_HEADER **OutTable) in ACPI_EXPORT_SYMBOL()
|
H A D | tbdata.c | 195 ACPI_TABLE_HEADER *Table; in AcpiTbCompareTables() 242 ACPI_TABLE_HEADER *Table) in AcpiTbInitTableDescriptor() 290 ACPI_TABLE_HEADER **TablePtr, in AcpiTbAcquireTable() 294 ACPI_TABLE_HEADER *Table = NULL; in AcpiTbAcquireTable() 347 ACPI_TABLE_HEADER *Table, in AcpiTbReleaseTable() 392 ACPI_TABLE_HEADER *Table) in AcpiTbAcquireTempTable() 405 Table = AcpiOsMapMemory (Address, sizeof (ACPI_TABLE_HEADER)); in AcpiTbAcquireTempTable() 436 AcpiOsUnmapMemory (Table, sizeof (ACPI_TABLE_HEADER)); in AcpiTbAcquireTempTable() 586 TableDesc->Length = sizeof (ACPI_TABLE_HEADER); in AcpiTbValidateTempTable() 1209 ACPI_TABLE_HEADER *Table; in AcpiTbLoadTable() [all …]
|
/freebsd/sys/contrib/dev/acpica/common/ |
H A D | dmtables.c | 171 ACPI_TABLE_HEADER *Table); 175 ACPI_TABLE_HEADER *Table, 256 ACPI_TABLE_HEADER *Table) in AdCreateTableHeader() 358 ACPI_TABLE_HEADER *Table) in AdDisplayTables() 378 AcpiUtDebugDumpBuffer ((UINT8 *) Table, sizeof (ACPI_TABLE_HEADER), in AdDisplayTables() 382 AcpiUtDebugDumpBuffer (((UINT8 *) Table + sizeof (ACPI_TABLE_HEADER)), in AdDisplayTables() 405 ACPI_TABLE_HEADER *Table, in AdStoreTable() 444 ACPI_TABLE_HEADER TableHeader; in AdGetLocalTables() 445 ACPI_TABLE_HEADER *NewTable; in AdGetLocalTables() 492 ACPI_TABLE_HEADER *Table, in AdParseTable() [all …]
|
H A D | dmtbdump3.c | 177 ACPI_TABLE_HEADER *Table) in AcpiDmDumpSlic() 180 (void) AcpiDmDumpTable (Table->Length, sizeof (ACPI_TABLE_HEADER), in AcpiDmDumpSlic() 200 ACPI_TABLE_HEADER *Table) in AcpiDmDumpSlit() 279 ACPI_TABLE_HEADER *Table) in AcpiDmDumpSrat() 400 ACPI_TABLE_HEADER *Table) in AcpiDmDumpStao() 453 ACPI_TABLE_HEADER *Table) in AcpiDmDumpSvkl() 512 ACPI_TABLE_HEADER *Table) in AcpiDmDumpTcpa() 578 ACPI_TABLE_HEADER *Table) in AcpiDmDumpTpm2Rev3() 624 ACPI_TABLE_HEADER *Table) in AcpiDmDumpTpm2() 689 ACPI_TABLE_HEADER *Table) in AcpiDmDumpViot() [all …]
|
H A D | acfileio.c | 169 ACPI_TABLE_HEADER **Table); 173 ACPI_TABLE_HEADER *Table); 230 ACPI_TABLE_HEADER *Table = NULL; in AcGetAllTablesFromFile() 262 if (FileSize < sizeof (ACPI_TABLE_HEADER)) in AcGetAllTablesFromFile() 384 ACPI_TABLE_HEADER **ReturnTable) in AcGetOneTableFromFile() 387 ACPI_TABLE_HEADER TableHeader; in AcGetOneTableFromFile() 388 ACPI_TABLE_HEADER *Table; in AcGetOneTableFromFile() 408 HeaderLength = sizeof (ACPI_TABLE_HEADER); in AcGetOneTableFromFile() 578 ACPI_TABLE_HEADER TableHeader; in AcValidateTableHeader() 597 HeaderLength = sizeof (ACPI_TABLE_HEADER); in AcValidateTableHeader() [all …]
|
H A D | dmtbdump.c | 362 ACPI_TABLE_HEADER *Table) in AcpiDmDumpRsdp() 429 ACPI_TABLE_HEADER *Table) in AcpiDmDumpRsdt() 440 Offset = sizeof (ACPI_TABLE_HEADER); in AcpiDmDumpRsdt() 444 Entries = (Table->Length - sizeof (ACPI_TABLE_HEADER)) / sizeof (UINT32); in AcpiDmDumpRsdt() 469 ACPI_TABLE_HEADER *Table) in AcpiDmDumpXsdt() 480 Offset = sizeof (ACPI_TABLE_HEADER); in AcpiDmDumpXsdt() 484 Entries = (Table->Length - sizeof (ACPI_TABLE_HEADER)) / sizeof (UINT64); in AcpiDmDumpXsdt() 513 ACPI_TABLE_HEADER *Table) in AcpiDmDumpFadt()
|
/freebsd/sys/contrib/dev/acpica/components/namespace/ |
H A D | nsparse.c | 194 ACPI_TABLE_HEADER *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() 312 ACPI_TABLE_HEADER *Table; in AcpiNsOneCompleteParse() 327 if (Table->Length < sizeof (ACPI_TABLE_HEADER)) in AcpiNsOneCompleteParse() 332 AmlStart = (UINT8 *) Table + sizeof (ACPI_TABLE_HEADER); in AcpiNsOneCompleteParse() 333 AmlLength = Table->Length - sizeof (ACPI_TABLE_HEADER); in AcpiNsOneCompleteParse()
|
/freebsd/tools/tools/dmardump/ |
H A D | dmardump.c | 221 acpi_handle_dmar(ACPI_TABLE_HEADER *sdp) in acpi_handle_dmar() 239 static ACPI_TABLE_HEADER * 242 ACPI_TABLE_HEADER *sp; in acpi_map_sdt() 244 sp = acpi_map_physical(pa, sizeof(ACPI_TABLE_HEADER)); in acpi_map_sdt() 250 walk_rsdt(ACPI_TABLE_HEADER *rsdp) in walk_rsdt() 252 ACPI_TABLE_HEADER *sdp; in walk_rsdt() 264 entries = (rsdp->Length - sizeof(ACPI_TABLE_HEADER)) / addr_size; in walk_rsdt() 272 sdp = (ACPI_TABLE_HEADER *)acpi_map_sdt(addr); in walk_rsdt() 284 ACPI_TABLE_HEADER *rsdt; in main()
|
/freebsd/sys/dev/acpica/Osd/ |
H A D | OsdTable.c | 65 AcpiOsTableOverride(ACPI_TABLE_HEADER *ExistingTable, in AcpiOsTableOverride() 66 ACPI_TABLE_HEADER **NewTable) in AcpiOsTableOverride() 70 ACPI_TABLE_HEADER *hdr; in AcpiOsTableOverride() 100 AcpiOsPhysicalTableOverride(ACPI_TABLE_HEADER *ExistingTable, in AcpiOsPhysicalTableOverride()
|
/freebsd/sys/contrib/dev/acpica/components/executer/ |
H A D | exconfig.c | 458 ACPI_TABLE_HEADER *TableHeader; in AcpiExLoadOp() 459 ACPI_TABLE_HEADER *Table; in AcpiExLoadOp() 511 TableHeader = ACPI_ALLOCATE (sizeof (ACPI_TABLE_HEADER)); in AcpiExLoadOp() 517 Status = AcpiExRegionRead (ObjDesc, sizeof (ACPI_TABLE_HEADER), in AcpiExLoadOp() 529 if (Length < sizeof (ACPI_TABLE_HEADER)) in AcpiExLoadOp() 576 if (ObjDesc->Buffer.Length < sizeof (ACPI_TABLE_HEADER)) in AcpiExLoadOp() 584 ACPI_TABLE_HEADER, ObjDesc->Buffer.Pointer); in AcpiExLoadOp() 593 if (Length < sizeof (ACPI_TABLE_HEADER)) in AcpiExLoadOp()
|
/freebsd/usr.sbin/bhyve/ |
H A D | basl.c | 99 const ACPI_TABLE_HEADER *const header = table->data; in basl_dump_table() 258 const ACPI_TABLE_HEADER *const header = in basl_get_table_by_signature() 259 (const ACPI_TABLE_HEADER *)table->data; in basl_get_table_by_signature() 542 assert(len >= sizeof(ACPI_TABLE_HEADER)); in basl_table_append_content() 545 (void *)((uintptr_t)(data) + sizeof(ACPI_TABLE_HEADER)), in basl_table_append_content() 546 len - sizeof(ACPI_TABLE_HEADER))); in basl_table_append_content() 587 ACPI_TABLE_HEADER header_le; in basl_table_append_header() 610 offsetof(ACPI_TABLE_HEADER, Length), sizeof(header_le.Length))); in basl_table_append_header() 612 offsetof(ACPI_TABLE_HEADER, Checksum), 0, in basl_table_append_header() 690 const ACPI_TABLE_HEADER *header; in basl_table_register_to_rsdt() [all …]
|