• Home
  • Raw
  • Download

Lines Matching full:package

4  * Module Name: dspkginit - Completion of deferred package initialization
31 * element_count - Number of elements in the package - this is
32 * the num_elements argument to Package()
37 * DESCRIPTION: Translate a parser Op package object to the equivalent
40 * NOTE: The number of elements in the package will be always be the num_elements
41 * count, regardless of the number of elements in the package list. If
42 * num_elements is smaller, only that many package list elements are used.
43 * if num_elements is larger, the Package object is padded out with
47 * than the Package list length (for the fixed length package opcode), some
77 /* Find the parent of a possibly nested package */ in acpi_ds_build_internal_package_obj()
86 * If we are evaluating a Named package object of the form: in acpi_ds_build_internal_package_obj()
87 * Name (xxxx, Package) in acpi_ds_build_internal_package_obj()
88 * the package object already exists, otherwise it must be created. in acpi_ds_build_internal_package_obj()
98 obj_desc->package.node = parent->common.node; in acpi_ds_build_internal_package_obj()
101 if (obj_desc->package.flags & AOPOBJ_DATA_VALID) { /* Just in case */ in acpi_ds_build_internal_package_obj()
111 if (!obj_desc->package.elements) { in acpi_ds_build_internal_package_obj()
112 obj_desc->package.elements = ACPI_ALLOCATE_ZEROED(((acpi_size) in acpi_ds_build_internal_package_obj()
119 if (!obj_desc->package.elements) { in acpi_ds_build_internal_package_obj()
124 obj_desc->package.count = element_count; in acpi_ds_build_internal_package_obj()
134 * full resolution of the package elements in order to support in acpi_ds_build_internal_package_obj()
139 obj_desc->package.aml_start = walk_state->aml; in acpi_ds_build_internal_package_obj()
140 obj_desc->package.aml_length = 0; in acpi_ds_build_internal_package_obj()
143 "%s: Deferring resolution of Package elements\n", in acpi_ds_build_internal_package_obj()
148 * Initialize the elements of the package, up to the num_elements count. in acpi_ds_build_internal_package_obj()
149 * Package is automatically padded with uninitialized (NULL) elements in acpi_ds_build_internal_package_obj()
150 * if num_elements is greater than the package list length. Likewise, in acpi_ds_build_internal_package_obj()
151 * Package is truncated if num_elements is less than the list length. in acpi_ds_build_internal_package_obj()
165 package. in acpi_ds_build_internal_package_obj()
168 /* This package element is already built, just get it */ in acpi_ds_build_internal_package_obj()
170 obj_desc->package.elements[i] = in acpi_ds_build_internal_package_obj()
177 &obj_desc->package. in acpi_ds_build_internal_package_obj()
186 * Initialize this package element. This function handles the in acpi_ds_build_internal_package_obj()
187 * resolution of named references within the package. in acpi_ds_build_internal_package_obj()
192 obj_desc->package. in acpi_ds_build_internal_package_obj()
194 &obj_desc->package. in acpi_ds_build_internal_package_obj()
201 /* Existing package, get existing reference count */ in acpi_ds_build_internal_package_obj()
214 package. in acpi_ds_build_internal_package_obj()
228 * the package_list. Truncate the package to num_elements. in acpi_ds_build_internal_package_obj()
236 * ill-formed package object. in acpi_ds_build_internal_package_obj()
240 * We must delete any package elements that were created earlier in acpi_ds_build_internal_package_obj()
241 * and are not going to be used because of the package truncation. in acpi_ds_build_internal_package_obj()
257 ACPI_INFO(("Actual Package length (%u) is larger than " in acpi_ds_build_internal_package_obj()
265 * Note: this is not an error, the package is padded out in acpi_ds_build_internal_package_obj()
269 "%s: Package List length (%u) smaller than NumElements " in acpi_ds_build_internal_package_obj()
278 obj_desc->package.flags |= AOPOBJ_DATA_VALID; in acpi_ds_build_internal_package_obj()
293 * DESCRIPTION: Resolve a named reference element within a package object
335 source_object->package.flags |= AOPOBJ_DATA_VALID; in acpi_ds_init_package_element()
349 * DESCRIPTION: Resolve a package element that is a reference to a named
372 "%s: Package element is already resolved\n", in acpi_ds_resolve_package_element()
393 * firmware carries around a bunch of unused Package objects. in acpi_ds_resolve_package_element()
397 * If the AML actually tries to use such a package, the unresolved in acpi_ds_resolve_package_element()
413 "While resolving a named reference package element - %s", in acpi_ds_resolve_package_element()
426 /* Named reference not resolved, return a NULL package element */ in acpi_ds_resolve_package_element()
429 "Could not resolve named package element [%4.4s] in [%4.4s]", in acpi_ds_resolve_package_element()
453 * the package. If this is a reference to a common data type, in acpi_ds_resolve_package_element()
454 * resolve it immediately. According to the ACPI spec, package in acpi_ds_resolve_package_element()
456 * Attempt to resolve to an Integer, Buffer, String or Package. in acpi_ds_resolve_package_element()