• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/acpi/acpica/

Lines Matching refs:elements

68  *  3) For returned package objects, the count of package elements is
83 union acpi_operand_object **elements, u32 count);
87 union acpi_operand_object **elements,
423 union acpi_operand_object **elements;
442 * and trailing NULL package elements
447 /* Extract package count and elements array */
449 elements = return_object->package.elements;
456 "Return Package has no elements (empty)"));
488 /* Validate all elements of the returned package */
490 status = acpi_ns_check_package_elements(data, elements,
505 * elements must be of the same type
508 status = acpi_ns_check_object_type(data, elements,
514 elements++;
522 * a fixed number of required elements, and a variable number of
523 * optional elements.
537 /* These are the required package elements (0, 1, or 2) */
540 acpi_ns_check_object_type(data, elements,
549 /* These are the optional package elements */
552 acpi_ns_check_object_type(data, elements,
561 elements++;
569 status = acpi_ns_check_object_type(data, elements,
575 elements++;
581 acpi_ns_check_package_list(data, package, elements, count);
588 status = acpi_ns_check_object_type(data, elements,
598 expected_count = (u32) (*elements)->integer.value;
604 elements++;
609 acpi_ns_check_package_list(data, package, elements, count);
627 if (*elements
628 && ((*elements)->common.type != ACPI_TYPE_PACKAGE)) {
642 elements = return_object->package.elements;
649 acpi_ns_check_package_list(data, package, elements, count);
670 "Return Package is too small - found %u elements, expected %u",
682 * Elements - Element list of parent package. All elements
695 union acpi_operand_object **elements, u32 count)
707 * NOTE: assumes list of sub-packages contains no NULL elements.
708 * Any NULL elements should have been removed by earlier call
712 sub_package = *elements;
713 sub_elements = sub_package->package.elements;
732 /* Each subpackage has a fixed number of elements */
805 * First element is the (Integer) count of elements, including
858 elements++;
868 "Return Sub-Package[%u] is too small - found %u elements, expected %u",
879 * Elements - Pointer to the package elements array
884 * start_index - Start of the first group of elements
888 * DESCRIPTION: Check that all elements of a package are of the correct object
895 union acpi_operand_object **elements,
900 union acpi_operand_object **this_element = elements;
905 * Up to two groups of package elements are supported by the data
906 * structure. All elements in each group must be of the same type.
962 * Since all extraneous NULL package elements were removed earlier by a
992 * from all of the predefined names (including elements of returned