Home | History | Annotate | Download | only in compiler

Lines Matching defs:Subtable

202     DT_SUBTABLE             *Subtable;
223 &Subtable);
230 DtInsertSubtable (ParentTable, Subtable);
232 /* Everything past the error node header will be a subtable */
234 DtPushSubtable (Subtable);
240 ErrorNodeHeader = ACPI_CAST_PTR (ACPI_AEST_HEADER, Subtable->Buffer);
301 AcpiOsPrintf ("Unknown AEST Subtable Type: %X\n",
306 Status = DtCompileTable (PFieldList, InfoTable, &Subtable);
314 Offset += Subtable->Length;
318 DtInsertSubtable (ParentTable, Subtable);
330 Subtable->Buffer);
358 Status = DtCompileTable (PFieldList, InfoTable, &Subtable);
364 /* Point past the resource substructure subtable */
366 Offset += Subtable->Length;
370 DtInsertSubtable (ParentTable, Subtable);
381 &Subtable);
388 DtInsertSubtable (ParentTable, Subtable);
390 Offset += Subtable->Length;
393 Subtable->Buffer);
424 Status = DtCompileTable (PFieldList, InfoTable, &Subtable);
432 DtInsertSubtable (ParentTable, Subtable);
440 Offset += Subtable->Length;
463 Status = DtCompileTable (PFieldList, InfoTable, &Subtable);
470 DtInsertSubtable (ParentTable, Subtable);
502 DT_SUBTABLE *Subtable;
520 /* APMT Node Subtable */
524 Status = DtCompileTable(PFieldList, AcpiDmTableInfoApmtNode, &Subtable);
531 ApmtNode = ACPI_CAST_PTR(ACPI_APMT_NODE, Subtable->Buffer);
564 DtInsertSubtable(ParentTable, Subtable);
595 DT_SUBTABLE *Subtable;
610 &Subtable);
617 DtInsertSubtable (ParentTable, Subtable);
618 DtPushSubtable (Subtable);
620 AsfTable = ACPI_CAST_PTR (ACPI_ASF_INFO, Subtable->Buffer);
655 Status = DtCompileTable (PFieldList, InfoTable, &Subtable);
662 DtInsertSubtable (ParentTable, Subtable);
675 ACPI_SUB_PTR (UINT8, Subtable->Buffer,
683 ACPI_SUB_PTR (UINT8, Subtable->Buffer,
696 ACPI_SUB_PTR (UINT8, Subtable->Buffer,
715 &Subtable);
721 DtInsertSubtable (ParentTable, Subtable);
722 DataCount = DataCount - Subtable->Length;
731 &Subtable);
737 DtInsertSubtable (ParentTable, Subtable);
766 DT_SUBTABLE *Subtable;
773 Status = DtCompileTable (PFieldList, AcpiDmTableInfoAspt, &Subtable);
780 DtInsertSubtable (ParentTable, Subtable);
786 &Subtable);
793 DtInsertSubtable (ParentTable, Subtable);
794 DtPushSubtable (Subtable);
796 AsptTable = ACPI_CAST_PTR (ACPI_ASPT_HEADER, Subtable->Buffer);
821 Status = DtCompileTable (PFieldList, InfoTable, &Subtable);
827 DtInsertSubtable (ParentTable, Subtable);
852 DT_SUBTABLE *Subtable;
870 /* Compile the expected CDAT Subtable header */
873 &Subtable);
880 DtInsertSubtable (ParentTable, Subtable);
881 DtPushSubtable (Subtable);
883 CdatHeader = ACPI_CAST_PTR (ACPI_CDAT_HEADER, Subtable->Buffer);
885 /* Decode the subtable by type */
917 /* Compile the CDAT subtable */
919 Status = DtCompileTable (PFieldList, InfoTable, &Subtable);
926 DtInsertSubtable (ParentTable, Subtable);
939 Status = DtCompileTable (PFieldList, AcpiDmTableInfoCdatEntries, &Subtable);
945 DtInsertSubtable (ParentTable, Subtable);
953 /* Pop off the CDAT Subtable header subtree */
979 DT_SUBTABLE *Subtable;
998 &Subtable);
1005 DtInsertSubtable (ParentTable, Subtable);
1006 DtPushSubtable (Subtable);
1008 CedtHeader = ACPI_CAST_PTR (ACPI_CEDT_HEADER, Subtable->Buffer);
1013 Status = DtCompileTable (PFieldList, AcpiDmTableInfoCedt0, &Subtable);
1025 Status = DtCompileTable (PFieldList, AcpiDmTableInfoCedt1, &Subtable);
1033 dump = (unsigned char *) Subtable->Buffer - 4; /* place at beginning of cedt1 */
1039 /* We need to add more interleave targets, so write the current Subtable. */
1042 DtInsertSubtable (ParentTable, Subtable); /* Insert AcpiDmTableInfoCedt1 table so we can put in */
1043 DtPushSubtable (Subtable); /* the targets > the first. */
1052 Status = DtCompileTable (PFieldList, AcpiDmTableInfoCedt1_te, &Subtable);
1057 if (Subtable)
1059 DtInsertSubtable (ParentTable, Subtable); /* got a target, so insert table. */
1075 Status = DtCompileTable (PFieldList, AcpiDmTableInfoCedt2, &Subtable);
1083 dump = (unsigned char *) Subtable->Buffer - 4; /* place at beginning of cedt2 */
1086 /* We need to add more XOR maps, so write the current Subtable. */
1089 DtInsertSubtable (ParentTable, Subtable); /* Insert AcpiDmTableInfoCedt2 table so we can put in */
1090 DtPushSubtable (Subtable);
1099 Status = DtCompileTable (PFieldList, AcpiDmTableInfoCedt2_te, &Subtable);
1104 if (Subtable)
1106 DtInsertSubtable (ParentTable, Subtable); /* got an Xor map, so insert table. */
1124 DtInsertSubtable (ParentTable, Subtable);
1175 DT_SUBTABLE *Subtable;
1187 /* Resource group subtable */
1190 &Subtable);
1200 Subtable->Buffer))->Length -
1202 Subtable->Buffer))->SharedInfoLength -
1208 DtInsertSubtable (ParentTable, Subtable);
1209 DtPushSubtable (Subtable);
1212 /* Shared info subtable (One per resource group) */
1215 &Subtable);
1221 DtInsertSubtable (ParentTable, Subtable);
1229 &Subtable);
1235 DtInsertSubtable (ParentTable, Subtable);
1237 DtPushSubtable (Subtable);
1242 &Subtable);
1247 if (Subtable)
1249 DtInsertSubtable (ParentTable, Subtable);
1283 DT_SUBTABLE *Subtable;
1295 Status = DtCompileTable (PFieldList, AcpiDmTableInfoDbg2, &Subtable);
1302 DtInsertSubtable (ParentTable, Subtable);
1306 Dbg2Header = ACPI_CAST_PTR (ACPI_DBG2_HEADER, Subtable->Buffer);
1311 DtPushSubtable (Subtable);
1317 /* Subtable: Debug Device Information */
1320 &Subtable);
1326 DeviceInfo = ACPI_CAST_PTR (ACPI_DBG2_DEVICE, Subtable->Buffer);
1330 DtInsertSubtable (ParentTable, Subtable);
1331 DtPushSubtable (Subtable);
1341 &Subtable);
1348 DtInsertSubtable (ParentTable, Subtable);
1357 &Subtable);
1364 DtInsertSubtable (ParentTable, Subtable);
1371 &Subtable);
1379 DeviceInfo->NamepathLength = (UINT16) Subtable->Length;
1381 DtInsertSubtable (ParentTable, Subtable);
1386 &Subtable);
1403 /* Optional subtable (OemData) */
1405 if (Subtable && Subtable->Length)
1408 DeviceInfo->OemDataLength = (UINT16) Subtable->Length;
1410 DtInsertSubtable (ParentTable, Subtable);
1414 DtPopSubtable (); /* Get next Device Information subtable */
1439 DT_SUBTABLE *Subtable;
1450 Status = DtCompileTable (PFieldList, AcpiDmTableInfoDmar, &Subtable);
1457 DtInsertSubtable (ParentTable, Subtable);
1458 DtPushSubtable (Subtable);
1466 &Subtable);
1473 DtInsertSubtable (ParentTable, Subtable);
1474 DtPushSubtable (Subtable);
1476 DmarHeader = ACPI_CAST_PTR (ACPI_DMAR_HEADER, Subtable->Buffer);
1521 /* DMAR Subtable */
1523 Status = DtCompileTable (PFieldList, InfoTable, &Subtable);
1530 DtInsertSubtable (ParentTable, Subtable);
1544 DtPushSubtable (Subtable);
1545 DeviceScopeLength = DmarHeader->Length - Subtable->Length -
1550 &Subtable);
1557 DtInsertSubtable (ParentTable, Subtable);
1558 DtPushSubtable (Subtable);
1560 DmarDeviceScope = ACPI_CAST_PTR (ACPI_DMAR_DEVICE_SCOPE, Subtable->Buffer);
1564 PciPathLength = DmarDeviceScope->Length - Subtable->Length;
1568 &Subtable);
1576 DtInsertSubtable (ParentTable, Subtable);
1577 PciPathLength -= Subtable->Length;
1609 DT_SUBTABLE *Subtable;
1624 &Subtable);
1629 DtInsertSubtable (ParentTable, Subtable);
1637 Subtable->Buffer, sizeof (ACPI_TABLE_HEADER));
1642 &Subtable);
1648 DtInsertSubtable (ParentTable, Subtable);
1649 DrtmVtl = ACPI_CAST_PTR (ACPI_DRTM_VTABLE_LIST, Subtable->Buffer);
1651 DtPushSubtable (Subtable);
1658 &Subtable);
1663 if (!Subtable)
1667 DtInsertSubtable (ParentTable, Subtable);
1678 &Subtable);
1684 DtInsertSubtable (ParentTable, Subtable);
1685 DrtmRl = ACPI_CAST_PTR (ACPI_DRTM_RESOURCE_LIST, Subtable->Buffer);
1687 DtPushSubtable (Subtable);
1694 &Subtable);
1700 if (!Subtable)
1705 DtInsertSubtable (ParentTable, Subtable);
1716 &Subtable);
1721 DtInsertSubtable (ParentTable, Subtable);
1722 /* DrtmDps = ACPI_CAST_PTR (ACPI_DRTM_DPS_ID, Subtable->Buffer);*/
1771 DT_SUBTABLE *Subtable, *RmddSubtable = NULL, *Subsubtable;
1784 &Subtable);
1791 DtInsertSubtable (ParentTable, Subtable);
1797 &Subtable);
1803 ErdtHeader = ACPI_CAST_PTR (ACPI_SUBTBL_HDR_16, Subtable->Buffer);
1812 RmddSubtable = Subtable;
1824 DtInsertSubtable (ParentTable, Subtable);
1825 DtPushSubtable (Subtable);
1878 Status = DtCompileTable (PFieldList, InfoTable, &Subtable);
1885 DtInsertSubtable (ParentTable, Subtable);
1887 /* Some subtable types end with flex arrays */
1895 AcpiDmTableInfoErdtCacdX2apic, &Subtable);
1900 if (!Subtable)
1906 DtInsertSubtable (ParentTable, Subtable);
1914 AcpiDmTableInfoErdtDacdScope, &Subtable);
1919 if (!Subtable)
1924 DtPushSubtable (Subtable);
1944 DtInsertSubtable (ParentTable, Subtable);
1949 Mmrc = ACPI_SUB_PTR (ACPI_ERDT_MMRC, Subtable->Buffer,
1955 AcpiDmTableInfoErdtMmrcCorrFactor, &Subtable);
1960 if (!Subtable)
1966 DtInsertSubtable (ParentTable, Subtable);
1973 Ibrd = ACPI_SUB_PTR (ACPI_ERDT_IBRD, Subtable->Buffer,
1979 AcpiDmTableInfoErdtIbrdCorrFactor, &Subtable);
1984 if (!Subtable)
1990 DtInsertSubtable (ParentTable, Subtable);
1997 /* Already checked for valid subtable type above */
2055 DT_SUBTABLE *Subtable;
2072 &Subtable);
2083 DtInsertSubtable (ParentTable, Subtable);
2086 AcpiDmTableInfoGtdtEl2, &Subtable);
2094 DtInsertSubtable (ParentTable, Subtable);
2100 &Subtable);
2107 DtInsertSubtable (ParentTable, Subtable);
2108 DtPushSubtable (Subtable);
2110 GtdtHeader = ACPI_CAST_PTR (ACPI_SUBTABLE_HEADER, Subtable->Buffer);
2130 Status = DtCompileTable (PFieldList, InfoTable, &Subtable);
2137 DtInsertSubtable (ParentTable, Subtable);
2140 * Additional GT block subtable data
2147 DtPushSubtable (Subtable);
2151 Subtable->Buffer - sizeof(ACPI_GTDT_HEADER)))->TimerCount;
2156 &Subtable);
2162 DtInsertSubtable (ParentTable, Subtable);
2199 DT_SUBTABLE *Subtable;
2210 &Subtable);
2217 DtInsertSubtable (ParentTable, Subtable);
2218 DtPushSubtable (Subtable);
2220 FpdtHeader = ACPI_CAST_PTR (ACPI_FPDT_HEADER, Subtable->Buffer);
2241 Status = DtCompileTable (PFieldList, InfoTable, &Subtable);
2248 DtInsertSubtable (ParentTable, Subtable);
2273 DT_SUBTABLE *Subtable;
2283 &Subtable);
2290 DtInsertSubtable (ParentTable, Subtable);
2294 /* Get subtable type */
2354 Status = DtCompileTable (PFieldList, InfoTable, &Subtable);
2360 DtInsertSubtable (ParentTable, Subtable);
2363 * Additional subtable data - IA32 Error Bank(s)
2371 Subtable->Buffer))->NumHardwareBanks;
2377 Subtable->Buffer))->NumHardwareBanks;
2383 Subtable->Buffer))->NumHardwareBanks;
2394 &Subtable);
2400 DtInsertSubtable (ParentTable, Subtable);
2426 DT_SUBTABLE *Subtable;
2444 &Subtable);
2449 DtInsertSubtable (ParentTable, Subtable);
2457 &Subtable);
2462 DtInsertSubtable (ParentTable, Subtable);
2464 HmatStruct = ACPI_CAST_PTR (ACPI_HMAT_STRUCTURE, Subtable->Buffer);
2465 HmatStruct->Length = Subtable->Length;
2492 Status = DtCompileTable (PFieldList, InfoTable, &Subtable);
2497 DtInsertSubtable (ParentTable, Subtable);
2498 HmatStruct->Length += Subtable->Length;
2507 Subtable->Buffer, sizeof (ACPI_HMAT_STRUCTURE));
2515 AcpiDmTableInfoHmat1a, &Subtable);
2520 if (!Subtable)
2524 DtInsertSubtable (ParentTable, Subtable);
2525 HmatStruct->Length += Subtable->Length;
2536 AcpiDmTableInfoHmat1b, &Subtable);
2541 if (!Subtable)
2545 DtInsertSubtable (ParentTable, Subtable);
2546 HmatStruct->Length += Subtable->Length;
2561 AcpiDmTableInfoHmat1c, &Subtable);
2566 if (!Subtable)
2570 DtInsertSubtable (ParentTable, Subtable);
2571 HmatStruct->Length += Subtable->Length;
2590 Subtable->Buffer, sizeof (ACPI_HMAT_STRUCTURE));
2595 AcpiDmTableInfoHmat2a, &Subtable);
2600 if (!Subtable)
2604 DtInsertSubtable (ParentTable, Subtable);
2605 HmatStruct->Length += Subtable->Length;
2638 DT_SUBTABLE *Subtable;
2662 &Subtable);
2667 DtInsertSubtable (ParentTable, Subtable);
2685 Subtable->Buffer, sizeof (ACPI_TABLE_HEADER));
2695 &Subtable);
2700 if (Subtable)
2702 DtInsertSubtable (ParentTable, Subtable);
2703 Iort->NodeOffset += Subtable->Length;
2723 &Subtable);
2728 &Subtable);
2736 DtInsertSubtable (ParentTable, Subtable);
2737 IortNode = ACPI_CAST_PTR (ACPI_IORT_NODE, Subtable->Buffer);
2740 DtPushSubtable (Subtable);
2748 &Subtable);
2754 DtInsertSubtable (ParentTable, Subtable);
2755 IortItsGroup = ACPI_CAST_PTR (ACPI_IORT_ITS_GROUP, Subtable->Buffer);
2756 NodeLength += Subtable->Length;
2762 &Subtable);
2767 if (!Subtable)
2772 DtInsertSubtable (ParentTable, Subtable);
2773 NodeLength += Subtable->Length;
2783 &Subtable);
2789 DtInsertSubtable (ParentTable, Subtable);
2790 NodeLength += Subtable->Length;
2798 &Subtable);
2804 if (Subtable)
2806 DtInsertSubtable (ParentTable, Subtable);
2807 NodeLength += Subtable->Length;
2820 &Subtable);
2826 DtInsertSubtable (ParentTable, Subtable);
2835 &Subtable);
2841 DtInsertSubtable (ParentTable, Subtable);
2842 NodeLength += Subtable->Length;
2848 &Subtable);
2854 DtInsertSubtable (ParentTable, Subtable);
2855 IortSmmu = ACPI_CAST_PTR (ACPI_IORT_SMMU, Subtable->Buffer);
2856 NodeLength += Subtable->Length;
2862 &Subtable);
2868 DtInsertSubtable (ParentTable, Subtable);
2869 NodeLength += Subtable->Length;
2878 &Subtable);
2884 if (!Subtable)
2889 DtInsertSubtable (ParentTable, Subtable);
2890 NodeLength += Subtable->Length;
2903 &Subtable);
2909 if (!Subtable)
2914 DtInsertSubtable (ParentTable, Subtable);
2915 NodeLength += Subtable->Length;
2925 &Subtable);
2931 DtInsertSubtable (ParentTable, Subtable);
2932 NodeLength += Subtable->Length;
2938 &Subtable);
2944 DtInsertSubtable (ParentTable, Subtable);
2945 NodeLength += Subtable->Length;
2951 &Subtable);
2957 DtInsertSubtable (ParentTable, Subtable);
2958 IortRmr = ACPI_CAST_PTR (ACPI_IORT_RMR, Subtable->Buffer);
2959 NodeLength += Subtable->Length;
2968 &Subtable);
2974 if (!Subtable)
2979 DtInsertSubtable (ParentTable, Subtable);
3000 &Subtable);
3006 if (!Subtable)
3011 DtInsertSubtable (ParentTable, Subtable);
3048 * <Main subtable - virtualization info>
3064 DT_SUBTABLE *Subtable;
3078 &Subtable);
3085 DtInsertSubtable (ParentTable, Subtable);
3086 DtPushSubtable (Subtable);
3088 /* Save a pointer to the main subtable */
3090 MainSubtable = Subtable;
3178 &Subtable);
3194 DtInsertSubtable (ParentTable, Subtable);
3206 /* Insert these IVHDs/IVMDs at the root subtable */
3208 DtInsertSubtable (MainSubtable, Subtable);
3209 DtPushSubtable (Subtable);
3218 DtInsertSubtable (ParentTable, Subtable);
3241 &Subtable);
3252 &Subtable);
3259 DtInsertSubtable (ParentTable, Subtable);
3273 &Subtable);
3284 &Subtable);
3291 DtInsertSubtable (ParentTable, Subtable);
3311 &Subtable);
3316 DtInsertSubtable (ParentTable, Subtable);
3322 &Subtable);
3327 DtInsertSubtable (ParentTable, Subtable);
3339 /* All other subtable types come through here */
3370 DT_SUBTABLE *Subtable;
3382 Status = DtCompileTable (PFieldList, AcpiDmTableInfoRimt, &Subtable);
3388 DtInsertSubtable (ParentTable, Subtable);
3394 Rimt = ACPI_SUB_PTR (ACPI_TABLE_RIMT, Subtable->Buffer,
3401 Status = DtCompileTable (PFieldList, AcpiDmTableInfoRimtNodeHdr, &Subtable);
3408 DtInsertSubtable (ParentTable, Subtable);
3409 Subtable->Buffer);
3412 DtPushSubtable (Subtable);
3420 &Subtable);
3426 IommuNode = ACPI_CAST_PTR (ACPI_RIMT_IOMMU, Subtable->Buffer);
3427 DtInsertSubtable (ParentTable, Subtable);
3428 NodeLength += Subtable->Length;
3436 &Subtable);
3441 if (!Subtable)
3446 DtInsertSubtable (ParentTable, Subtable);
3447 NodeLength += Subtable->Length;
3456 &Subtable);
3462 DtInsertSubtable (ParentTable, Subtable);
3463 PcieRcNode = ACPI_CAST_PTR (ACPI_RIMT_PCIE_RC, Subtable->Buffer);
3464 NodeLength += Subtable->Length;
3474 &Subtable);
3480 if (!Subtable)
3485 DtInsertSubtable (ParentTable, Subtable);
3501 &Subtable);
3507 DtInsertSubtable (ParentTable, Subtable);
3508 PlatDevNode = ACPI_CAST_PTR (ACPI_RIMT_PLATFORM_DEVICE, Subtable->Buffer);
3509 NodeLength += Subtable->Length;
3517 &Subtable);
3523 if (Subtable)
3525 DtInsertSubtable (ParentTable, Subtable);
3526 NodeLength += Subtable->Length;
3539 &Subtable);
3545 DtInsertSubtable (ParentTable, Subtable);
3558 &Subtable);
3564 if (!Subtable)
3569 DtInsertSubtable (ParentTable, Subtable);