Lines Matching defs:elements

22 			   union acpi_operand_object **elements, u32 count);
26 union acpi_operand_object **elements,
33 union acpi_operand_object **elements, u32 count);
56 union acpi_operand_object **elements;
75 * and trailing NULL package elements
80 /* Extract package count and elements array */
82 elements = return_object->package.elements;
96 "Return Package has no elements (empty)"));
110 status = acpi_ns_custom_package(info, elements, count);
132 /* Validate all elements of the returned package */
134 status = acpi_ns_check_package_elements(info, elements,
148 * elements must be of the same type
151 status = acpi_ns_check_object_type(info, elements,
158 elements++;
165 * a fixed number of required elements, and a variable number of
166 * optional elements.
180 /* These are the required package elements (0, 1, or 2) */
183 acpi_ns_check_object_type(info, elements,
192 /* These are the optional package elements */
195 acpi_ns_check_object_type(info, elements,
205 elements++;
214 acpi_ns_check_object_type(info, elements,
220 elements++;
226 acpi_ns_check_package_list(info, package, elements, count);
234 acpi_ns_check_object_type(info, elements,
244 expected_count = (u32)(*elements)->integer.value;
250 elements++;
255 acpi_ns_check_package_list(info, package, elements, count);
273 if (*elements
274 && ((*elements)->common.type != ACPI_TYPE_PACKAGE)) {
288 elements = return_object->package.elements;
295 acpi_ns_check_package_list(info, package, elements, count);
315 status = acpi_ns_check_object_type(info, elements,
324 if ((*elements)->buffer.length != 16) {
332 status = acpi_ns_check_object_type(info, elements + 1,
339 elements += 2;
363 "Return Package is too small - found %u elements, expected %u",
375 * elements - Element list of parent package. All elements
388 union acpi_operand_object **elements, u32 count)
400 * NOTE: assumes list of subpackages contains no NULL elements.
401 * Any NULL elements should have been removed by earlier call
405 sub_package = *elements;
406 sub_elements = sub_package->package.elements;
425 /* Each subpackage has a fixed number of elements */
450 * Each subpackage has a fixed number of elements and an
478 * Each subpackage has a fixed or variable number of elements
531 * First element is the (Integer) count of elements, including
588 elements++;
598 "Return SubPackage[%u] is too small - found %u elements, expected %u",
609 * elements - Pointer to the package elements array
624 union acpi_operand_object **elements, u32 count)
634 if ((*elements)->common.type != ACPI_TYPE_INTEGER) {
641 version = (u32)(*elements)->integer.value;
651 "Return Package is too small - found %u elements, expected %u",
661 /* Validate all elements of the returned package */
663 status = acpi_ns_check_package_elements(info, elements,
673 status = acpi_ns_check_package_elements(info, elements + 20,
686 * elements - Pointer to the package elements array
691 * start_index - Start of the first group of elements
695 * DESCRIPTION: Check that all elements of a package are of the correct object
702 union acpi_operand_object **elements,
707 union acpi_operand_object **this_element = elements;
714 * Up to two groups of package elements are supported by the data
715 * structure. All elements in each group must be of the same type.