Lines Matching defs:package
57 acpi_extract_package(union acpi_object *package,
69 if (!package || (package->type != ACPI_TYPE_PACKAGE)
70 || (package->package.count < 1)) {
71 printk(KERN_WARNING PREFIX "Invalid package argument\n");
86 if (format_count > package->package.count) {
88 " than exist in package [%d].\n",
89 format_count, package->package.count);
100 union acpi_object *element = &(package->package.elements[i]);
121 printk(KERN_WARNING PREFIX "Invalid package element"
147 printk(KERN_WARNING PREFIX "Invalid package element"
181 * Extract package data.
186 union acpi_object *element = &(package->package.elements[i]);
300 union acpi_object *package = NULL;
316 package = buffer.pointer;
318 if ((buffer.length == 0) || !package) {
320 (unsigned)buffer.length, package);
325 if (package->type != ACPI_TYPE_PACKAGE) {
327 package->type);
332 if (!package->package.count) {
334 package);
340 if (package->package.count > ACPI_MAX_HANDLES) {
343 list->count = package->package.count;
345 /* Extract package data. */
349 element = &(package->package.elements[i]);
354 "Expecting a [Reference] package element, found type %X\n",
362 " package %s\n", pathname);