Home
last modified time | relevance | path

Searched refs:Subtable (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/acpi/iasl/
H A Ddttable1.c190 DT_SUBTABLE *Subtable; in DtCompileAsf() local
205 &Subtable); in DtCompileAsf()
212 DtInsertSubtable (ParentTable, Subtable); in DtCompileAsf()
213 DtPushSubtable (Subtable); in DtCompileAsf()
215 AsfTable = ACPI_CAST_PTR (ACPI_ASF_INFO, Subtable->Buffer); in DtCompileAsf()
250 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileAsf()
257 DtInsertSubtable (ParentTable, Subtable); in DtCompileAsf()
270 ACPI_SUB_PTR (UINT8, Subtable->Buffer, in DtCompileAsf()
278 ACPI_SUB_PTR (UINT8, Subtable->Buffer, in DtCompileAsf()
291 ACPI_SUB_PTR (UINT8, Subtable->Buffer, in DtCompileAsf()
[all …]
H A Ddttable2.c177 DT_SUBTABLE *Subtable; in DtCompileLpit() local
194 &Subtable); in DtCompileLpit()
201 DtInsertSubtable (ParentTable, Subtable); in DtCompileLpit()
202 DtPushSubtable (Subtable); in DtCompileLpit()
204 LpitHeader = ACPI_CAST_PTR (ACPI_LPIT_HEADER, Subtable->Buffer); in DtCompileLpit()
221 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileLpit()
228 DtInsertSubtable (ParentTable, Subtable); in DtCompileLpit()
253 DT_SUBTABLE *Subtable; in DtCompileMadt() local
262 &Subtable); in DtCompileMadt()
269 DtInsertSubtable (ParentTable, Subtable); in DtCompileMadt()
[all …]
H A Ddtsubtable.c180 DT_SUBTABLE *Subtable; in DtCreateSubtable() local
184 Subtable = UtSubtableCacheCalloc (); in DtCreateSubtable()
189 Subtable->Buffer = ACPI_CAST_PTR (UINT8, String); in DtCreateSubtable()
190 memcpy (Subtable->Buffer, Buffer, Length); in DtCreateSubtable()
192 Subtable->Length = Length; in DtCreateSubtable()
193 Subtable->TotalLength = Length; in DtCreateSubtable()
195 *RetSubtable = Subtable; in DtCreateSubtable()
215 DT_SUBTABLE *Subtable) in DtInsertSubtable() argument
220 Subtable->Peer = NULL; in DtInsertSubtable()
221 Subtable->Parent = ParentTable; in DtInsertSubtable()
[all …]
H A Ddttable.c176 DT_SUBTABLE *Subtable; in DtCompileRsdp() local
199 &Subtable); in DtCompileRsdp()
205 DtInsertSubtable (Gbl_RootTable, Subtable); in DtCompileRsdp()
209 RsdpExtension = ACPI_CAST_PTR (ACPI_RSDP_EXTENSION, Subtable->Buffer); in DtCompileRsdp()
210 RsdpExtension->Length = Gbl_RootTable->Length + Subtable->Length; in DtCompileRsdp()
235 DT_SUBTABLE *Subtable; in DtCompileFadt() local
243 &Subtable); in DtCompileFadt()
250 DtInsertSubtable (ParentTable, Subtable); in DtCompileFadt()
258 &Subtable); in DtCompileFadt()
264 DtInsertSubtable (ParentTable, Subtable); in DtCompileFadt()
[all …]
H A Ddtcompile.c395 DT_SUBTABLE *Subtable; in DtCompileDataTable() local
493 Subtable = NULL; in DtCompileDataTable()
495 &Subtable); in DtCompileDataTable()
501 DtInsertSubtable (Gbl_RootTable, Subtable); in DtCompileDataTable()
549 DT_SUBTABLE *Subtable; in DtCompileTable() local
588 Subtable = UtSubtableCacheCalloc (); in DtCompileTable()
593 Subtable->Buffer = ACPI_CAST_PTR (UINT8, String); in DtCompileTable()
596 Subtable->Length = Length; in DtCompileTable()
597 Subtable->TotalLength = Length; in DtCompileTable()
598 Buffer = Subtable->Buffer; in DtCompileTable()
[all …]
H A Ddtio.c177 DT_SUBTABLE *Subtable,
190 DT_SUBTABLE *Subtable,
196 DT_SUBTABLE *Subtable,
900 DT_SUBTABLE *Subtable, in DtWriteBinary() argument
905 FlWriteFile (ASL_FILE_AML_OUTPUT, Subtable->Buffer, Subtable->Length); in DtWriteBinary()
1090 DT_SUBTABLE *Subtable, in DtDumpSubtableInfo() argument
1097 Subtable->Depth, Subtable->Name, Subtable->Length, Subtable->TotalLength, in DtDumpSubtableInfo()
1098 Subtable->SizeOfLengthField, Subtable->Flags, Subtable, in DtDumpSubtableInfo()
1099 Subtable->Parent, Subtable->Child, Subtable->Peer); in DtDumpSubtableInfo()
1104 DT_SUBTABLE *Subtable, in DtDumpSubtableTree() argument
[all …]
H A Ddtcompiler.h346 DT_SUBTABLE *Subtable);
350 DT_SUBTABLE *Subtable);
363 DT_SUBTABLE *Subtable);
372 DT_SUBTABLE *Subtable);
451 DT_SUBTABLE *Subtable,
H A Ddtutils.c162 DT_SUBTABLE *Subtable,
738 DT_SUBTABLE *Subtable, in DtSum() argument
746 Checksum = AcpiTbChecksum (Subtable->Buffer, Subtable->Length); in DtSum()
/illumos-gate/usr/src/cmd/acpi/common/
H A Ddmtbdump1.c181 ACPI_ASF_INFO *Subtable; in AcpiDmDumpAsf() local
194 Subtable = ACPI_ADD_PTR (ACPI_ASF_INFO, Table, Offset); in AcpiDmDumpAsf()
199 Status = AcpiDmDumpTable (Table->Length, Offset, Subtable, in AcpiDmDumpAsf()
200 Subtable->Header.Length, AcpiDmTableInfoAsfHdr); in AcpiDmDumpAsf()
208 Type = (UINT8) (Subtable->Header.Type & 0x7F); in AcpiDmDumpAsf()
221 DataTable = ACPI_ADD_PTR (UINT8, Subtable, sizeof (ACPI_ASF_ALERT)); in AcpiDmDumpAsf()
222 DataCount = ACPI_CAST_PTR (ACPI_ASF_ALERT, Subtable)->Alerts; in AcpiDmDumpAsf()
223 DataLength = ACPI_CAST_PTR (ACPI_ASF_ALERT, Subtable)->DataLength; in AcpiDmDumpAsf()
231 DataTable = ACPI_ADD_PTR (UINT8, Subtable, sizeof (ACPI_ASF_REMOTE)); in AcpiDmDumpAsf()
232 DataCount = ACPI_CAST_PTR (ACPI_ASF_REMOTE, Subtable)->Controls; in AcpiDmDumpAsf()
[all …]
H A Ddmtbdump2.c442 ACPI_IVRS_HEADER *Subtable; in AcpiDmDumpIvrs() local
456 Subtable = ACPI_ADD_PTR (ACPI_IVRS_HEADER, Table, Offset); in AcpiDmDumpIvrs()
462 Status = AcpiDmDumpTable (Table->Length, Offset, Subtable, in AcpiDmDumpIvrs()
463 Subtable->Length, AcpiDmTableInfoIvrsHdr); in AcpiDmDumpIvrs()
469 switch (Subtable->Type) in AcpiDmDumpIvrs()
486 Subtable->Type); in AcpiDmDumpIvrs()
490 if (!Subtable->Length) in AcpiDmDumpIvrs()
501 Status = AcpiDmDumpTable (Table->Length, Offset, Subtable, in AcpiDmDumpIvrs()
502 Subtable->Length, InfoTable); in AcpiDmDumpIvrs()
510 if (Subtable->Type == ACPI_IVRS_TYPE_HARDWARE) in AcpiDmDumpIvrs()
[all …]
H A Ddmtbdump3.c282 ACPI_SUBTABLE_HEADER *Subtable; in AcpiDmDumpSrat() local
296 Subtable = ACPI_ADD_PTR (ACPI_SUBTABLE_HEADER, Table, Offset); in AcpiDmDumpSrat()
302 Status = AcpiDmDumpTable (Table->Length, Offset, Subtable, in AcpiDmDumpSrat()
303 Subtable->Length, AcpiDmTableInfoSratHdr); in AcpiDmDumpSrat()
309 switch (Subtable->Type) in AcpiDmDumpSrat()
338 Subtable->Type); in AcpiDmDumpSrat()
342 if (!Subtable->Length) in AcpiDmDumpSrat()
351 Status = AcpiDmDumpTable (Table->Length, Offset, Subtable, in AcpiDmDumpSrat()
352 Subtable->Length, InfoTable); in AcpiDmDumpSrat()
361 Offset += Subtable->Length; in AcpiDmDumpSrat()
[all …]