Lines Matching refs:Subtable
177 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
264 &Subtable); in DtCompileMadt()
271 DtInsertSubtable (ParentTable, Subtable); in DtCompileMadt()
280 &Subtable); in DtCompileMadt()
287 DtInsertSubtable (ParentTable, Subtable); in DtCompileMadt()
288 DtPushSubtable (Subtable); in DtCompileMadt()
290 MadtHeader = ACPI_CAST_PTR (ACPI_SUBTABLE_HEADER, Subtable->Buffer); in DtCompileMadt()
457 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileMadt()
464 DtInsertSubtable (ParentTable, Subtable); in DtCompileMadt()
514 DT_SUBTABLE *Subtable; in DtCompileMpam() local
531 &Subtable); in DtCompileMpam()
537 MpamMscNode = ACPI_CAST_PTR (ACPI_MPAM_MSC_NODE, Subtable->Buffer); in DtCompileMpam()
540 DtInsertSubtable (ParentTable, Subtable); in DtCompileMpam()
541 DtPushSubtable (Subtable); in DtCompileMpam()
557 &Subtable); in DtCompileMpam()
563 MpamResourceNode = ACPI_CAST_PTR (ACPI_MPAM_RESOURCE_NODE, Subtable->Buffer); in DtCompileMpam()
564 DtInsertSubtable (ParentTable, Subtable); in DtCompileMpam()
565 DtPushSubtable (Subtable); in DtCompileMpam()
598 &Subtable); in DtCompileMpam()
605 DtInsertSubtable (ParentTable, Subtable); in DtCompileMpam()
609 &Subtable); in DtCompileMpam()
616 DtInsertSubtable (ParentTable, Subtable); in DtCompileMpam()
617 FuncDepsCount = *ACPI_CAST_PTR (UINT32, Subtable->Buffer); in DtCompileMpam()
627 &Subtable); in DtCompileMpam()
634 DtInsertSubtable (ParentTable, Subtable); in DtCompileMpam()
671 DT_SUBTABLE *Subtable; in DtCompileMpst() local
684 Status = DtCompileTable (PFieldList, AcpiDmTableInfoMpst, &Subtable); in DtCompileMpst()
691 DtInsertSubtable (ParentTable, Subtable); in DtCompileMpst()
692 DtPushSubtable (Subtable); in DtCompileMpst()
694 MpstChannelInfo = ACPI_CAST_PTR (ACPI_MPST_CHANNEL, Subtable->Buffer); in DtCompileMpst()
702 &Subtable); in DtCompileMpst()
709 DtInsertSubtable (ParentTable, Subtable); in DtCompileMpst()
710 DtPushSubtable (Subtable); in DtCompileMpst()
712 MpstPowerNode = ACPI_CAST_PTR (ACPI_MPST_POWER_NODE, Subtable->Buffer); in DtCompileMpst()
723 &Subtable); in DtCompileMpst()
729 DtInsertSubtable (ParentTable, Subtable); in DtCompileMpst()
738 &Subtable); in DtCompileMpst()
744 DtInsertSubtable (ParentTable, Subtable); in DtCompileMpst()
756 Status = DtCompileTable (PFieldList, AcpiDmTableInfoMpst1, &Subtable); in DtCompileMpst()
763 DtInsertSubtable (ParentTable, Subtable); in DtCompileMpst()
764 DtPushSubtable (Subtable); in DtCompileMpst()
766 MpstDataHeader = ACPI_CAST_PTR (ACPI_MPST_DATA_HDR, Subtable->Buffer); in DtCompileMpst()
776 &Subtable); in DtCompileMpst()
782 DtInsertSubtable (ParentTable, Subtable); in DtCompileMpst()
833 DT_SUBTABLE *Subtable; in DtCompileNfit() local
847 &Subtable); in DtCompileNfit()
854 DtInsertSubtable (ParentTable, Subtable); in DtCompileNfit()
855 DtPushSubtable (Subtable); in DtCompileNfit()
863 &Subtable); in DtCompileNfit()
870 DtInsertSubtable (ParentTable, Subtable); in DtCompileNfit()
871 DtPushSubtable (Subtable); in DtCompileNfit()
873 NfitHeader = ACPI_CAST_PTR (ACPI_NFIT_HEADER, Subtable->Buffer); in DtCompileNfit()
889 Interleave = ACPI_CAST_PTR (ACPI_NFIT_INTERLEAVE, Subtable->Buffer); in DtCompileNfit()
910 Hint = ACPI_CAST_PTR (ACPI_NFIT_FLUSH_ADDRESS, Subtable->Buffer); in DtCompileNfit()
925 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileNfit()
932 DtInsertSubtable (ParentTable, Subtable); in DtCompileNfit()
940 DtPushSubtable (Subtable); in DtCompileNfit()
944 &Subtable); in DtCompileNfit()
950 if (!Subtable) in DtCompileNfit()
957 DtInsertSubtable (ParentTable, Subtable); in DtCompileNfit()
969 &Subtable); in DtCompileNfit()
975 if (Subtable) in DtCompileNfit()
977 DtInsertSubtable (ParentTable, Subtable); in DtCompileNfit()
985 DtPushSubtable (Subtable); in DtCompileNfit()
989 &Subtable); in DtCompileNfit()
995 if (!Subtable) in DtCompileNfit()
1002 DtInsertSubtable (ParentTable, Subtable); in DtCompileNfit()
1035 DT_SUBTABLE *Subtable; in DtCompilePcct() local
1046 &Subtable); in DtCompilePcct()
1053 DtInsertSubtable (ParentTable, Subtable); in DtCompilePcct()
1061 &Subtable); in DtCompilePcct()
1068 DtInsertSubtable (ParentTable, Subtable); in DtCompilePcct()
1069 DtPushSubtable (Subtable); in DtCompilePcct()
1071 PcctHeader = ACPI_CAST_PTR (ACPI_SUBTABLE_HEADER, Subtable->Buffer); in DtCompilePcct()
1111 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompilePcct()
1118 DtInsertSubtable (ParentTable, Subtable); in DtCompilePcct()
1143 DT_SUBTABLE *Subtable; in DtCompilePdtt() local
1152 Status = DtCompileTable (PFieldList, AcpiDmTableInfoPdtt, &Subtable); in DtCompilePdtt()
1159 DtInsertSubtable (ParentTable, Subtable); in DtCompilePdtt()
1171 &Subtable); in DtCompilePdtt()
1177 DtInsertSubtable (ParentTable, Subtable); in DtCompilePdtt()
1203 DT_SUBTABLE *Subtable; in DtCompilePhat() local
1224 Status = DtCompileTable (PFieldList, AcpiDmTableInfoPhatHdr, &Subtable); in DtCompilePhat()
1230 TableOffset += Subtable->Length; in DtCompilePhat()
1231 DbgPrint (ASL_DEBUG_OUTPUT, "0 Subtable->Length: %X\n", Subtable->Length); in DtCompilePhat()
1234 DtInsertSubtable (ParentTable, Subtable); in DtCompilePhat()
1235 DtPushSubtable (Subtable); in DtCompilePhat()
1237 PhatHeader = ACPI_CAST_PTR (ACPI_PHAT_HEADER, Subtable->Buffer); in DtCompilePhat()
1253 (*PFieldList)->TableOffset, (*PFieldList)->Name, Subtable->Length); in DtCompilePhat()
1284 TableOffset, Subtable->Length, DevicePathField->StringLength); in DtCompilePhat()
1291 snprintf (DataOffsetField->Value, Subtable->Length, "%X", TableOffset); in DtCompilePhat()
1294 … DbgPrint (ASL_DEBUG_OUTPUT, "4 Offset: %X, Length: %X\n", TableOffset, Subtable->Length); in DtCompilePhat()
1315 Status = DtCompileTable (PFieldList, Info, &Subtable); in DtCompilePhat()
1322 TableOffset /* - StartTableOffset*/, (*PFieldList)->Name, Subtable->Length); in DtCompilePhat()
1325 DtInsertSubtable (ParentTable, Subtable); in DtCompilePhat()
1332 (Subtable->Buffer - sizeof (ACPI_PHAT_HEADER))); in DtCompilePhat()
1340 &Subtable); in DtCompilePhat()
1347 DtInsertSubtable (ParentTable, Subtable); in DtCompilePhat()
1349 TableOffset += Subtable->Length; in DtCompilePhat()
1361 DeviceDataLength = Subtable->Length; in DtCompilePhat()
1362 TableOffset += Subtable->Length; in DtCompilePhat()
1367 Subtable->Length, TableOffset); in DtCompilePhat()
1369 Status = DtCompileTable (PFieldList, AcpiDmTableInfoPhat1a, &Subtable); in DtCompilePhat()
1375 DtInsertSubtable (ParentTable, Subtable); in DtCompilePhat()
1388 (*PFieldList)->StringLength, (*PFieldList)->Value, Subtable->Length); in DtCompilePhat()
1390 PhatHeader->Length += (UINT16) Subtable->Length; in DtCompilePhat()
1402 Status = DtCompileTable (PFieldList, AcpiDmTableInfoPhat1b, &Subtable); in DtCompilePhat()
1409 Subtable, TableOffset); in DtCompilePhat()
1410 if (Subtable) in DtCompilePhat()
1414 DeviceDataLength, DataOffsetField->Name, Subtable->Length); in DtCompilePhat()
1416 DeviceDataLength += Subtable->Length; in DtCompilePhat()
1419 DtInsertSubtable (ParentTable, Subtable); in DtCompilePhat()
1421 PhatHeader->Length += (UINT16) Subtable->Length; in DtCompilePhat()
1459 DT_SUBTABLE *Subtable; in DtCompilePmtt() local
1468 Status = DtCompileTable (PFieldList, AcpiDmTableInfoPmtt, &Subtable); in DtCompilePmtt()
1475 DtInsertSubtable (ParentTable, Subtable); in DtCompilePmtt()
1476 DtPushSubtable (Subtable); in DtCompilePmtt()
1494 &Subtable); in DtCompilePmtt()
1509 &Subtable); in DtCompilePmtt()
1523 &Subtable); in DtCompilePmtt()
1537 &Subtable); in DtCompilePmtt()
1551 DtInsertSubtable (ParentTable, Subtable); in DtCompilePmtt()
1577 DT_SUBTABLE *Subtable; in DtCompilePptt() local
1593 &Subtable); in DtCompilePptt()
1598 DtInsertSubtable (ParentTable, Subtable); in DtCompilePptt()
1599 PpttHeader = ACPI_CAST_PTR (ACPI_SUBTABLE_HEADER, Subtable->Buffer); in DtCompilePptt()
1600 PpttHeader->Length = (UINT8)(Subtable->Length); in DtCompilePptt()
1627 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompilePptt()
1632 DtInsertSubtable (ParentTable, Subtable); in DtCompilePptt()
1633 PpttHeader->Length += (UINT8)(Subtable->Length); in DtCompilePptt()
1642 Subtable->Buffer, sizeof (ACPI_SUBTABLE_HEADER)); in DtCompilePptt()
1651 AcpiDmTableInfoPptt0a, &Subtable); in DtCompilePptt()
1656 if (!Subtable) in DtCompilePptt()
1661 DtInsertSubtable (ParentTable, Subtable); in DtCompilePptt()
1662 PpttHeader->Length += (UINT8)(Subtable->Length); in DtCompilePptt()
1677 &Subtable); in DtCompilePptt()
1678 DtInsertSubtable (ParentTable, Subtable); in DtCompilePptt()
1679 PpttHeader->Length += (UINT8)(Subtable->Length); in DtCompilePptt()
1711 DT_SUBTABLE *Subtable; in DtCompilePrmt() local
1721 &Subtable); in DtCompilePrmt()
1726 DtInsertSubtable (ParentTable, Subtable); in DtCompilePrmt()
1727 PrmtHeader = ACPI_CAST_PTR (ACPI_TABLE_PRMT_HEADER, Subtable->Buffer); in DtCompilePrmt()
1732 &Subtable); in DtCompilePrmt()
1737 DtInsertSubtable (ParentTable, Subtable); in DtCompilePrmt()
1738 PrmtModuleInfo = ACPI_CAST_PTR (ACPI_PRMT_MODULE_INFO, Subtable->Buffer); in DtCompilePrmt()
1743 &Subtable); in DtCompilePrmt()
1748 DtInsertSubtable (ParentTable, Subtable); in DtCompilePrmt()
1773 DT_SUBTABLE *Subtable; in DtCompileRas2() local
1782 Status = DtCompileTable (PFieldList, AcpiDmTableInfoRas2, &Subtable); in DtCompileRas2()
1789 DtInsertSubtable (ParentTable, Subtable); in DtCompileRas2()
1800 &Subtable); in DtCompileRas2()
1806 DtInsertSubtable (ParentTable, Subtable); in DtCompileRas2()
1832 DT_SUBTABLE *Subtable; in DtCompileRgrt() local
1840 &Subtable); in DtCompileRgrt()
1847 DtInsertSubtable (ParentTable, Subtable); in DtCompileRgrt()
1852 &Subtable); in DtCompileRgrt()
1858 DtInsertSubtable (ParentTable, Subtable); in DtCompileRgrt()
1882 DT_SUBTABLE *Subtable; in DtCompileRhct() local
1892 &Subtable); in DtCompileRhct()
1906 &Subtable); in DtCompileRhct()
1911 DtInsertSubtable (ParentTable, Subtable); in DtCompileRhct()
1912 RhctHeader = ACPI_CAST_PTR (ACPI_RHCT_NODE_HEADER, Subtable->Buffer); in DtCompileRhct()
1913 RhctHeader->Length = (UINT16)(Subtable->Length); in DtCompileRhct()
1945 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileRhct()
1950 DtInsertSubtable (ParentTable, Subtable); in DtCompileRhct()
1951 RhctHeader->Length += (UINT16)(Subtable->Length); in DtCompileRhct()
1960 Subtable->Buffer, sizeof (ACPI_RHCT_NODE_HEADER)); in DtCompileRhct()
1968 AcpiDmTableInfoRhctHartInfo2, &Subtable); in DtCompileRhct()
1973 if (!Subtable) in DtCompileRhct()
1978 DtInsertSubtable (ParentTable, Subtable); in DtCompileRhct()
1979 RhctHeader->Length += (UINT16)(Subtable->Length); in DtCompileRhct()
2011 DT_SUBTABLE *Subtable; in DtCompileRsdt() local
2023 DtCreateSubtable ((UINT8 *) &Address, 4, &Subtable); in DtCompileRsdt()
2024 DtInsertSubtable (ParentTable, Subtable); in DtCompileRsdt()
2050 DT_SUBTABLE *Subtable; in DtCompileS3pt() local
2069 &Subtable); in DtCompileS3pt()
2076 DtInsertSubtable (ParentTable, Subtable); in DtCompileS3pt()
2077 DtPushSubtable (Subtable); in DtCompileS3pt()
2079 S3ptHeader = ACPI_CAST_PTR (ACPI_FPDT_HEADER, Subtable->Buffer); in DtCompileS3pt()
2099 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileS3pt()
2106 DtInsertSubtable (ParentTable, Subtable); in DtCompileS3pt()
2133 DT_SUBTABLE *Subtable; in DtCompileSdev() local
2154 &Subtable); in DtCompileSdev()
2161 DtInsertSubtable (ParentTable, Subtable); in DtCompileSdev()
2162 DtPushSubtable (Subtable); in DtCompileSdev()
2164 SdevHeader = ACPI_CAST_PTR (ACPI_SDEV_HEADER, Subtable->Buffer); in DtCompileSdev()
2172 Namesp = ACPI_CAST_PTR (ACPI_SDEV_NAMESPACE, Subtable->Buffer); in DtCompileSdev()
2174 ACPI_ADD_PTR (UINT8, Subtable->Buffer, sizeof(ACPI_SDEV_NAMESPACE))); in DtCompileSdev()
2180 Pcie = ACPI_CAST_PTR (ACPI_SDEV_PCIE, Subtable->Buffer); in DtCompileSdev()
2191 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileSdev()
2198 DtInsertSubtable (ParentTable, Subtable); in DtCompileSdev()
2218 &Subtable); in DtCompileSdev()
2224 DtInsertSubtable (ParentTable, Subtable); in DtCompileSdev()
2231 &Subtable); in DtCompileSdev()
2237 DtInsertSubtable (ParentTable, Subtable); in DtCompileSdev()
2241 SecureComponentHeader = ACPI_CAST_PTR (ACPI_SDEV_HEADER, Subtable->Buffer); in DtCompileSdev()
2266 &Subtable); in DtCompileSdev()
2272 DtInsertSubtable (ParentTable, Subtable); in DtCompileSdev()
2289 &Subtable); in DtCompileSdev()
2295 if (!Subtable) in DtCompileSdev()
2301 DtInsertSubtable (ParentTable, Subtable); in DtCompileSdev()
2305 Namesp->DeviceIdLength = (UINT16) Subtable->Length; in DtCompileSdev()
2315 &Subtable); in DtCompileSdev()
2321 if (Subtable) in DtCompileSdev()
2324 DtInsertSubtable (ParentTable, Subtable); in DtCompileSdev()
2329 (UINT16) Subtable->Length; in DtCompileSdev()
2334 Subtable->Length + Namesp->DeviceIdLength) + ComponentLength; in DtCompileSdev()
2348 &Subtable); in DtCompileSdev()
2354 if (!Subtable) in DtCompileSdev()
2361 DtInsertSubtable (ParentTable, Subtable); in DtCompileSdev()
2379 &Subtable); in DtCompileSdev()
2385 if (Subtable) in DtCompileSdev()
2388 DtInsertSubtable (ParentTable, Subtable); in DtCompileSdev()
2393 Subtable->Length; in DtCompileSdev()
2432 DT_SUBTABLE *Subtable; in DtCompileSlic() local
2440 &Subtable); in DtCompileSlic()
2447 DtInsertSubtable (ParentTable, Subtable); in DtCompileSlic()
2448 DtPushSubtable (Subtable); in DtCompileSlic()
2473 DT_SUBTABLE *Subtable; in DtCompileSlit() local
2484 &Subtable); in DtCompileSlit()
2491 DtInsertSubtable (ParentTable, Subtable); in DtCompileSlit()
2493 Localities = *ACPI_CAST_PTR (UINT32, Subtable->Buffer); in DtCompileSlit()
2506 DtCreateSubtable (LocalityBuffer, Localities, &Subtable); in DtCompileSlit()
2507 DtInsertSubtable (ParentTable, Subtable); in DtCompileSlit()
2544 DT_SUBTABLE *Subtable; in DtCompileSrat() local
2553 &Subtable); in DtCompileSrat()
2560 DtInsertSubtable (ParentTable, Subtable); in DtCompileSrat()
2566 &Subtable); in DtCompileSrat()
2573 DtInsertSubtable (ParentTable, Subtable); in DtCompileSrat()
2574 DtPushSubtable (Subtable); in DtCompileSrat()
2576 SratHeader = ACPI_CAST_PTR (ACPI_SUBTABLE_HEADER, Subtable->Buffer); in DtCompileSrat()
2626 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileSrat()
2633 DtInsertSubtable (ParentTable, Subtable); in DtCompileSrat()
2658 DT_SUBTABLE *Subtable; in DtCompileStao() local
2666 &Subtable); in DtCompileStao()
2673 DtInsertSubtable (ParentTable, Subtable); in DtCompileStao()
2680 &Subtable); in DtCompileStao()
2687 DtInsertSubtable (ParentTable, Subtable); in DtCompileStao()
2714 DT_SUBTABLE *Subtable; in DtCompileSvkl() local
2722 &Subtable); in DtCompileSvkl()
2729 DtInsertSubtable (ParentTable, Subtable); in DtCompileSvkl()
2736 &Subtable); in DtCompileSvkl()
2743 DtInsertSubtable (ParentTable, Subtable); in DtCompileSvkl()
2767 DT_SUBTABLE *Subtable; in DtCompileTcpa() local
2776 &Subtable); in DtCompileTcpa()
2783 DtInsertSubtable (ParentTable, Subtable); in DtCompileTcpa()
2796 &Subtable); in DtCompileTcpa()
2802 &Subtable); in DtCompileTcpa()
2814 DtInsertSubtable (ParentTable, Subtable); in DtCompileTcpa()
2835 DT_SUBTABLE *Subtable; in DtCompileTpm2Rev3() local
2842 &Subtable); in DtCompileTpm2Rev3()
2845 DtInsertSubtable (ParentTable, Subtable); in DtCompileTpm2Rev3()
2857 &Subtable); in DtCompileTpm2Rev3()
2864 DtInsertSubtable (ParentTable, Subtable); in DtCompileTpm2Rev3()
2892 DT_SUBTABLE *Subtable; in DtCompileTpm2() local
2911 &Subtable); in DtCompileTpm2()
2918 DtInsertSubtable (ParentTable, Subtable); in DtCompileTpm2()
2928 &Subtable); in DtCompileTpm2()
2935 DtInsertSubtable (ParentTable, Subtable); in DtCompileTpm2()
2947 &Subtable); in DtCompileTpm2()
2954 DtInsertSubtable (ParentTable, Subtable); in DtCompileTpm2()
3053 DT_SUBTABLE *Subtable; in DtCompileUefi() local
3062 &Subtable); in DtCompileUefi()
3068 DataOffset = (UINT16 *) (Subtable->Buffer + 16); in DtCompileUefi()
3072 DtInsertSubtable (ParentTable, Subtable); in DtCompileUefi()
3101 DT_SUBTABLE *Subtable; in DtCompileViot() local
3112 Status = DtCompileTable (PFieldList, AcpiDmTableInfoViot, &Subtable); in DtCompileViot()
3117 DtInsertSubtable (ParentTable, Subtable); in DtCompileViot()
3123 Viot = ACPI_SUB_PTR (ACPI_TABLE_VIOT, Subtable->Buffer, in DtCompileViot()
3132 &Subtable); in DtCompileViot()
3139 DtInsertSubtable (ParentTable, Subtable); in DtCompileViot()
3140 DtPushSubtable (Subtable); in DtCompileViot()
3142 ViotHeader = ACPI_CAST_PTR (ACPI_VIOT_HEADER, Subtable->Buffer); in DtCompileViot()
3172 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileViot()
3179 DtInsertSubtable (ParentTable, Subtable); in DtCompileViot()
3231 DT_SUBTABLE *Subtable; in DtCompileWpbt() local
3239 Status = DtCompileTable (PFieldList, AcpiDmTableInfoWpbt, &Subtable); in DtCompileWpbt()
3246 DtInsertSubtable (ParentTable, Subtable); in DtCompileWpbt()
3263 Status = DtCompileTable (PFieldList, AcpiDmTableInfoWpbt0, &Subtable); in DtCompileWpbt()
3271 Table->ArgumentsLength = (UINT16) Subtable->TotalLength; in DtCompileWpbt()
3272 DtInsertSubtable (ParentTable, Subtable); in DtCompileWpbt()
3293 DT_SUBTABLE *Subtable; in DtCompileXsdt() local
3305 DtCreateSubtable ((UINT8 *) &Address, 8, &Subtable); in DtCompileXsdt()
3306 DtInsertSubtable (ParentTable, Subtable); in DtCompileXsdt()
3335 DT_SUBTABLE *Subtable; in DtCompileGeneric() local
3379 &Subtable); in DtCompileGeneric()
3382 DtInsertSubtable (ParentTable, Subtable); in DtCompileGeneric()
3385 *Length += Subtable->Length; in DtCompileGeneric()