Lines Matching refs:package
284 union acpi_object *package; in ibm_get_table_from_acpi() local
296 package = (union acpi_object *) buffer.pointer; in ibm_get_table_from_acpi()
297 if (!(package) || in ibm_get_table_from_acpi()
298 (package->type != ACPI_TYPE_PACKAGE) || in ibm_get_table_from_acpi()
299 !(package->package.elements)) { in ibm_get_table_from_acpi()
304 for (size = 0, i = 0; i < package->package.count; i++) { in ibm_get_table_from_acpi()
305 if (package->package.elements[i].type != ACPI_TYPE_BUFFER) { in ibm_get_table_from_acpi()
309 size += package->package.elements[i].buffer.length; in ibm_get_table_from_acpi()
317 __func__, package->package.count, size, lbuf); in ibm_get_table_from_acpi()
327 for (i = 0; i < package->package.count; i++) { in ibm_get_table_from_acpi()
329 package->package.elements[i].buffer.pointer, in ibm_get_table_from_acpi()
330 package->package.elements[i].buffer.length); in ibm_get_table_from_acpi()
331 size += package->package.elements[i].buffer.length; in ibm_get_table_from_acpi()