Lines Matching refs:Table

51     ACPI_TABLE_HEADER       *Table,
60 * PARAMETERS: Table - Pointer to table to be validated
70 ACPI_TABLE_HEADER *Table)
73 if (!ACPI_VALIDATE_RSDP_SIG (Table->Signature))
77 if (!AcpiUtValidNameseg (Table->Signature))
79 AcpiLogError ("Table signature (0x%8.8X) is invalid\n",
80 *(UINT32 *) Table->Signature);
86 if (Table->Length < sizeof (ACPI_TABLE_HEADER))
88 AcpiLogError ("Table length (0x%8.8X) is invalid\n",
89 Table->Length);
102 * PARAMETERS: Table - Pointer to table to be validated
112 ACPI_TABLE_HEADER *Table)
118 if (ACPI_VALIDATE_RSDP_SIG (Table->Signature))
124 Rsdp = ACPI_CAST_PTR (ACPI_TABLE_RSDP, Table);
129 Status = AcpiTbVerifyChecksum (Table, Table->Length);
135 Table->Signature);
146 * PARAMETERS: Table - Pointer to the table
148 * RETURN: Table length
156 ACPI_TABLE_HEADER *Table)
163 if (!ApIsValidHeader (Table))
168 if (ACPI_VALIDATE_RSDP_SIG (Table->Signature))
170 Rsdp = ACPI_CAST_PTR (ACPI_TABLE_RSDP, Table);
176 return (Table->Length);
184 * PARAMETERS: Table - ACPI table to be dumped
197 ACPI_TABLE_HEADER *Table,
204 TableLength = ApGetTableLength (Table);
210 AcpiTbPrintTableHeader (Address, Table);
218 return (ApWriteToBinaryFile (Table, Instance));
227 Table->Signature, ACPI_FORMAT_UINT64 (Address));
230 ACPI_CAST_PTR (UINT8, Table), TableLength,
254 ACPI_TABLE_HEADER *Table;
266 Status = AcpiOsGetTableByIndex (i, &Table, &Instance, &Address);
289 TableStatus = ApDumpTableBuffer (Table, Instance, Address);
290 ACPI_FREE (Table);
321 ACPI_TABLE_HEADER *Table;
339 Status = AcpiOsGetTableByAddress (Address, &Table);
348 TableStatus = ApDumpTableBuffer (Table, 0, Address);
349 ACPI_FREE (Table);
373 ACPI_TABLE_HEADER *Table;
387 /* Table signatures are expected to be uppercase */
408 &Table, &Address);
424 TableStatus = ApDumpTableBuffer (Table, Instance, Address);
425 ACPI_FREE (Table);
455 ACPI_TABLE_HEADER *Table;
462 Table = ApGetTableFromFile (Pathname, &FileSize);
463 if (!Table)
468 if (!AcpiUtValidNameseg (Table->Signature))
477 if (Table->Length > FileSize)
480 "Table length (0x%X) is too large for input file (0x%X) %s\n",
481 Table->Length, FileSize, Pathname);
489 Pathname, Table->Signature, FileSize, FileSize);
492 TableStatus = ApDumpTableBuffer (Table, 0, 0);
495 ACPI_FREE (Table);