Lines Matching refs:Subtable
202 DT_SUBTABLE *Subtable; in DtCompileAest() local
223 &Subtable); in DtCompileAest()
230 DtInsertSubtable (ParentTable, Subtable); in DtCompileAest()
234 DtPushSubtable (Subtable); in DtCompileAest()
240 ErrorNodeHeader = ACPI_CAST_PTR (ACPI_AEST_HEADER, Subtable->Buffer); in DtCompileAest()
306 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileAest()
314 Offset += Subtable->Length; in DtCompileAest()
318 DtInsertSubtable (ParentTable, Subtable); in DtCompileAest()
330 Subtable->Buffer); in DtCompileAest()
358 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileAest()
366 Offset += Subtable->Length; in DtCompileAest()
370 DtInsertSubtable (ParentTable, Subtable); in DtCompileAest()
381 &Subtable); in DtCompileAest()
388 DtInsertSubtable (ParentTable, Subtable); in DtCompileAest()
390 Offset += Subtable->Length; in DtCompileAest()
393 Subtable->Buffer); in DtCompileAest()
424 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileAest()
432 DtInsertSubtable (ParentTable, Subtable); in DtCompileAest()
440 Offset += Subtable->Length; in DtCompileAest()
463 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileAest()
470 DtInsertSubtable (ParentTable, Subtable); in DtCompileAest()
502 DT_SUBTABLE *Subtable; in DtCompileApmt() local
524 Status = DtCompileTable(PFieldList, AcpiDmTableInfoApmtNode, &Subtable); in DtCompileApmt()
531 ApmtNode = ACPI_CAST_PTR(ACPI_APMT_NODE, Subtable->Buffer); in DtCompileApmt()
564 DtInsertSubtable(ParentTable, Subtable); in DtCompileApmt()
595 DT_SUBTABLE *Subtable; in DtCompileAsf() local
610 &Subtable); in DtCompileAsf()
617 DtInsertSubtable (ParentTable, Subtable); in DtCompileAsf()
618 DtPushSubtable (Subtable); in DtCompileAsf()
620 AsfTable = ACPI_CAST_PTR (ACPI_ASF_INFO, Subtable->Buffer); in DtCompileAsf()
655 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileAsf()
662 DtInsertSubtable (ParentTable, Subtable); in DtCompileAsf()
675 ACPI_SUB_PTR (UINT8, Subtable->Buffer, in DtCompileAsf()
683 ACPI_SUB_PTR (UINT8, Subtable->Buffer, in DtCompileAsf()
696 ACPI_SUB_PTR (UINT8, Subtable->Buffer, in DtCompileAsf()
715 &Subtable); in DtCompileAsf()
721 DtInsertSubtable (ParentTable, Subtable); in DtCompileAsf()
722 DataCount = DataCount - Subtable->Length; in DtCompileAsf()
731 &Subtable); in DtCompileAsf()
737 DtInsertSubtable (ParentTable, Subtable); in DtCompileAsf()
766 DT_SUBTABLE *Subtable; in DtCompileAspt() local
773 Status = DtCompileTable (PFieldList, AcpiDmTableInfoAspt, &Subtable); in DtCompileAspt()
780 DtInsertSubtable (ParentTable, Subtable); in DtCompileAspt()
786 &Subtable); in DtCompileAspt()
793 DtInsertSubtable (ParentTable, Subtable); in DtCompileAspt()
794 DtPushSubtable (Subtable); in DtCompileAspt()
796 AsptTable = ACPI_CAST_PTR (ACPI_ASPT_HEADER, Subtable->Buffer); in DtCompileAspt()
821 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileAspt()
827 DtInsertSubtable (ParentTable, Subtable); in DtCompileAspt()
852 DT_SUBTABLE *Subtable; in DtCompileCdat() local
873 &Subtable); in DtCompileCdat()
880 DtInsertSubtable (ParentTable, Subtable); in DtCompileCdat()
881 DtPushSubtable (Subtable); in DtCompileCdat()
883 CdatHeader = ACPI_CAST_PTR (ACPI_CDAT_HEADER, Subtable->Buffer); in DtCompileCdat()
919 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileCdat()
926 DtInsertSubtable (ParentTable, Subtable); in DtCompileCdat()
939 Status = DtCompileTable (PFieldList, AcpiDmTableInfoCdatEntries, &Subtable); in DtCompileCdat()
945 DtInsertSubtable (ParentTable, Subtable); in DtCompileCdat()
979 DT_SUBTABLE *Subtable; in DtCompileCedt() local
998 &Subtable); in DtCompileCedt()
1005 DtInsertSubtable (ParentTable, Subtable); in DtCompileCedt()
1006 DtPushSubtable (Subtable); in DtCompileCedt()
1008 CedtHeader = ACPI_CAST_PTR (ACPI_CEDT_HEADER, Subtable->Buffer); in DtCompileCedt()
1013 Status = DtCompileTable (PFieldList, AcpiDmTableInfoCedt0, &Subtable); in DtCompileCedt()
1025 Status = DtCompileTable (PFieldList, AcpiDmTableInfoCedt1, &Subtable); in DtCompileCedt()
1033 dump = (unsigned char *) Subtable->Buffer - 4; /* place at beginning of cedt1 */ in DtCompileCedt()
1042 …DtInsertSubtable (ParentTable, Subtable); /* Insert AcpiDmTableInfoCedt1 table so we can put in … in DtCompileCedt()
1043 DtPushSubtable (Subtable); /* the targets > the first. */ in DtCompileCedt()
1052 Status = DtCompileTable (PFieldList, AcpiDmTableInfoCedt1_te, &Subtable); in DtCompileCedt()
1057 if (Subtable) in DtCompileCedt()
1059 … DtInsertSubtable (ParentTable, Subtable); /* got a target, so insert table. */ in DtCompileCedt()
1075 Status = DtCompileTable (PFieldList, AcpiDmTableInfoCedt2, &Subtable); in DtCompileCedt()
1083 dump = (unsigned char *) Subtable->Buffer - 4; /* place at beginning of cedt2 */ in DtCompileCedt()
1089 …DtInsertSubtable (ParentTable, Subtable); /* Insert AcpiDmTableInfoCedt2 table so we can put in … in DtCompileCedt()
1090 DtPushSubtable (Subtable); in DtCompileCedt()
1099 Status = DtCompileTable (PFieldList, AcpiDmTableInfoCedt2_te, &Subtable); in DtCompileCedt()
1104 if (Subtable) in DtCompileCedt()
1106 … DtInsertSubtable (ParentTable, Subtable); /* got an Xor map, so insert table. */ in DtCompileCedt()
1124 DtInsertSubtable (ParentTable, Subtable); in DtCompileCedt()
1175 DT_SUBTABLE *Subtable; in DtCompileCsrt() local
1190 &Subtable); in DtCompileCsrt()
1200 Subtable->Buffer))->Length - in DtCompileCsrt()
1202 Subtable->Buffer))->SharedInfoLength - in DtCompileCsrt()
1208 DtInsertSubtable (ParentTable, Subtable); in DtCompileCsrt()
1209 DtPushSubtable (Subtable); in DtCompileCsrt()
1215 &Subtable); in DtCompileCsrt()
1221 DtInsertSubtable (ParentTable, Subtable); in DtCompileCsrt()
1229 &Subtable); in DtCompileCsrt()
1235 DtInsertSubtable (ParentTable, Subtable); in DtCompileCsrt()
1237 DtPushSubtable (Subtable); in DtCompileCsrt()
1242 &Subtable); in DtCompileCsrt()
1247 if (Subtable) in DtCompileCsrt()
1249 DtInsertSubtable (ParentTable, Subtable); in DtCompileCsrt()
1283 DT_SUBTABLE *Subtable; in DtCompileDbg2() local
1295 Status = DtCompileTable (PFieldList, AcpiDmTableInfoDbg2, &Subtable); in DtCompileDbg2()
1302 DtInsertSubtable (ParentTable, Subtable); in DtCompileDbg2()
1306 Dbg2Header = ACPI_CAST_PTR (ACPI_DBG2_HEADER, Subtable->Buffer); in DtCompileDbg2()
1311 DtPushSubtable (Subtable); in DtCompileDbg2()
1320 &Subtable); in DtCompileDbg2()
1326 DeviceInfo = ACPI_CAST_PTR (ACPI_DBG2_DEVICE, Subtable->Buffer); in DtCompileDbg2()
1330 DtInsertSubtable (ParentTable, Subtable); in DtCompileDbg2()
1331 DtPushSubtable (Subtable); in DtCompileDbg2()
1341 &Subtable); in DtCompileDbg2()
1348 DtInsertSubtable (ParentTable, Subtable); in DtCompileDbg2()
1357 &Subtable); in DtCompileDbg2()
1364 DtInsertSubtable (ParentTable, Subtable); in DtCompileDbg2()
1371 &Subtable); in DtCompileDbg2()
1379 DeviceInfo->NamepathLength = (UINT16) Subtable->Length; in DtCompileDbg2()
1381 DtInsertSubtable (ParentTable, Subtable); in DtCompileDbg2()
1386 &Subtable); in DtCompileDbg2()
1405 if (Subtable && Subtable->Length) in DtCompileDbg2()
1408 DeviceInfo->OemDataLength = (UINT16) Subtable->Length; in DtCompileDbg2()
1410 DtInsertSubtable (ParentTable, Subtable); in DtCompileDbg2()
1439 DT_SUBTABLE *Subtable; in DtCompileDmar() local
1450 Status = DtCompileTable (PFieldList, AcpiDmTableInfoDmar, &Subtable); in DtCompileDmar()
1457 DtInsertSubtable (ParentTable, Subtable); in DtCompileDmar()
1458 DtPushSubtable (Subtable); in DtCompileDmar()
1466 &Subtable); in DtCompileDmar()
1473 DtInsertSubtable (ParentTable, Subtable); in DtCompileDmar()
1474 DtPushSubtable (Subtable); in DtCompileDmar()
1476 DmarHeader = ACPI_CAST_PTR (ACPI_DMAR_HEADER, Subtable->Buffer); in DtCompileDmar()
1518 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileDmar()
1525 DtInsertSubtable (ParentTable, Subtable); in DtCompileDmar()
1539 DtPushSubtable (Subtable); in DtCompileDmar()
1540 DeviceScopeLength = DmarHeader->Length - Subtable->Length - in DtCompileDmar()
1545 &Subtable); in DtCompileDmar()
1552 DtInsertSubtable (ParentTable, Subtable); in DtCompileDmar()
1553 DtPushSubtable (Subtable); in DtCompileDmar()
1555 DmarDeviceScope = ACPI_CAST_PTR (ACPI_DMAR_DEVICE_SCOPE, Subtable->Buffer); in DtCompileDmar()
1559 PciPathLength = DmarDeviceScope->Length - Subtable->Length; in DtCompileDmar()
1563 &Subtable); in DtCompileDmar()
1571 DtInsertSubtable (ParentTable, Subtable); in DtCompileDmar()
1572 PciPathLength -= Subtable->Length; in DtCompileDmar()
1604 DT_SUBTABLE *Subtable; in DtCompileDrtm() local
1619 &Subtable); in DtCompileDrtm()
1624 DtInsertSubtable (ParentTable, Subtable); in DtCompileDrtm()
1632 Subtable->Buffer, sizeof (ACPI_TABLE_HEADER)); in DtCompileDrtm()
1637 &Subtable); in DtCompileDrtm()
1643 DtInsertSubtable (ParentTable, Subtable); in DtCompileDrtm()
1644 DrtmVtl = ACPI_CAST_PTR (ACPI_DRTM_VTABLE_LIST, Subtable->Buffer); in DtCompileDrtm()
1646 DtPushSubtable (Subtable); in DtCompileDrtm()
1653 &Subtable); in DtCompileDrtm()
1658 if (!Subtable) in DtCompileDrtm()
1662 DtInsertSubtable (ParentTable, Subtable); in DtCompileDrtm()
1673 &Subtable); in DtCompileDrtm()
1679 DtInsertSubtable (ParentTable, Subtable); in DtCompileDrtm()
1680 DrtmRl = ACPI_CAST_PTR (ACPI_DRTM_RESOURCE_LIST, Subtable->Buffer); in DtCompileDrtm()
1682 DtPushSubtable (Subtable); in DtCompileDrtm()
1689 &Subtable); in DtCompileDrtm()
1695 if (!Subtable) in DtCompileDrtm()
1700 DtInsertSubtable (ParentTable, Subtable); in DtCompileDrtm()
1711 &Subtable); in DtCompileDrtm()
1716 DtInsertSubtable (ParentTable, Subtable); in DtCompileDrtm()
1791 DT_SUBTABLE *Subtable; in DtCompileGtdt() local
1808 &Subtable); in DtCompileGtdt()
1819 DtInsertSubtable (ParentTable, Subtable); in DtCompileGtdt()
1822 AcpiDmTableInfoGtdtEl2, &Subtable); in DtCompileGtdt()
1830 DtInsertSubtable (ParentTable, Subtable); in DtCompileGtdt()
1836 &Subtable); in DtCompileGtdt()
1843 DtInsertSubtable (ParentTable, Subtable); in DtCompileGtdt()
1844 DtPushSubtable (Subtable); in DtCompileGtdt()
1846 GtdtHeader = ACPI_CAST_PTR (ACPI_SUBTABLE_HEADER, Subtable->Buffer); in DtCompileGtdt()
1866 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileGtdt()
1873 DtInsertSubtable (ParentTable, Subtable); in DtCompileGtdt()
1883 DtPushSubtable (Subtable); in DtCompileGtdt()
1887 Subtable->Buffer - sizeof(ACPI_GTDT_HEADER)))->TimerCount; in DtCompileGtdt()
1892 &Subtable); in DtCompileGtdt()
1898 DtInsertSubtable (ParentTable, Subtable); in DtCompileGtdt()
1935 DT_SUBTABLE *Subtable; in DtCompileFpdt() local
1946 &Subtable); in DtCompileFpdt()
1953 DtInsertSubtable (ParentTable, Subtable); in DtCompileFpdt()
1954 DtPushSubtable (Subtable); in DtCompileFpdt()
1956 FpdtHeader = ACPI_CAST_PTR (ACPI_FPDT_HEADER, Subtable->Buffer); in DtCompileFpdt()
1977 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileFpdt()
1984 DtInsertSubtable (ParentTable, Subtable); in DtCompileFpdt()
2009 DT_SUBTABLE *Subtable; in DtCompileHest() local
2019 &Subtable); in DtCompileHest()
2026 DtInsertSubtable (ParentTable, Subtable); in DtCompileHest()
2090 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileHest()
2096 DtInsertSubtable (ParentTable, Subtable); in DtCompileHest()
2107 Subtable->Buffer))->NumHardwareBanks; in DtCompileHest()
2113 Subtable->Buffer))->NumHardwareBanks; in DtCompileHest()
2119 Subtable->Buffer))->NumHardwareBanks; in DtCompileHest()
2130 &Subtable); in DtCompileHest()
2136 DtInsertSubtable (ParentTable, Subtable); in DtCompileHest()
2162 DT_SUBTABLE *Subtable; in DtCompileHmat() local
2180 &Subtable); in DtCompileHmat()
2185 DtInsertSubtable (ParentTable, Subtable); in DtCompileHmat()
2193 &Subtable); in DtCompileHmat()
2198 DtInsertSubtable (ParentTable, Subtable); in DtCompileHmat()
2200 HmatStruct = ACPI_CAST_PTR (ACPI_HMAT_STRUCTURE, Subtable->Buffer); in DtCompileHmat()
2201 HmatStruct->Length = Subtable->Length; in DtCompileHmat()
2228 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileHmat()
2233 DtInsertSubtable (ParentTable, Subtable); in DtCompileHmat()
2234 HmatStruct->Length += Subtable->Length; in DtCompileHmat()
2243 Subtable->Buffer, sizeof (ACPI_HMAT_STRUCTURE)); in DtCompileHmat()
2251 AcpiDmTableInfoHmat1a, &Subtable); in DtCompileHmat()
2256 if (!Subtable) in DtCompileHmat()
2260 DtInsertSubtable (ParentTable, Subtable); in DtCompileHmat()
2261 HmatStruct->Length += Subtable->Length; in DtCompileHmat()
2272 AcpiDmTableInfoHmat1b, &Subtable); in DtCompileHmat()
2277 if (!Subtable) in DtCompileHmat()
2281 DtInsertSubtable (ParentTable, Subtable); in DtCompileHmat()
2282 HmatStruct->Length += Subtable->Length; in DtCompileHmat()
2297 AcpiDmTableInfoHmat1c, &Subtable); in DtCompileHmat()
2302 if (!Subtable) in DtCompileHmat()
2306 DtInsertSubtable (ParentTable, Subtable); in DtCompileHmat()
2307 HmatStruct->Length += Subtable->Length; in DtCompileHmat()
2326 Subtable->Buffer, sizeof (ACPI_HMAT_STRUCTURE)); in DtCompileHmat()
2331 AcpiDmTableInfoHmat2a, &Subtable); in DtCompileHmat()
2336 if (!Subtable) in DtCompileHmat()
2340 DtInsertSubtable (ParentTable, Subtable); in DtCompileHmat()
2341 HmatStruct->Length += Subtable->Length; in DtCompileHmat()
2374 DT_SUBTABLE *Subtable; in DtCompileIort() local
2398 &Subtable); in DtCompileIort()
2403 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2421 Subtable->Buffer, sizeof (ACPI_TABLE_HEADER)); in DtCompileIort()
2431 &Subtable); in DtCompileIort()
2436 if (Subtable) in DtCompileIort()
2438 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2439 Iort->NodeOffset += Subtable->Length; in DtCompileIort()
2459 &Subtable); in DtCompileIort()
2464 &Subtable); in DtCompileIort()
2472 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2473 IortNode = ACPI_CAST_PTR (ACPI_IORT_NODE, Subtable->Buffer); in DtCompileIort()
2476 DtPushSubtable (Subtable); in DtCompileIort()
2484 &Subtable); in DtCompileIort()
2490 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2491 IortItsGroup = ACPI_CAST_PTR (ACPI_IORT_ITS_GROUP, Subtable->Buffer); in DtCompileIort()
2492 NodeLength += Subtable->Length; in DtCompileIort()
2498 &Subtable); in DtCompileIort()
2503 if (!Subtable) in DtCompileIort()
2508 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2509 NodeLength += Subtable->Length; in DtCompileIort()
2519 &Subtable); in DtCompileIort()
2525 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2526 NodeLength += Subtable->Length; in DtCompileIort()
2534 &Subtable); in DtCompileIort()
2540 if (Subtable) in DtCompileIort()
2542 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2543 NodeLength += Subtable->Length; in DtCompileIort()
2556 &Subtable); in DtCompileIort()
2562 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2571 &Subtable); in DtCompileIort()
2577 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2578 NodeLength += Subtable->Length; in DtCompileIort()
2584 &Subtable); in DtCompileIort()
2590 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2591 IortSmmu = ACPI_CAST_PTR (ACPI_IORT_SMMU, Subtable->Buffer); in DtCompileIort()
2592 NodeLength += Subtable->Length; in DtCompileIort()
2598 &Subtable); in DtCompileIort()
2604 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2605 NodeLength += Subtable->Length; in DtCompileIort()
2614 &Subtable); in DtCompileIort()
2620 if (!Subtable) in DtCompileIort()
2625 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2626 NodeLength += Subtable->Length; in DtCompileIort()
2639 &Subtable); in DtCompileIort()
2645 if (!Subtable) in DtCompileIort()
2650 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2651 NodeLength += Subtable->Length; in DtCompileIort()
2661 &Subtable); in DtCompileIort()
2667 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2668 NodeLength += Subtable->Length; in DtCompileIort()
2674 &Subtable); in DtCompileIort()
2680 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2681 NodeLength += Subtable->Length; in DtCompileIort()
2687 &Subtable); in DtCompileIort()
2693 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2694 IortRmr = ACPI_CAST_PTR (ACPI_IORT_RMR, Subtable->Buffer); in DtCompileIort()
2695 NodeLength += Subtable->Length; in DtCompileIort()
2704 &Subtable); in DtCompileIort()
2710 if (!Subtable) in DtCompileIort()
2715 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2736 &Subtable); in DtCompileIort()
2742 if (!Subtable) in DtCompileIort()
2747 DtInsertSubtable (ParentTable, Subtable); in DtCompileIort()
2800 DT_SUBTABLE *Subtable; in DtCompileIvrs() local
2814 &Subtable); in DtCompileIvrs()
2821 DtInsertSubtable (ParentTable, Subtable); in DtCompileIvrs()
2822 DtPushSubtable (Subtable); in DtCompileIvrs()
2826 MainSubtable = Subtable; in DtCompileIvrs()
2914 &Subtable); in DtCompileIvrs()
2930 DtInsertSubtable (ParentTable, Subtable); in DtCompileIvrs()
2944 DtInsertSubtable (MainSubtable, Subtable); in DtCompileIvrs()
2945 DtPushSubtable (Subtable); in DtCompileIvrs()
2954 DtInsertSubtable (ParentTable, Subtable); in DtCompileIvrs()
2977 &Subtable); in DtCompileIvrs()
2988 &Subtable); in DtCompileIvrs()
2995 DtInsertSubtable (ParentTable, Subtable); in DtCompileIvrs()
3009 &Subtable); in DtCompileIvrs()
3020 &Subtable); in DtCompileIvrs()
3027 DtInsertSubtable (ParentTable, Subtable); in DtCompileIvrs()
3047 &Subtable); in DtCompileIvrs()
3052 DtInsertSubtable (ParentTable, Subtable); in DtCompileIvrs()
3058 &Subtable); in DtCompileIvrs()
3063 DtInsertSubtable (ParentTable, Subtable); in DtCompileIvrs()