package 657 arch/arm/mach-omap2/id.c u8 rev, package; package 661 arch/arm/mach-omap2/id.c package = (odi.id_2 >> 16) & 0x3; package 670 arch/arm/mach-omap2/id.c switch (package) { package 134 arch/arm/mach-omap2/soc.h #define IS_DRA_SUBCLASS_PACKAGE(subclass, package, id) \ package 135 arch/arm/mach-omap2/soc.h static inline int is_dra ##subclass ##_ ##package (void) \ package 14 arch/m68k/fpsp040/fpsp.h | frame and any local variables needed by the FPSP package. package 57 arch/m68k/fpsp040/fpsp.h | handled by the package, or "bra real_xxxx" which is an external package 64 arch/m68k/fpsp040/fpsp.h | can happen if the package is entered for an unimplemented float package 81 arch/mips/include/asm/cpu-info.h int package;/* physical package number */ package 178 arch/mips/include/asm/cpu-info.h if (infoa->package != infob->package) package 15 arch/mips/include/asm/topology.h #define topology_physical_package_id(cpu) (cpu_data[cpu].package) package 141 arch/mips/kernel/proc.c seq_printf(m, "package\t\t\t: %d\n", cpu_data[n].package); package 105 arch/mips/kernel/smp.c if (cpu_data[cpu].package == cpu_data[i].package) { package 28 arch/mips/loongson64/loongson-3/irq.c if (cpu_data[cpu].package > 0) package 315 arch/mips/loongson64/loongson-3/smp.c cpu_data[cpu].package = package 328 arch/mips/loongson64/loongson-3/smp.c if (cpu_data[cpu].package) package 382 arch/mips/loongson64/loongson-3/smp.c cpu_data[0].package = cpu_logical_map(0) / loongson_sysconf.cores_per_package; package 696 arch/mips/loongson64/loongson-3/smp.c uint64_t package_id = cpu_data[cpu].package; package 710 arch/mips/loongson64/loongson-3/smp.c uint64_t package_id = cpu_data[cpu].package; package 126 arch/mips/netlogic/common/smp.c current_cpu_data.package = nlm_nodeid(); package 50 drivers/acpi/acpi_adxl.c if (obj->package.count != 2) { package 51 drivers/acpi/acpi_adxl.c pr_info("Bad pkg count %d\n", obj->package.count); package 55 drivers/acpi/acpi_adxl.c o = obj->package.elements; package 65 drivers/acpi/acpi_adxl.c o = obj->package.elements + 1; package 112 drivers/acpi/acpi_adxl.c argv4[0].package.count = 1; package 113 drivers/acpi/acpi_adxl.c argv4[0].package.elements = &argv4[1]; package 121 drivers/acpi/acpi_adxl.c r = results->package.elements + 1; package 122 drivers/acpi/acpi_adxl.c cnt = r->package.count; package 127 drivers/acpi/acpi_adxl.c r = r->package.elements; package 169 drivers/acpi/acpi_adxl.c p = params->package.elements + 1; package 170 drivers/acpi/acpi_adxl.c adxl_count = p->package.count; package 176 drivers/acpi/acpi_adxl.c p = p->package.elements; package 104 drivers/acpi/acpi_lpat.c (obj_p->package.count % 2) || (obj_p->package.count < 4)) package 107 drivers/acpi/acpi_lpat.c lpat = kcalloc(obj_p->package.count, sizeof(int), GFP_KERNEL); package 111 drivers/acpi/acpi_lpat.c for (i = 0; i < obj_p->package.count; i++) { package 112 drivers/acpi/acpi_lpat.c obj_e = &obj_p->package.elements[i]; package 127 drivers/acpi/acpi_lpat.c lpat_table->lpat_count = obj_p->package.count / 2; package 369 drivers/acpi/acpi_pad.c union acpi_object *package; package 378 drivers/acpi/acpi_pad.c package = buffer.pointer; package 380 drivers/acpi/acpi_pad.c if (package->type == ACPI_TYPE_PACKAGE && package 381 drivers/acpi/acpi_pad.c package->package.count == 2 && package 382 drivers/acpi/acpi_pad.c package->package.elements[0].integer.value == 1) /* rev 1 */ package 384 drivers/acpi/acpi_pad.c num = package->package.elements[1].integer.value; package 834 drivers/acpi/acpi_video.c if (obj->package.count < ACPI_VIDEO_FIRST_LEVEL) { package 851 drivers/acpi/acpi_video.c br->levels = kmalloc_array(obj->package.count + ACPI_VIDEO_FIRST_LEVEL, package 859 drivers/acpi/acpi_video.c for (i = 0; i < obj->package.count; i++) { package 860 drivers/acpi/acpi_video.c o = (union acpi_object *)&obj->package.elements[i]; package 1336 drivers/acpi/acpi_video.c dod->package.count)); package 1338 drivers/acpi/acpi_video.c active_list = kcalloc(1 + dod->package.count, package 1347 drivers/acpi/acpi_video.c for (i = 0; i < dod->package.count; i++) { package 1348 drivers/acpi/acpi_video.c obj = &dod->package.elements[i]; package 371 drivers/acpi/acpica/acobject.h struct acpi_object_package package; package 194 drivers/acpi/acpica/dbconvert.c object->package.count = i; package 195 drivers/acpi/acpica/dbconvert.c object->package.elements = elements; package 358 drivers/acpi/acpica/dbconvert.c buffer_desc = &obj_desc->package.elements[0]; package 65 drivers/acpi/acpica/dbexec.c acpi_db_delete_objects(objects[i].package.count, package 66 drivers/acpi/acpica/dbexec.c objects[i].package.elements); package 70 drivers/acpi/acpica/dbexec.c ACPI_FREE(objects[i].package.elements); package 403 drivers/acpi/acpica/dbnames.c const union acpi_predefined_info *package = NULL; package 420 drivers/acpi/acpica/dbnames.c package = predefined + 1; package 430 drivers/acpi/acpica/dbnames.c if (package) { package 432 drivers/acpi/acpica/dbnames.c package->ret_info.type, package 433 drivers/acpi/acpica/dbnames.c package->ret_info.object_type1, package 434 drivers/acpi/acpica/dbnames.c package->ret_info.count1); package 147 drivers/acpi/acpica/dbstats.c for (i = 0; i < obj_desc->package.count; i++) { package 148 drivers/acpi/acpica/dbstats.c acpi_db_enumerate_object(obj_desc->package.elements[i]); package 718 drivers/acpi/acpica/dbtest.c acpi_os_printf(" %.2X Elements", temp1->package.count); package 1058 drivers/acpi/acpica/dbtest.c this_param->package.elements = NULL; package 1059 drivers/acpi/acpica/dbtest.c this_param->package.count = 0; package 153 drivers/acpi/acpica/dbutils.c obj_desc->package.count); package 155 drivers/acpi/acpica/dbutils.c for (i = 0; i < obj_desc->package.count; i++) { package 156 drivers/acpi/acpica/dbutils.c acpi_db_dump_external_object(&obj_desc->package. package 299 drivers/acpi/acpica/dsargs.c node = obj_desc->package.node; package 308 drivers/acpi/acpica/dsargs.c obj_desc->package.aml_start)); package 313 drivers/acpi/acpica/dsargs.c obj_desc->package.aml_length, package 314 drivers/acpi/acpica/dsargs.c obj_desc->package.aml_start); package 361 drivers/acpi/acpica/dsobject.c obj_desc->package.node = package 369 drivers/acpi/acpica/dsobject.c obj_desc->package.aml_start = op->named.data; package 370 drivers/acpi/acpica/dsobject.c obj_desc->package.aml_length = op->named.length; package 98 drivers/acpi/acpica/dspkginit.c obj_desc->package.node = parent->common.node; package 101 drivers/acpi/acpica/dspkginit.c if (obj_desc->package.flags & AOPOBJ_DATA_VALID) { /* Just in case */ package 111 drivers/acpi/acpica/dspkginit.c if (!obj_desc->package.elements) { package 112 drivers/acpi/acpica/dspkginit.c obj_desc->package.elements = ACPI_ALLOCATE_ZEROED(((acpi_size) package 119 drivers/acpi/acpica/dspkginit.c if (!obj_desc->package.elements) { package 124 drivers/acpi/acpica/dspkginit.c obj_desc->package.count = element_count; package 139 drivers/acpi/acpica/dspkginit.c obj_desc->package.aml_start = walk_state->aml; package 140 drivers/acpi/acpica/dspkginit.c obj_desc->package.aml_length = 0; package 191 drivers/acpi/acpica/dspkginit.c package. package 196 drivers/acpi/acpica/dspkginit.c obj_desc->package.elements[i] = package 203 drivers/acpi/acpica/dspkginit.c &obj_desc->package. package 218 drivers/acpi/acpica/dspkginit.c obj_desc->package. package 220 drivers/acpi/acpica/dspkginit.c &obj_desc->package. package 240 drivers/acpi/acpica/dspkginit.c package. package 304 drivers/acpi/acpica/dspkginit.c obj_desc->package.flags |= AOPOBJ_DATA_VALID; package 361 drivers/acpi/acpica/dspkginit.c source_object->package.flags |= AOPOBJ_DATA_VALID; package 165 drivers/acpi/acpica/exdebug.c source_desc->package.count); package 169 drivers/acpi/acpica/exdebug.c for (i = 0; i < source_desc->package.count; i++) { package 170 drivers/acpi/acpica/exdebug.c acpi_ex_do_debug_object(source_desc->package. package 69 drivers/acpi/acpica/exdump.c {ACPI_EXD_NODE, ACPI_EXD_OFFSET(package.node), "Parent Node"}, package 70 drivers/acpi/acpica/exdump.c {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(package.flags), "Flags"}, package 71 drivers/acpi/acpica/exdump.c {ACPI_EXD_UINT32, ACPI_EXD_OFFSET(package.count), "Element Count"}, package 72 drivers/acpi/acpica/exdump.c {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(package.elements), "Element List"}, package 718 drivers/acpi/acpica/exdump.c obj_desc->package.count, package 719 drivers/acpi/acpica/exdump.c obj_desc->package.elements); package 725 drivers/acpi/acpica/exdump.c if (obj_desc->package.count && package 726 drivers/acpi/acpica/exdump.c obj_desc->package.elements && acpi_dbg_level > 1) { package 727 drivers/acpi/acpica/exdump.c for (index = 0; index < obj_desc->package.count; package 729 drivers/acpi/acpica/exdump.c acpi_ex_dump_operand(obj_desc->package. package 1088 drivers/acpi/acpica/exdump.c obj_desc->package.count); package 1090 drivers/acpi/acpica/exdump.c for (i = 0; i < obj_desc->package.count; i++) { package 1091 drivers/acpi/acpica/exdump.c acpi_ex_dump_package_obj(obj_desc->package.elements[i], package 729 drivers/acpi/acpica/exoparg1.c value = temp_desc->package.count; package 371 drivers/acpi/acpica/exoparg2.c if (index >= operand[0]->package.count) { package 372 drivers/acpi/acpica/exoparg2.c length = operand[0]->package.count; package 378 drivers/acpi/acpica/exoparg2.c &operand[0]->package.elements[index]; package 206 drivers/acpi/acpica/exoparg6.c if (index >= operand[0]->package.count) { package 210 drivers/acpi/acpica/exoparg6.c operand[0]->package.count)); package 236 drivers/acpi/acpica/exoparg6.c for (; index < operand[0]->package.count; index++) { package 240 drivers/acpi/acpica/exoparg6.c this_element = operand[0]->package.elements[index]; package 397 drivers/acpi/acpica/hwxface.c elements = info->return_object->package.elements; package 398 drivers/acpi/acpica/hwxface.c switch (info->return_object->package.count) { package 232 drivers/acpi/acpica/nsconvert.c elements = original_object->package.elements; package 233 drivers/acpi/acpica/nsconvert.c count = original_object->package.count; package 252 drivers/acpi/acpica/nsconvert.c elements = original_object->package.elements; package 275 drivers/acpi/acpica/nsdump.c obj_desc->package.count); package 565 drivers/acpi/acpica/nsdump.c obj_desc = (void *)obj_desc->package.elements; package 275 drivers/acpi/acpica/nsinit.c if (obj_desc->package.flags & AOPOBJ_DATA_VALID) { package 291 drivers/acpi/acpica/nsinit.c obj_desc->package.flags |= AOPOBJ_DATA_VALID; package 21 drivers/acpi/acpica/nsprepkg.c const union acpi_predefined_info *package, package 55 drivers/acpi/acpica/nsprepkg.c const union acpi_predefined_info *package; package 66 drivers/acpi/acpica/nsprepkg.c package = info->predefined + 1; package 70 drivers/acpi/acpica/nsprepkg.c info->full_pathname, package->ret_info.type, package 71 drivers/acpi/acpica/nsprepkg.c return_object->package.count)); package 77 drivers/acpi/acpica/nsprepkg.c acpi_ns_remove_null_elements(info, package->ret_info.type, package 82 drivers/acpi/acpica/nsprepkg.c elements = return_object->package.elements; package 83 drivers/acpi/acpica/nsprepkg.c count = return_object->package.count; package 90 drivers/acpi/acpica/nsprepkg.c if (package->ret_info.type == ACPI_PTYPE1_VAR) { package 107 drivers/acpi/acpica/nsprepkg.c switch (package->ret_info.type) { package 121 drivers/acpi/acpica/nsprepkg.c package->ret_info.count1 + package->ret_info.count2; package 135 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 137 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 139 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 141 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 152 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 170 drivers/acpi/acpica/nsprepkg.c expected_count = package->ret_info3.count; package 178 drivers/acpi/acpica/nsprepkg.c if (i < package->ret_info3.count) { package 184 drivers/acpi/acpica/nsprepkg.c package-> package 196 drivers/acpi/acpica/nsprepkg.c package-> package 226 drivers/acpi/acpica/nsprepkg.c acpi_ns_check_package_list(info, package, elements, count); package 255 drivers/acpi/acpica/nsprepkg.c acpi_ns_check_package_list(info, package, elements, count); package 288 drivers/acpi/acpica/nsprepkg.c elements = return_object->package.elements; package 295 drivers/acpi/acpica/nsprepkg.c acpi_ns_check_package_list(info, package, elements, count); package 316 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 333 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 351 drivers/acpi/acpica/nsprepkg.c package->ret_info.type)); package 387 drivers/acpi/acpica/nsprepkg.c const union acpi_predefined_info *package, package 406 drivers/acpi/acpica/nsprepkg.c sub_elements = sub_package->package.elements; package 420 drivers/acpi/acpica/nsprepkg.c switch (package->ret_info.type) { package 428 drivers/acpi/acpica/nsprepkg.c package->ret_info.count1 + package->ret_info.count2; package 429 drivers/acpi/acpica/nsprepkg.c if (sub_package->package.count < expected_count) { package 435 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 437 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 439 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 441 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 454 drivers/acpi/acpica/nsprepkg.c package->ret_info.count1 + package->ret_info.count2; package 455 drivers/acpi/acpica/nsprepkg.c if (sub_package->package.count < expected_count) { package 461 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 463 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 465 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 467 drivers/acpi/acpica/nsprepkg.c sub_package->package. package 469 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 486 drivers/acpi/acpica/nsprepkg.c expected_count = package->ret_info2.count; package 487 drivers/acpi/acpica/nsprepkg.c if (sub_package->package.count < expected_count) { package 497 drivers/acpi/acpica/nsprepkg.c package-> package 511 drivers/acpi/acpica/nsprepkg.c expected_count = package->ret_info.count1; package 512 drivers/acpi/acpica/nsprepkg.c if (sub_package->package.count < expected_count) { package 520 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 522 drivers/acpi/acpica/nsprepkg.c sub_package->package. package 546 drivers/acpi/acpica/nsprepkg.c if (sub_package->package.count < expected_count) { package 550 drivers/acpi/acpica/nsprepkg.c if (sub_package->package.count < package 551 drivers/acpi/acpica/nsprepkg.c package->ret_info.count1) { package 552 drivers/acpi/acpica/nsprepkg.c expected_count = package->ret_info.count1; package 563 drivers/acpi/acpica/nsprepkg.c expected_count = sub_package->package.count; package 572 drivers/acpi/acpica/nsprepkg.c package->ret_info. package 584 drivers/acpi/acpica/nsprepkg.c package->ret_info.type)); package 599 drivers/acpi/acpica/nsprepkg.c i, sub_package->package.count, expected_count)); package 473 drivers/acpi/acpica/nsrepair.c count = obj_desc->package.count; package 476 drivers/acpi/acpica/nsrepair.c source = obj_desc->package.elements; package 502 drivers/acpi/acpica/nsrepair.c obj_desc->package.count = new_count; package 548 drivers/acpi/acpica/nsrepair.c pkg_obj_desc->package.elements[0] = original_object; package 362 drivers/acpi/acpica/nsrepair2.c element_ptr = return_object->package.elements; package 363 drivers/acpi/acpica/nsrepair2.c for (i = 0; i < return_object->package.count; i++) { package 421 drivers/acpi/acpica/nsrepair2.c outer_element_count = return_object->package.count - 1; package 424 drivers/acpi/acpica/nsrepair2.c outer_elements = &return_object->package.elements[i + 1]; package 427 drivers/acpi/acpica/nsrepair2.c if ((*outer_elements)->package.count == 0) { package 437 drivers/acpi/acpica/nsrepair2.c obj_desc = (*outer_elements)->package.elements[1]; /* Index1 = Type */ package 458 drivers/acpi/acpica/nsrepair2.c obj_desc = return_object->package.elements[0]; package 586 drivers/acpi/acpica/nsrepair2.c top_object_list = package_object->package.elements; package 587 drivers/acpi/acpica/nsrepair2.c element_count = package_object->package.count; package 593 drivers/acpi/acpica/nsrepair2.c sub_object_list = sub_package->package.elements; package 597 drivers/acpi/acpica/nsrepair2.c if (sub_package->package.count < 4) { package 672 drivers/acpi/acpica/nsrepair2.c outer_elements = return_object->package.elements; package 673 drivers/acpi/acpica/nsrepair2.c outer_element_count = return_object->package.count; package 676 drivers/acpi/acpica/nsrepair2.c elements = (*outer_elements)->package.elements; package 786 drivers/acpi/acpica/nsrepair2.c outer_element_count = return_object->package.count; package 791 drivers/acpi/acpica/nsrepair2.c outer_elements = &return_object->package.elements[start_index]; package 811 drivers/acpi/acpica/nsrepair2.c if ((*outer_elements)->package.count < expected_count) { package 815 drivers/acpi/acpica/nsrepair2.c elements = (*outer_elements)->package.elements; package 830 drivers/acpi/acpica/nsrepair2.c acpi_ns_sort_list(&return_object->package. package 882 drivers/acpi/acpica/nsrepair2.c obj_desc1 = elements[j - 1]->package.elements[index]; package 883 drivers/acpi/acpica/nsrepair2.c obj_desc2 = elements[j]->package.elements[index]; package 923 drivers/acpi/acpica/nsrepair2.c count = obj_desc->package.count; package 926 drivers/acpi/acpica/nsrepair2.c source = obj_desc->package.elements; package 946 drivers/acpi/acpica/nsrepair2.c obj_desc->package.count = new_count; package 729 drivers/acpi/acpica/rscalc.c number_of_elements = package_object->package.count; package 741 drivers/acpi/acpica/rscalc.c top_object_list = package_object->package.elements; package 760 drivers/acpi/acpica/rscalc.c sub_object_list = package_element->package.elements; package 767 drivers/acpi/acpica/rscalc.c table_index < package_element->package.count package 222 drivers/acpi/acpica/rscreate.c top_object_list = package_object->package.elements; package 223 drivers/acpi/acpica/rscreate.c number_of_elements = package_object->package.count; package 247 drivers/acpi/acpica/rscreate.c if ((*top_object_list)->package.count != 4) { package 250 drivers/acpi/acpica/rscreate.c index, (*top_object_list)->package.count)); package 259 drivers/acpi/acpica/rscreate.c sub_object_list = (*top_object_list)->package.elements; package 228 drivers/acpi/acpica/utcopy.c package.elements[this_index]; package 249 drivers/acpi/acpica/utcopy.c target_object->package.count = source_object->package.count; package 250 drivers/acpi/acpica/utcopy.c target_object->package.elements = package 264 drivers/acpi/acpica/utcopy.c package.count * package 323 drivers/acpi/acpica/utcopy.c external_object->package.count = internal_object->package.count; package 324 drivers/acpi/acpica/utcopy.c external_object->package.elements = package 331 drivers/acpi/acpica/utcopy.c info.length += (acpi_size)external_object->package.count * package 333 drivers/acpi/acpica/utcopy.c info.free_space += external_object->package.count * package 554 drivers/acpi/acpica/utcopy.c acpi_ut_create_package_object(external_object->package.count); package 559 drivers/acpi/acpica/utcopy.c package_elements = package_object->package.elements; package 565 drivers/acpi/acpica/utcopy.c for (i = 0; i < external_object->package.count; i++) { package 567 drivers/acpi/acpica/utcopy.c acpi_ut_copy_eobject_to_iobject(&external_object->package. package 574 drivers/acpi/acpica/utcopy.c package_object->package.count = i; package 583 drivers/acpi/acpica/utcopy.c package_object->package.flags |= AOPOBJ_DATA_VALID; package 805 drivers/acpi/acpica/utcopy.c &state->pkg.dest_object->package.elements[this_index]; package 844 drivers/acpi/acpica/utcopy.c acpi_ut_create_package_object(source_object->package.count); package 898 drivers/acpi/acpica/utcopy.c dest_obj->package.count = source_obj->package.count; package 903 drivers/acpi/acpica/utcopy.c dest_obj->package.elements = ACPI_ALLOCATE_ZEROED(((acpi_size) package 904 drivers/acpi/acpica/utcopy.c source_obj->package. package 907 drivers/acpi/acpica/utcopy.c if (!dest_obj->package.elements) { package 92 drivers/acpi/acpica/utdelete.c object->package.count)); package 101 drivers/acpi/acpica/utdelete.c obj_pointer = object->package.elements; package 525 drivers/acpi/acpica/utdelete.c for (i = 0; i < object->package.count; i++) { package 530 drivers/acpi/acpica/utdelete.c next_object = object->package.elements[i]; package 228 drivers/acpi/acpica/utids.c count = obj_desc->package.count; package 229 drivers/acpi/acpica/utids.c cid_objects = obj_desc->package.elements; package 360 drivers/acpi/acpica/utids.c cls_objects = obj_desc->package.elements; package 361 drivers/acpi/acpica/utids.c count = obj_desc->package.count; package 220 drivers/acpi/acpica/utmisc.c state->pkg.source_object->package.elements[this_index]; package 222 drivers/acpi/acpica/utmisc.c &state->pkg.source_object->package.elements[this_index]; package 245 drivers/acpi/acpica/utmisc.c state->pkg.source_object->package.count) { package 155 drivers/acpi/acpica/utobject.c package_desc->package.count = count; package 156 drivers/acpi/acpica/utobject.c package_desc->package.elements = package_elements; package 446 drivers/acpi/battery.c union acpi_object *package, package 451 drivers/acpi/battery.c if (package->type != ACPI_TYPE_PACKAGE) package 454 drivers/acpi/battery.c if (package->package.count <= i) package 456 drivers/acpi/battery.c element = &package->package.elements[i]; package 640 drivers/acpi/bus.c nval = of_compatible->package.count; package 641 drivers/acpi/bus.c obj = of_compatible->package.elements; package 673 drivers/acpi/bus.c obj = of_compatible->package.elements; package 376 drivers/acpi/cppc_acpi.c if (!psd || psd->package.count != 1) { package 386 drivers/acpi/cppc_acpi.c status = acpi_extract_package(&(psd->package.elements[0]), package 746 drivers/acpi/cppc_acpi.c cpc_obj = &out_obj->package.elements[0]; package 757 drivers/acpi/cppc_acpi.c cpc_obj = &out_obj->package.elements[1]; package 772 drivers/acpi/cppc_acpi.c cpc_obj = &out_obj->package.elements[i]; package 218 drivers/acpi/device_sysfs.c nval = of_compatible->package.count; package 219 drivers/acpi/device_sysfs.c obj = of_compatible->package.elements; package 110 drivers/acpi/fan.c obj->package.count != 3 || package 111 drivers/acpi/fan.c obj->package.elements[1].type != ACPI_TYPE_INTEGER) { package 117 drivers/acpi/fan.c control = obj->package.elements[1].integer.value; package 281 drivers/acpi/fan.c if (!obj || obj->type != ACPI_TYPE_PACKAGE || obj->package.count < 2) { package 287 drivers/acpi/fan.c fan->fps_count = obj->package.count - 1; /* minus revision field */ package 299 drivers/acpi/fan.c status = acpi_extract_package(&obj->package.elements[i + 1], package 131 drivers/acpi/internal.h int acpi_extract_power_resources(union acpi_object *package, unsigned int start, package 233 drivers/acpi/nfit/core.c for (i = 0; i < pkg->package.count; i++) { package 234 drivers/acpi/nfit/core.c union acpi_object *obj = &pkg->package.elements[i]; package 255 drivers/acpi/nfit/core.c for (i = 0; i < pkg->package.count; i++) { package 256 drivers/acpi/nfit/core.c union acpi_object *obj = &pkg->package.elements[i]; package 502 drivers/acpi/nfit/core.c in_obj.package.count = 1; package 503 drivers/acpi/nfit/core.c in_obj.package.elements = &in_buf; package 1779 drivers/acpi/nfit/core.c .package.type = ACPI_TYPE_PACKAGE, package 1780 drivers/acpi/nfit/core.c .package.count = 1, package 1781 drivers/acpi/nfit/core.c .package.elements = &in_buf, package 127 drivers/acpi/power.c static bool acpi_power_resource_is_dup(union acpi_object *package, package 134 drivers/acpi/power.c rhandle = package->package.elements[i].reference.handle; package 136 drivers/acpi/power.c dup = package->package.elements[j].reference.handle; package 144 drivers/acpi/power.c int acpi_extract_power_resources(union acpi_object *package, unsigned int start, package 150 drivers/acpi/power.c for (i = start; i < package->package.count; i++) { package 151 drivers/acpi/power.c union acpi_object *element = &package->package.elements[i]; package 165 drivers/acpi/power.c if (acpi_power_resource_is_dup(package, start, i)) package 323 drivers/acpi/processor_idle.c if (!cst || (cst->type != ACPI_TYPE_PACKAGE) || cst->package.count < 2) { package 329 drivers/acpi/processor_idle.c count = cst->package.elements[0].integer.value; package 332 drivers/acpi/processor_idle.c if (count < 1 || count != cst->package.count - 1) { package 349 drivers/acpi/processor_idle.c element = &(cst->package.elements[i]); package 353 drivers/acpi/processor_idle.c if (element->package.count != 4) package 356 drivers/acpi/processor_idle.c obj = &(element->package.elements[0]); package 368 drivers/acpi/processor_idle.c obj = &(element->package.elements[1]); package 424 drivers/acpi/processor_idle.c obj = &(element->package.elements[2]); package 430 drivers/acpi/processor_idle.c obj = &(element->package.elements[3]); package 981 drivers/acpi/processor_idle.c lpi_data->package.count < 4) { package 987 drivers/acpi/processor_idle.c pkg_count = lpi_data->package.elements[2].integer.value; package 990 drivers/acpi/processor_idle.c if (pkg_count < 1 || pkg_count != lpi_data->package.count - 3) { package 1009 drivers/acpi/processor_idle.c element = &lpi_data->package.elements[loop]; package 1010 drivers/acpi/processor_idle.c if (element->type != ACPI_TYPE_PACKAGE || element->package.count < 7) package 1013 drivers/acpi/processor_idle.c pkg_elem = element->package.elements; package 209 drivers/acpi/processor_perflib.c || (pct->package.count != 2)) { package 219 drivers/acpi/processor_perflib.c obj = pct->package.elements[0]; package 235 drivers/acpi/processor_perflib.c obj = pct->package.elements[1]; package 315 drivers/acpi/processor_perflib.c pss->package.count)); package 317 drivers/acpi/processor_perflib.c pr->performance->state_count = pss->package.count; package 319 drivers/acpi/processor_perflib.c kmalloc_array(pss->package.count, package 336 drivers/acpi/processor_perflib.c status = acpi_extract_package(&(pss->package.elements[i]), package 531 drivers/acpi/processor_perflib.c if (psd->package.count != 1) { package 540 drivers/acpi/processor_perflib.c status = acpi_extract_package(&(psd->package.elements[0]), package 429 drivers/acpi/processor_throttling.c || (ptc->package.count != 2)) { package 439 drivers/acpi/processor_throttling.c obj = ptc->package.elements[0]; package 456 drivers/acpi/processor_throttling.c obj = ptc->package.elements[1]; package 520 drivers/acpi/processor_throttling.c tss->package.count)); package 522 drivers/acpi/processor_throttling.c pr->throttling.state_count = tss->package.count; package 524 drivers/acpi/processor_throttling.c kmalloc_array(tss->package.count, package 543 drivers/acpi/processor_throttling.c status = acpi_extract_package(&(tss->package.elements[i]), package 599 drivers/acpi/processor_throttling.c if (tsd->package.count != 1) { package 610 drivers/acpi/processor_throttling.c status = acpi_extract_package(&(tsd->package.elements[0]), package 75 drivers/acpi/property.c dn->name = link->package.elements[0].string.pointer; package 147 drivers/acpi/property.c status = acpi_get_handle(scope, link->package.elements[1].string.pointer, package 163 drivers/acpi/property.c for (i = 0; i < links->package.count; i++) { package 168 drivers/acpi/property.c link = &links->package.elements[i]; package 170 drivers/acpi/property.c if (link->package.count != 2) package 174 drivers/acpi/property.c if (link->package.elements[0].type != ACPI_TYPE_STRING) package 178 drivers/acpi/property.c switch (link->package.elements[1].type) { package 184 drivers/acpi/property.c handle = link->package.elements[1].reference.handle; package 189 drivers/acpi/property.c desc = &link->package.elements[1]; package 211 drivers/acpi/property.c for (i = 0; i < desc->package.count; i += 2) { package 214 drivers/acpi/property.c guid = &desc->package.elements[i]; package 215 drivers/acpi/property.c links = &desc->package.elements[i + 1]; package 251 drivers/acpi/property.c for (j = 0; j < value->package.count; j++) package 252 drivers/acpi/property.c switch (value->package.elements[j].type) { package 271 drivers/acpi/property.c for (i = 0; i < properties->package.count; i++) { package 274 drivers/acpi/property.c property = &properties->package.elements[i]; package 279 drivers/acpi/property.c if (property->package.count != 2 package 280 drivers/acpi/property.c || property->package.elements[0].type != ACPI_TYPE_STRING package 281 drivers/acpi/property.c || !acpi_property_value_ok(&property->package.elements[1])) package 345 drivers/acpi/property.c if (desc->package.count % 2) package 349 drivers/acpi/property.c for (i = 0; i < desc->package.count; i += 2) { package 352 drivers/acpi/property.c guid = &desc->package.elements[i]; package 353 drivers/acpi/property.c properties = &desc->package.elements[i + 1]; package 498 drivers/acpi/property.c for (i = 0; i < properties->package.count; i++) { package 502 drivers/acpi/property.c property = &properties->package.elements[i]; package 504 drivers/acpi/property.c propname = &property->package.elements[0]; package 505 drivers/acpi/property.c propvalue = &property->package.elements[1]; package 595 drivers/acpi/property.c for (i = 0; i < prop->package.count; i++) package 596 drivers/acpi/property.c if (prop->package.elements[i].type != type) package 717 drivers/acpi/property.c if (index >= obj->package.count) package 720 drivers/acpi/property.c element = obj->package.elements; package 721 drivers/acpi/property.c end = element + obj->package.count; package 949 drivers/acpi/property.c return obj->package.count; package 951 drivers/acpi/property.c if (proptype != DEV_PROP_STRING && nval > obj->package.count) package 956 drivers/acpi/property.c items = obj->package.elements; package 974 drivers/acpi/property.c min_t(u32, nval, obj->package.count)); package 772 drivers/acpi/scan.c union acpi_object *package = NULL; package 786 drivers/acpi/scan.c package = (union acpi_object *)buffer.pointer; package 788 drivers/acpi/scan.c if (!package || package->package.count < 2) package 791 drivers/acpi/scan.c element = &(package->package.elements[0]); package 796 drivers/acpi/scan.c if ((element->package.count < 2) || package 797 drivers/acpi/scan.c (element->package.elements[0].type != package 799 drivers/acpi/scan.c || (element->package.elements[1].type != ACPI_TYPE_INTEGER)) package 803 drivers/acpi/scan.c element->package.elements[0].reference.handle; package 805 drivers/acpi/scan.c (u32) element->package.elements[1].integer.value; package 813 drivers/acpi/scan.c element = &(package->package.elements[1]); package 819 drivers/acpi/scan.c err = acpi_extract_power_resources(package, 2, &wakeup->resources); package 918 drivers/acpi/scan.c union acpi_object *package = buffer.pointer; package 920 drivers/acpi/scan.c if (buffer.length && package package 921 drivers/acpi/scan.c && package->type == ACPI_TYPE_PACKAGE package 922 drivers/acpi/scan.c && package->package.count) package 923 drivers/acpi/scan.c acpi_extract_power_resources(package, 0, &ps->resources); package 718 drivers/acpi/sleep.c union acpi_object *package; package 751 drivers/acpi/sleep.c lpi_constraints_table = kcalloc(out_obj->package.count, package 759 drivers/acpi/sleep.c for (i = 0; i < out_obj->package.count; i++) { package 762 drivers/acpi/sleep.c union acpi_object *package = &out_obj->package.elements[i]; package 766 drivers/acpi/sleep.c if (!package) package 769 drivers/acpi/sleep.c for (j = 0; j < package->package.count; ++j) { package 771 drivers/acpi/sleep.c &(package->package.elements[j]); package 781 drivers/acpi/sleep.c package_count = element->package.count; package 782 drivers/acpi/sleep.c info.package = element->package.elements; package 787 drivers/acpi/sleep.c if (!info.enabled || !info.package || !info.name) package 802 drivers/acpi/sleep.c union acpi_object *info_obj = &info.package[j]; package 812 drivers/acpi/sleep.c if (info_obj->package.count < 2) package 815 drivers/acpi/sleep.c cnstr_pkg = info_obj->package.elements; package 42 drivers/acpi/utils.c acpi_extract_package(union acpi_object *package, package 54 drivers/acpi/utils.c if (!package || (package->type != ACPI_TYPE_PACKAGE) package 55 drivers/acpi/utils.c || (package->package.count < 1)) { package 71 drivers/acpi/utils.c if (format_count > package->package.count) { package 74 drivers/acpi/utils.c format_count, package->package.count); package 85 drivers/acpi/utils.c union acpi_object *element = &(package->package.elements[i]); package 189 drivers/acpi/utils.c union acpi_object *element = &(package->package.elements[i]); package 310 drivers/acpi/utils.c union acpi_object *package = NULL; package 326 drivers/acpi/utils.c package = buffer.pointer; package 328 drivers/acpi/utils.c if ((buffer.length == 0) || !package) { package 333 drivers/acpi/utils.c if (package->type != ACPI_TYPE_PACKAGE) { package 338 drivers/acpi/utils.c if (!package->package.count) { package 344 drivers/acpi/utils.c if (package->package.count > ACPI_MAX_HANDLES) { package 345 drivers/acpi/utils.c kfree(package); package 348 drivers/acpi/utils.c list->count = package->package.count; package 354 drivers/acpi/utils.c element = &(package->package.elements[i]); package 402 drivers/acpi/utils.c || !output->package.count package 403 drivers/acpi/utils.c || output->package.elements[0].type != ACPI_TYPE_BUFFER package 404 drivers/acpi/utils.c || output->package.elements[0].buffer.length < ACPI_PLD_REV1_BUFFER_SIZE) { package 410 drivers/acpi/utils.c output->package.elements[0].buffer.pointer, package 411 drivers/acpi/utils.c output->package.elements[0].buffer.length, package 638 drivers/acpi/utils.c params[3].package.count = 0; package 639 drivers/acpi/utils.c params[3].package.elements = NULL; package 58 drivers/acpi/x86/apple.c numprops = props->package.count / 2; package 68 drivers/acpi/x86/apple.c union acpi_object *key = &props->package.elements[i * 2]; package 69 drivers/acpi/x86/apple.c union acpi_object *val = &props->package.elements[i * 2 + 1]; package 98 drivers/acpi/x86/apple.c newprops->package.count = numvalid; package 99 drivers/acpi/x86/apple.c newprops->package.elements = &newprops[1]; package 103 drivers/acpi/x86/apple.c union acpi_object *key = &props->package.elements[i * 2]; package 104 drivers/acpi/x86/apple.c union acpi_object *val = &props->package.elements[i * 2 + 1]; package 109 drivers/acpi/x86/apple.c newprops[1 + j].package.count = 2; package 110 drivers/acpi/x86/apple.c newprops[1 + j].package.elements = &newprops[k]; package 81 drivers/char/tpm/tpm_ppi.c if (obj->package.count == 3 && package 82 drivers/char/tpm/tpm_ppi.c obj->package.elements[0].type == ACPI_TYPE_INTEGER && package 83 drivers/char/tpm/tpm_ppi.c obj->package.elements[1].type == ACPI_TYPE_INTEGER && package 84 drivers/char/tpm/tpm_ppi.c obj->package.elements[2].type == ACPI_TYPE_INTEGER) { package 85 drivers/char/tpm/tpm_ppi.c if (obj->package.elements[0].integer.value) package 88 drivers/char/tpm/tpm_ppi.c req = obj->package.elements[1].integer.value; package 92 drivers/char/tpm/tpm_ppi.c obj->package.elements[2].integer.value); package 97 drivers/char/tpm/tpm_ppi.c } else if (obj->package.count == 2 && package 98 drivers/char/tpm/tpm_ppi.c obj->package.elements[0].type == ACPI_TYPE_INTEGER && package 99 drivers/char/tpm/tpm_ppi.c obj->package.elements[1].type == ACPI_TYPE_INTEGER) { package 100 drivers/char/tpm/tpm_ppi.c if (obj->package.elements[0].integer.value) package 104 drivers/char/tpm/tpm_ppi.c obj->package.elements[1].integer.value); package 154 drivers/char/tpm/tpm_ppi.c argv4.package.count = 1; package 242 drivers/char/tpm/tpm_ppi.c ret_obj = obj->package.elements; package 243 drivers/char/tpm/tpm_ppi.c if (obj->package.count < 3 || package 273 drivers/cpufreq/pcc-cpufreq.c offset = &(pccp->package.elements[0]); package 281 drivers/cpufreq/pcc-cpufreq.c offset = &(pccp->package.elements[1]); package 423 drivers/cpufreq/pcc-cpufreq.c member = &out_obj->package.elements[0]; package 479 drivers/cpufreq/pcc-cpufreq.c member = &out_obj->package.elements[1]; package 498 drivers/cpufreq/pcc-cpufreq.c member = &out_obj->package.elements[2]; package 506 drivers/cpufreq/pcc-cpufreq.c member = &out_obj->package.elements[3]; package 1252 drivers/gpio/gpiolib-acpi.c const union acpi_object *element = obj->package.elements; package 1253 drivers/gpio/gpiolib-acpi.c const union acpi_object *end = element + obj->package.count; package 86 drivers/gpu/drm/i915/display/intel_acpi.c connector_count = &pkg->package.elements[0]; package 89 drivers/gpu/drm/i915/display/intel_acpi.c for (i = 1; i < pkg->package.count; i++) { package 90 drivers/gpu/drm/i915/display/intel_acpi.c union acpi_object *obj = &pkg->package.elements[i]; package 91 drivers/gpu/drm/i915/display/intel_acpi.c union acpi_object *connector_id = &obj->package.elements[0]; package 92 drivers/gpu/drm/i915/display/intel_acpi.c union acpi_object *info = &obj->package.elements[1]; package 562 drivers/hwmon/acpi_power_meter.c if (!pss->package.count) package 565 drivers/hwmon/acpi_power_meter.c resource->domain_devices = kcalloc(pss->package.count, package 580 drivers/hwmon/acpi_power_meter.c resource->num_domain_devices = pss->package.count; package 582 drivers/hwmon/acpi_power_meter.c for (i = 0; i < pss->package.count; i++) { package 584 drivers/hwmon/acpi_power_meter.c union acpi_object *element = &(pss->package.elements[i]); package 750 drivers/hwmon/acpi_power_meter.c pss->package.count != 14) { package 780 drivers/hwmon/acpi_power_meter.c union acpi_object *element = &(pss->package.elements[i]); package 307 drivers/hwmon/asus_atk0110.c return &pack->package.elements[offset]; package 340 drivers/hwmon/asus_atk0110.c if (obj->package.count != expected_size) { package 342 drivers/hwmon/asus_atk0110.c obj->package.count, expected_size); package 360 drivers/hwmon/asus_atk0110.c tmp = &obj->package.elements[HWMON_PACK_UNK1]; package 366 drivers/hwmon/asus_atk0110.c tmp = &obj->package.elements[HWMON_PACK_UNK2]; package 515 drivers/hwmon/asus_atk0110.c if (pack->package.count < 1) { package 708 drivers/hwmon/asus_atk0110.c for (i = 0; i < pack->package.count; i++) { package 709 drivers/hwmon/asus_atk0110.c union acpi_object *obj = &pack->package.elements[i]; package 737 drivers/hwmon/asus_atk0110.c for (i = 0; i < ret->package.count; i++) { package 738 drivers/hwmon/asus_atk0110.c union acpi_object *pack = &ret->package.elements[i]; package 743 drivers/hwmon/asus_atk0110.c if (!pack->package.count) package 745 drivers/hwmon/asus_atk0110.c id = &pack->package.elements[0]; package 959 drivers/hwmon/asus_atk0110.c for (i = 1; i < pack->package.count; i++) { package 960 drivers/hwmon/asus_atk0110.c union acpi_object *obj = &pack->package.elements[i]; package 980 drivers/hwmon/asus_atk0110.c for (i = 1; i < pack->package.count; i++) { package 981 drivers/hwmon/asus_atk0110.c union acpi_object *obj = &pack->package.elements[i]; package 1001 drivers/hwmon/asus_atk0110.c for (i = 1; i < pack->package.count; i++) { package 1002 drivers/hwmon/asus_atk0110.c union acpi_object *obj = &pack->package.elements[i]; package 1033 drivers/hwmon/asus_atk0110.c for (i = 0; i < pack->package.count; i++) { package 1034 drivers/hwmon/asus_atk0110.c union acpi_object *obj = &pack->package.elements[i]; package 1040 drivers/hwmon/asus_atk0110.c id = &obj->package.elements[0]; package 1148 drivers/hwmon/asus_atk0110.c for (i = 0; i < pack->package.count; i++) { package 1149 drivers/hwmon/asus_atk0110.c union acpi_object *obj = &pack->package.elements[i]; package 1299 drivers/hwmon/asus_atk0110.c if (obj->package.count >= 2) { package 1300 drivers/hwmon/asus_atk0110.c union acpi_object *id = &obj->package.elements[1]; package 357 drivers/hwtracing/coresight/coresight-platform.c obj->package.count < 3) package 360 drivers/hwtracing/coresight/coresight-platform.c graphid = &obj->package.elements[0]; package 361 drivers/hwtracing/coresight/coresight-platform.c guid = &obj->package.elements[1]; package 362 drivers/hwtracing/coresight/coresight-platform.c links = &obj->package.elements[2]; package 445 drivers/hwtracing/coresight/coresight-platform.c if (graph->package.count < 2) package 448 drivers/hwtracing/coresight/coresight-platform.c rev = &graph->package.elements[0]; package 449 drivers/hwtracing/coresight/coresight-platform.c nr_graphs = &graph->package.elements[1]; package 465 drivers/hwtracing/coresight/coresight-platform.c if (graph->package.count != (n + 2)) package 473 drivers/hwtracing/coresight/coresight-platform.c const union acpi_object *obj = &graph->package.elements[i]; package 476 drivers/hwtracing/coresight/coresight-platform.c obj->package.count < 3) package 503 drivers/hwtracing/coresight/coresight-platform.c for (i = 0; i + 1 < dsd->package.count; i += 2) { package 504 drivers/hwtracing/coresight/coresight-platform.c const union acpi_object *guid, *package; package 506 drivers/hwtracing/coresight/coresight-platform.c guid = &dsd->package.elements[i]; package 507 drivers/hwtracing/coresight/coresight-platform.c package = &dsd->package.elements[i + 1]; package 510 drivers/hwtracing/coresight/coresight-platform.c if (!is_acpi_guid(guid) || package->type != ACPI_TYPE_PACKAGE) package 515 drivers/hwtracing/coresight/coresight-platform.c if (acpi_validate_dsd_graph(package)) package 516 drivers/hwtracing/coresight/coresight-platform.c return package; package 529 drivers/hwtracing/coresight/coresight-platform.c nlinks = cs_graph->package.elements[2].integer.value; package 534 drivers/hwtracing/coresight/coresight-platform.c if (cs_graph->package.count != (nlinks + 3)) package 557 drivers/hwtracing/coresight/coresight-platform.c nr_graphs = graph_list->package.elements[1].integer.value; package 560 drivers/hwtracing/coresight/coresight-platform.c graph = &graph_list->package.elements[i]; package 599 drivers/hwtracing/coresight/coresight-platform.c link->package.count != 4) package 602 drivers/hwtracing/coresight/coresight-platform.c fields = link->package.elements; package 652 drivers/hwtracing/coresight/coresight-platform.c nlinks = graph->package.elements[2].integer.value; package 667 drivers/hwtracing/coresight/coresight-platform.c const union acpi_object *link = &graph->package.elements[3 + i]; package 72 drivers/i2c/busses/i2c-designware-platdrv.c if (obj->type == ACPI_TYPE_PACKAGE && obj->package.count == 3) { package 73 drivers/i2c/busses/i2c-designware-platdrv.c const union acpi_object *objs = obj->package.elements; package 190 drivers/i2c/busses/i2c-scmi.c obj = pkg->package.elements; package 227 drivers/i2c/busses/i2c-scmi.c obj = pkg->package.elements + 1; package 235 drivers/i2c/busses/i2c-scmi.c obj = pkg->package.elements + 2; package 320 drivers/i2c/busses/i2c-scmi.c obj = obj->package.elements; package 1056 drivers/iio/accel/st_accel_core.c if (ont->type != ACPI_TYPE_PACKAGE || ont->package.count != 6) package 1063 drivers/iio/accel/st_accel_core.c elements = ont->package.elements; package 58 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c for (i = 0; i < cpm->package.count; ++i) { package 62 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c elem = &cpm->package.elements[i]; package 63 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c for (j = 0; j < elem->package.count; ++j) { package 66 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c sub_elem = &elem->package.elements[j]; package 78 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c ret = cpm->package.count; package 165 drivers/input/misc/soc_button_array.c desc->package.count != 5 || package 167 drivers/input/misc/soc_button_array.c soc_button_get_acpi_object_int(&desc->package.elements[0]) != 1 || package 169 drivers/input/misc/soc_button_array.c soc_button_get_acpi_object_int(&desc->package.elements[2]) != package 177 drivers/input/misc/soc_button_array.c soc_button_get_acpi_object_int(&desc->package.elements[1]); package 178 drivers/input/misc/soc_button_array.c upage = soc_button_get_acpi_object_int(&desc->package.elements[3]); package 179 drivers/input/misc/soc_button_array.c usage = soc_button_get_acpi_object_int(&desc->package.elements[4]); package 245 drivers/input/misc/soc_button_array.c for (i = 0; (i + 1) < desc->package.count; i += 2) { package 246 drivers/input/misc/soc_button_array.c uuid = &desc->package.elements[i]; package 250 drivers/input/misc/soc_button_array.c desc->package.elements[i + 1].type != ACPI_TYPE_PACKAGE) { package 255 drivers/input/misc/soc_button_array.c btns_desc = &desc->package.elements[i + 1]; package 267 drivers/input/misc/soc_button_array.c el0 = &btns_desc->package.elements[0]; package 269 drivers/input/misc/soc_button_array.c el0->package.count == 5 && package 271 drivers/input/misc/soc_button_array.c soc_button_get_acpi_object_int(&el0->package.elements[0]) == 0 && package 273 drivers/input/misc/soc_button_array.c soc_button_get_acpi_object_int(&el0->package.elements[2]) == 0) { package 275 drivers/input/misc/soc_button_array.c &el0->package.elements[1]); package 284 drivers/input/misc/soc_button_array.c button_info = devm_kcalloc(dev, btns_desc->package.count, package 292 drivers/input/misc/soc_button_array.c for (i = 1, btn = 0; i < btns_desc->package.count; i++, btn++) { package 294 drivers/input/misc/soc_button_array.c &btns_desc->package.elements[i], package 598 drivers/misc/cardreader/rtsx_usb.c ucr->package = LQFP48; package 601 drivers/misc/cardreader/rtsx_usb.c ucr->package = QFN24; package 72 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c argv4.package.count = 3; package 73 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c argv4.package.elements = obj_args; package 99 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c argv4.package.count = 2; package 100 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c argv4.package.elements = obj_args; package 264 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c argv4.package.count = 3; package 265 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c argv4.package.elements = obj_args; package 548 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c argv4.package.count = 1, package 549 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c argv4.package.elements = &obj_args, package 595 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c argv4.package.count = 1, package 596 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c argv4.package.elements = &obj_args, package 689 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c argv4.package.count = 2; package 690 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c argv4.package.elements = obj_args; package 8585 drivers/net/wireless/ath/ath10k/mac.c wrdd->package.count < 2 || package 8586 drivers/net/wireless/ath/ath10k/mac.c wrdd->package.elements[0].type != ACPI_TYPE_INTEGER || package 8587 drivers/net/wireless/ath/ath10k/mac.c wrdd->package.elements[0].integer.value != 0) { package 8592 drivers/net/wireless/ath/ath10k/mac.c for (i = 1; i < wrdd->package.count; ++i) { package 8593 drivers/net/wireless/ath/ath10k/mac.c mcc_pkg = &wrdd->package.elements[i]; package 8597 drivers/net/wireless/ath/ath10k/mac.c if (mcc_pkg->package.count < 2) package 8599 drivers/net/wireless/ath/ath10k/mac.c if (mcc_pkg->package.elements[0].type != ACPI_TYPE_INTEGER || package 8600 drivers/net/wireless/ath/ath10k/mac.c mcc_pkg->package.elements[1].type != ACPI_TYPE_INTEGER) package 8603 drivers/net/wireless/ath/ath10k/mac.c domain_type = &mcc_pkg->package.elements[0]; package 8607 drivers/net/wireless/ath/ath10k/mac.c mcc_value = &mcc_pkg->package.elements[1]; package 120 drivers/net/wireless/intel/iwlwifi/fw/acpi.c data->package.count < 2 || package 121 drivers/net/wireless/intel/iwlwifi/fw/acpi.c data->package.elements[0].type != ACPI_TYPE_INTEGER || package 122 drivers/net/wireless/intel/iwlwifi/fw/acpi.c data->package.elements[0].integer.value > 1) { package 127 drivers/net/wireless/intel/iwlwifi/fw/acpi.c *tbl_rev = data->package.elements[0].integer.value; package 130 drivers/net/wireless/intel/iwlwifi/fw/acpi.c for (i = 1; i < data->package.count; i++) { package 133 drivers/net/wireless/intel/iwlwifi/fw/acpi.c wifi_pkg = &data->package.elements[i]; package 137 drivers/net/wireless/intel/iwlwifi/fw/acpi.c wifi_pkg->package.count != data_size) package 140 drivers/net/wireless/intel/iwlwifi/fw/acpi.c domain = &wifi_pkg->package.elements[0]; package 170 drivers/net/wireless/intel/iwlwifi/fw/acpi.c if (wifi_pkg->package.elements[1].type != ACPI_TYPE_INTEGER || package 176 drivers/net/wireless/intel/iwlwifi/fw/acpi.c mcc_val = wifi_pkg->package.elements[1].integer.value; package 204 drivers/net/wireless/intel/iwlwifi/fw/acpi.c wifi_pkg->package.elements[1].integer.value != ACPI_TYPE_INTEGER) { package 209 drivers/net/wireless/intel/iwlwifi/fw/acpi.c dflt_pwr_limit = wifi_pkg->package.elements[1].integer.value; package 233 drivers/net/wireless/intel/iwlwifi/fw/acpi.c if (wifi_pkg->package.elements[1].type != ACPI_TYPE_INTEGER || package 239 drivers/net/wireless/intel/iwlwifi/fw/acpi.c *extl_clk = wifi_pkg->package.elements[1].integer.value; package 717 drivers/net/wireless/intel/iwlwifi/mvm/fw.c if (wifi_pkg->package.elements[1].type != ACPI_TYPE_INTEGER || package 723 drivers/net/wireless/intel/iwlwifi/mvm/fw.c enabled = !!(wifi_pkg->package.elements[1].integer.value); package 726 drivers/net/wireless/intel/iwlwifi/mvm/fw.c table = &wifi_pkg->package.elements[2]; package 755 drivers/net/wireless/intel/iwlwifi/mvm/fw.c if ((wifi_pkg->package.elements[1].type != ACPI_TYPE_INTEGER) || package 756 drivers/net/wireless/intel/iwlwifi/mvm/fw.c (wifi_pkg->package.elements[2].type != ACPI_TYPE_INTEGER) || package 762 drivers/net/wireless/intel/iwlwifi/mvm/fw.c enabled = !!(wifi_pkg->package.elements[1].integer.value); package 763 drivers/net/wireless/intel/iwlwifi/mvm/fw.c n_profiles = wifi_pkg->package.elements[2].integer.value; package 784 drivers/net/wireless/intel/iwlwifi/mvm/fw.c &wifi_pkg->package.elements[pos], package 826 drivers/net/wireless/intel/iwlwifi/mvm/fw.c entry = &wifi_pkg->package.elements[idx++]; package 1057 drivers/net/wireless/intel/iwlwifi/mvm/fw.c enabled = &wifi_pkg->package.elements[1]; package 1079 drivers/net/wireless/intel/iwlwifi/mvm/fw.c ent = &wifi_pkg->package.elements[idx++]; package 284 drivers/pci/hotplug/acpiphp_ibm.c union acpi_object *package; package 296 drivers/pci/hotplug/acpiphp_ibm.c package = (union acpi_object *) buffer.pointer; package 297 drivers/pci/hotplug/acpiphp_ibm.c if (!(package) || package 298 drivers/pci/hotplug/acpiphp_ibm.c (package->type != ACPI_TYPE_PACKAGE) || package 299 drivers/pci/hotplug/acpiphp_ibm.c !(package->package.elements)) { package 304 drivers/pci/hotplug/acpiphp_ibm.c for (size = 0, i = 0; i < package->package.count; i++) { package 305 drivers/pci/hotplug/acpiphp_ibm.c if (package->package.elements[i].type != ACPI_TYPE_BUFFER) { package 309 drivers/pci/hotplug/acpiphp_ibm.c size += package->package.elements[i].buffer.length; package 317 drivers/pci/hotplug/acpiphp_ibm.c __func__, package->package.count, size, lbuf); package 327 drivers/pci/hotplug/acpiphp_ibm.c for (i = 0; i < package->package.count; i++) { package 329 drivers/pci/hotplug/acpiphp_ibm.c package->package.elements[i].buffer.pointer, package 330 drivers/pci/hotplug/acpiphp_ibm.c package->package.elements[i].buffer.length); package 331 drivers/pci/hotplug/acpiphp_ibm.c size += package->package.elements[i].buffer.length; package 174 drivers/pci/pci-acpi.c union acpi_object *fields = record->package.elements; package 179 drivers/pci/pci-acpi.c if (record->package.count != 6) package 224 drivers/pci/pci-acpi.c union acpi_object *fields = record->package.elements; package 229 drivers/pci/pci-acpi.c if (record->package.count != 5) package 373 drivers/pci/pci-acpi.c union acpi_object *fields = record->package.elements; package 378 drivers/pci/pci-acpi.c if (record->package.count != 18) package 589 drivers/pci/pci-acpi.c union acpi_object *fields = record->package.elements; package 601 drivers/pci/pci-acpi.c if (record->package.count != expected_length) package 628 drivers/pci/pci-acpi.c union acpi_object *package, *record, *fields; package 639 drivers/pci/pci-acpi.c package = (union acpi_object *)buffer.pointer; package 640 drivers/pci/pci-acpi.c if (package->type != ACPI_TYPE_PACKAGE) { package 645 drivers/pci/pci-acpi.c for (i = 0; i < package->package.count; i++) { package 646 drivers/pci/pci-acpi.c record = &package->package.elements[i]; package 652 drivers/pci/pci-acpi.c fields = record->package.elements; package 703 drivers/pci/pci-acpi.c union acpi_object *package, *fields; package 713 drivers/pci/pci-acpi.c package = (union acpi_object *) buffer.pointer; package 714 drivers/pci/pci-acpi.c if (package->type != ACPI_TYPE_PACKAGE || package 715 drivers/pci/pci-acpi.c package->package.count != 4) { package 720 drivers/pci/pci-acpi.c fields = package->package.elements; package 1200 drivers/pci/pci-acpi.c if (obj->type == ACPI_TYPE_PACKAGE && obj->package.count == 5) { package 1201 drivers/pci/pci-acpi.c elements = obj->package.elements; package 185 drivers/pci/pci-label.c tmp = obj->package.elements; package 186 drivers/pci/pci-label.c if (obj->type == ACPI_TYPE_PACKAGE && obj->package.count == 2 && package 1532 drivers/platform/x86/acer-wmi.c if (out_obj->package.count != 4) package 1536 drivers/platform/x86/acer-wmi.c (s16)out_obj->package.elements[0].integer.value); package 1538 drivers/platform/x86/acer-wmi.c (s16)out_obj->package.elements[1].integer.value); package 1540 drivers/platform/x86/acer-wmi.c (s16)out_obj->package.elements[2].integer.value); package 245 drivers/platform/x86/alienware-wmi.c int package; package 256 drivers/platform/x86/alienware-wmi.c repackager.package = rgb & 0x0f0f0f0f; package 143 drivers/platform/x86/intel-hid.c argv4.package.count = 1; package 144 drivers/platform/x86/intel-hid.c argv4.package.elements = &req; package 277 drivers/platform/x86/panasonic-laptop.c if (pcc->num_sifr < hkey->package.count) { package 284 drivers/platform/x86/panasonic-laptop.c for (i = 0; i < hkey->package.count; i++) { package 285 drivers/platform/x86/panasonic-laptop.c union acpi_object *element = &(hkey->package.elements[i]); package 292 drivers/platform/x86/panasonic-laptop.c pcc->sinf[hkey->package.count] = -1; package 6875 drivers/platform/x86/thinkpad_acpi.c rc = obj->package.count; package 332 drivers/platform/x86/toshiba_acpi.c if ((status == AE_OK) && (out_objs->package.count <= TCI_WORDS)) { package 333 drivers/platform/x86/toshiba_acpi.c for (i = 0; i < out_objs->package.count; ++i) package 334 drivers/platform/x86/toshiba_acpi.c out[i] = out_objs->package.elements[i].integer.value; package 502 drivers/platform/x86/wmi.c pr_cont("PACKAGE_TYPE - %d elements\n", obj->package.count); package 2733 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 package; package 2741 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c package = efuseContent & 0x7; package 2742 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c switch (package) { package 91 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c *trt_count = p->package.count; package 104 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c status = acpi_extract_package(&(p->package.elements[i]), package 170 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c *art_count = p->package.count - 1; package 183 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c status = acpi_extract_package(&(p->package.elements[i + 1]), package 139 drivers/thermal/intel/int340x_thermal/int3400_thermal.c for (i = 0; i < obja->package.count; i++) { package 140 drivers/thermal/intel/int340x_thermal/int3400_thermal.c objb = &obja->package.elements[i]; package 190 drivers/thermal/intel/int340x_thermal/int3403_thermal.c obj->max_state = p->package.count - 1; package 296 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c if (!p->package.count) { package 302 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c for (i = 0; i < min((int)p->package.count - 1, 2); ++i) { package 303 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c elements = &(p->package.elements[i+1]); package 305 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c elements->package.count != 6) { package 309 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c ppcc = elements->package.elements; package 103 drivers/usb/core/usb-acpi.c || upc->package.count != 4) { package 107 drivers/usb/core/usb-acpi.c if (upc->package.elements[0].integer.value) package 53 drivers/xen/xen-acpi-pad.c union acpi_object *package; package 62 drivers/xen/xen-acpi-pad.c package = buffer.pointer; package 64 drivers/xen/xen-acpi-pad.c if (package->type == ACPI_TYPE_PACKAGE && package 65 drivers/xen/xen-acpi-pad.c package->package.count == 2 && package 66 drivers/xen/xen-acpi-pad.c package->package.elements[0].integer.value == 1) /* rev 1 */ package 67 drivers/xen/xen-acpi-pad.c num = package->package.elements[1].integer.value; package 24 include/acpi/acpi_bus.h acpi_extract_package(union acpi_object *package, package 73 include/acpi/acpi_bus.h .package.type = ACPI_TYPE_PACKAGE, \ package 74 include/acpi/acpi_bus.h .package.count = (cnt), \ package 75 include/acpi/acpi_bus.h .package.elements = (eles) \ package 921 include/acpi/actypes.h } package; package 37 include/linux/rtsx_usb.h #define CHECK_PKG(ucr, pkg) ((ucr)->package == (pkg)) package 44 include/linux/rtsx_usb.h int package; package 197 net/ncsi/internal.h struct ncsi_package *package; package 321 net/ncsi/internal.h unsigned char package; /* Destination package ID */ package 92 net/ncsi/ncsi-aen.c if (!ndp->multi_package && !nc->package->multi_channel) { package 112 net/ncsi/ncsi-aen.c ncsi_update_tx_channel(ndp, nc->package, nc, NULL); package 114 net/ncsi/ncsi-aen.c } else if (has_link && nc->package->preferred_channel == nc) { package 116 net/ncsi/ncsi-aen.c ncsi_update_tx_channel(ndp, nc->package, NULL, nc); package 126 net/ncsi/ncsi-aen.c ncsi_update_tx_channel(ndp, nc->package, package 47 net/ncsi/ncsi-cmd.c h->channel = NCSI_TO_CHANNEL(nca->package, package 90 net/ncsi/ncsi-manage.c struct ncsi_package *np = nc->package; package 120 net/ncsi/ncsi-manage.c nca.package = np->id; package 211 net/ncsi/ncsi-manage.c nc->package = np; package 239 net/ncsi/ncsi-manage.c struct ncsi_package *np = nc->package; package 480 net/ncsi/ncsi-manage.c nca.package = np->id; package 508 net/ncsi/ncsi-manage.c nca.package = np->id; package 523 net/ncsi/ncsi-manage.c nca.package = np->id; package 536 net/ncsi/ncsi-manage.c nca.package = np->id; package 559 net/ncsi/ncsi-manage.c nca.package = np->id; package 788 net/ncsi/ncsi-manage.c if (!ndp->multi_package && np != nc->package) package 799 net/ncsi/ncsi-manage.c np = channel->package; package 820 net/ncsi/ncsi-manage.c struct ncsi_package *package, package 829 net/ncsi/ncsi-manage.c if (!package->multi_channel && !ndp->multi_package) package 839 net/ncsi/ncsi-manage.c if (!ndp->multi_package && np != package) package 853 net/ncsi/ncsi-manage.c if (!ndp->multi_package && np != package) package 884 net/ncsi/ncsi-manage.c nca.package = disable->package->id; package 896 net/ncsi/ncsi-manage.c nca.package = enable->package->id; package 932 net/ncsi/ncsi-manage.c nca.package = np->id; package 948 net/ncsi/ncsi-manage.c nca.package = np->id; package 965 net/ncsi/ncsi-manage.c nca.package = np->id; package 987 net/ncsi/ncsi-manage.c nca.package = np->id; package 1286 net/ncsi/ncsi-manage.c nca.package = index; package 1299 net/ncsi/ncsi-manage.c nca.package = ndp->package_probe_id; package 1323 net/ncsi/ncsi-manage.c nca.package = ndp->active_package->id; package 1347 net/ncsi/ncsi-manage.c nca.package = np->id; package 1367 net/ncsi/ncsi-manage.c nca.package = ndp->package_probe_id; package 1447 net/ncsi/ncsi-manage.c ndp->active_package = nc->package; package 1464 net/ncsi/ncsi-manage.c old_state, nc->package->id, nc->id); package 1806 net/ncsi/ncsi-manage.c ndp->active_package = active->package; package 71 net/ncsi/ncsi-netlink.c if (nc == nc->package->preferred_channel) package 212 net/ncsi/ncsi-netlink.c struct ncsi_package *np, *package; package 234 net/ncsi/ncsi-netlink.c package = NULL; package 237 net/ncsi/ncsi-netlink.c package = np; package 239 net/ncsi/ncsi-netlink.c if (!package) package 254 net/ncsi/ncsi-netlink.c rc = ncsi_write_package_info(skb, ndp, package->id); package 273 net/ncsi/ncsi-netlink.c struct ncsi_package *np, *package; package 294 net/ncsi/ncsi-netlink.c package = NULL; package 298 net/ncsi/ncsi-netlink.c package = np; package 299 net/ncsi/ncsi-netlink.c if (!package) { package 307 net/ncsi/ncsi-netlink.c NCSI_FOR_EACH_CHANNEL(package, nc) package 321 net/ncsi/ncsi-netlink.c ndp->package_whitelist = 0x1 << package->id; package 325 net/ncsi/ncsi-netlink.c spin_lock_irqsave(&package->lock, flags); package 326 net/ncsi/ncsi-netlink.c package->multi_channel = false; package 328 net/ncsi/ncsi-netlink.c package->channel_whitelist = 0x1 << channel->id; package 329 net/ncsi/ncsi-netlink.c package->preferred_channel = channel; package 332 net/ncsi/ncsi-netlink.c package->channel_whitelist = UINT_MAX; package 333 net/ncsi/ncsi-netlink.c package->preferred_channel = NULL; package 335 net/ncsi/ncsi-netlink.c spin_unlock_irqrestore(&package->lock, flags); package 454 net/ncsi/ncsi-netlink.c nca.package = (unsigned char)package_id; package 640 net/ncsi/ncsi-netlink.c struct ncsi_package *np, *package; package 664 net/ncsi/ncsi-netlink.c package = NULL; package 667 net/ncsi/ncsi-netlink.c package = np; package 670 net/ncsi/ncsi-netlink.c if (!package) package 673 net/ncsi/ncsi-netlink.c spin_lock_irqsave(&package->lock, flags); package 684 net/ncsi/ncsi-netlink.c spin_unlock_irqrestore(&package->lock, flags); package 692 net/ncsi/ncsi-netlink.c package->channel_whitelist = package 694 net/ncsi/ncsi-netlink.c if (package->channel_whitelist == 0) package 697 net/ncsi/ncsi-netlink.c package->id); package 699 net/ncsi/ncsi-netlink.c package->preferred_channel = channel; package 702 net/ncsi/ncsi-netlink.c package->multi_channel = true; package 707 net/ncsi/ncsi-netlink.c package->multi_channel = false; package 710 net/ncsi/ncsi-netlink.c spin_unlock_irqrestore(&package->lock, flags); package 56 sound/soc/soc-acpi.c if (!myobj || myobj->package.count != pkg_ctx->length) { package 2684 tools/testing/nvdimm/test/nfit.c result->package.type = ACPI_TYPE_BUFFER,