Lines Matching full:elements
168 ACPI_OPERAND_OBJECT **Elements,
174 ACPI_OPERAND_OBJECT **Elements,
184 ACPI_OPERAND_OBJECT **Elements,
210 ACPI_OPERAND_OBJECT **Elements;
231 * and trailing NULL package elements
235 /* Extract package count and elements array */
237 Elements = ReturnObject->Package.Elements;
252 "Return Package has no elements (empty)"));
267 Status = AcpiNsCustomPackage (Info, Elements, Count);
290 /* Validate all elements of the returned package */
292 Status = AcpiNsCheckPackageElements (Info, Elements,
300 * elements must be of the same type
304 Status = AcpiNsCheckObjectType (Info, Elements,
311 Elements++;
318 * a fixed number of required elements, and a variable number of
319 * optional elements.
335 /* These are the required package elements (0, 1, or 2) */
337 Status = AcpiNsCheckObjectType (Info, Elements,
346 /* These are the optional package elements */
348 Status = AcpiNsCheckObjectType (Info, Elements,
356 Elements++;
365 Info, Elements, ACPI_RTYPE_INTEGER, 0);
371 Elements++;
376 Status = AcpiNsCheckPackageList (Info, Package, Elements, Count);
384 Info, Elements, ACPI_RTYPE_INTEGER, 0);
394 ExpectedCount = (UINT32) (*Elements)->Integer.Value;
401 Elements++;
405 Status = AcpiNsCheckPackageList (Info, Package, Elements, Count);
423 if (*Elements && ((*Elements)->Common.Type != ACPI_TYPE_PACKAGE))
437 Elements = ReturnObject->Package.Elements;
443 Status = AcpiNsCheckPackageList (Info, Package, Elements, Count);
465 Status = AcpiNsCheckObjectType(Info, Elements,
474 if ((*Elements)->Buffer.Length != 16)
481 Status = AcpiNsCheckObjectType(Info, Elements + 1,
488 Elements += 2;
512 "Return Package is too small - found %u elements, expected %u",
525 * Elements - Element list of parent package. All elements
539 ACPI_OPERAND_OBJECT **Elements,
553 * NOTE: assumes list of subpackages contains no NULL elements.
554 * Any NULL elements should have been removed by earlier call
559 SubPackage = *Elements;
560 SubElements = SubPackage->Package.Elements;
581 /* Each subpackage has a fixed number of elements */
602 * Each subpackage has a fixed number of elements and an
624 * Each subpackage has a fixed or variable number of elements
674 * First element is the (Integer) count of elements, including
730 Elements++;
741 "Return SubPackage[%u] is too small - found %u elements, expected %u",
753 * Elements - Pointer to the package elements array
769 ACPI_OPERAND_OBJECT **Elements,
782 if ((*Elements)->Common.Type != ACPI_TYPE_INTEGER)
789 Version = (UINT32) (*Elements)->Integer.Value;
800 "Return Package is too small - found %u elements, expected %u",
812 /* Validate all elements of the returned package */
814 Status = AcpiNsCheckPackageElements (Info, Elements,
826 Status = AcpiNsCheckPackageElements (Info, Elements + 20,
839 * Elements - Pointer to the package elements array
844 * StartIndex - Start of the first group of elements
848 * DESCRIPTION: Check that all elements of a package are of the correct object
856 ACPI_OPERAND_OBJECT **Elements,
863 ACPI_OPERAND_OBJECT **ThisElement = Elements;
871 * Up to two groups of package elements are supported by the data
872 * structure. All elements in each group must be of the same type.