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