Lines Matching defs:package
699 union acpi_object *package)
704 if (!device || !package || (package->package.count < 2))
707 element = &(package->package.elements[0]);
711 if ((element->package.count < 2) ||
712 (element->package.elements[0].type !=
714 || (element->package.elements[1].type != ACPI_TYPE_INTEGER))
717 element->package.elements[0].reference.handle;
719 (u32) element->package.elements[1].integer.value;
725 element = &(package->package.elements[1]);
731 if ((package->package.count - 2) > ACPI_MAX_HANDLES) {
734 device->wakeup.resources.count = package->package.count - 2;
736 element = &(package->package.elements[i + 2]);
781 union acpi_object *package = NULL;
791 package = (union acpi_object *)buffer.pointer;
792 status = acpi_bus_extract_wakeup_device_power_package(device, package);
794 ACPI_EXCEPTION((AE_INFO, status, "Extracting _PRW package"));