Home
last modified time | relevance | path

Searched refs:package (Results 1 – 25 of 67) sorted by relevance

123

/drivers/acpi/acpica/
Dnspredef.c82 const union acpi_predefined_info *package,
429 const union acpi_predefined_info *package; in acpi_ns_check_package() local
440 package = data->predefined + 1; in acpi_ns_check_package()
444 data->pathname, package->ret_info.type, in acpi_ns_check_package()
445 return_object->package.count)); in acpi_ns_check_package()
451 acpi_ns_remove_null_elements(data, package->ret_info.type, in acpi_ns_check_package()
456 elements = return_object->package.elements; in acpi_ns_check_package()
457 count = return_object->package.count; in acpi_ns_check_package()
474 switch (package->ret_info.type) { in acpi_ns_check_package()
484 package->ret_info.count1 + package->ret_info.count2; in acpi_ns_check_package()
[all …]
Dutcopy.c262 &((union acpi_object *)(state->pkg.dest_object))->package. in acpi_ut_copy_ielement_to_eelement()
286 target_object->package.count = source_object->package.count; in acpi_ut_copy_ielement_to_eelement()
287 target_object->package.elements = in acpi_ut_copy_ielement_to_eelement()
301 package.count * in acpi_ut_copy_ielement_to_eelement()
359 external_object->package.count = internal_object->package.count; in acpi_ut_copy_ipackage_to_epackage()
360 external_object->package.elements = ACPI_CAST_PTR(union acpi_object, in acpi_ut_copy_ipackage_to_epackage()
367 info.length += (acpi_size) external_object->package.count * in acpi_ut_copy_ipackage_to_epackage()
369 info.free_space += external_object->package.count * in acpi_ut_copy_ipackage_to_epackage()
587 acpi_ut_create_package_object(external_object->package.count); in acpi_ut_copy_epackage_to_ipackage()
592 package_elements = package_object->package.elements; in acpi_ut_copy_epackage_to_ipackage()
[all …]
Dnsrepair2.c376 element_ptr = return_object->package.elements; in acpi_ns_repair_CID()
377 for (i = 0; i < return_object->package.count; i++) { in acpi_ns_repair_CID()
578 outer_elements = return_object->package.elements; in acpi_ns_repair_PSS()
579 outer_element_count = return_object->package.count; in acpi_ns_repair_PSS()
582 elements = (*outer_elements)->package.elements; in acpi_ns_repair_PSS()
645 outer_elements = return_object->package.elements; in acpi_ns_check_sorted_list()
646 outer_element_count = return_object->package.count; in acpi_ns_check_sorted_list()
668 if ((*outer_elements)->package.count < expected_count) { in acpi_ns_check_sorted_list()
672 elements = (*outer_elements)->package.elements; in acpi_ns_check_sorted_list()
687 acpi_ns_sort_list(return_object->package.elements, in acpi_ns_check_sorted_list()
[all …]
Ddsobject.c417 obj_desc->package.node = parent->common.node; in acpi_ds_build_internal_package_obj()
425 obj_desc->package.elements = ACPI_ALLOCATE_ZEROED(((acpi_size) in acpi_ds_build_internal_package_obj()
429 if (!obj_desc->package.elements) { in acpi_ds_build_internal_package_obj()
434 obj_desc->package.count = element_count; in acpi_ds_build_internal_package_obj()
456 package. in acpi_ds_build_internal_package_obj()
461 obj_desc->package.elements[i] = in acpi_ds_build_internal_package_obj()
468 package. in acpi_ds_build_internal_package_obj()
485 package. in acpi_ds_build_internal_package_obj()
540 obj_desc->package.flags |= AOPOBJ_DATA_VALID; in acpi_ds_build_internal_package_obj()
667 obj_desc->package.node = in acpi_ds_init_object_from_op()
[all …]
Dhwxface.c509 else if (info->return_object->package.count < 2) { in ACPI_EXPORT_SYMBOL()
517 else if (((info->return_object->package.elements[0])->common.type in ACPI_EXPORT_SYMBOL()
519 ((info->return_object->package.elements[1])->common.type in ACPI_EXPORT_SYMBOL()
525 package.elements[0]), in ACPI_EXPORT_SYMBOL()
527 package.elements[1]))); in ACPI_EXPORT_SYMBOL()
533 (info->return_object->package.elements[0])->integer.value; in ACPI_EXPORT_SYMBOL()
535 (info->return_object->package.elements[1])->integer.value; in ACPI_EXPORT_SYMBOL()
Dnsrepair.c431 elements = original_object->package.elements; in acpi_ns_convert_to_buffer()
432 count = original_object->package.count; in acpi_ns_convert_to_buffer()
451 elements = original_object->package.elements; in acpi_ns_convert_to_buffer()
602 count = obj_desc->package.count; in acpi_ns_remove_null_elements()
605 source = obj_desc->package.elements; in acpi_ns_remove_null_elements()
630 obj_desc->package.count = new_count; in acpi_ns_remove_null_elements()
676 pkg_obj_desc->package.elements[0] = original_object; in acpi_ns_wrap_with_package()
Dexdump.c103 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(package.flags), "Flags"},
104 {ACPI_EXD_UINT32, ACPI_EXD_OFFSET(package.count), "Elements"},
105 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(package.elements), "Element List"},
586 obj_desc->package.count, in acpi_ex_dump_operand()
587 obj_desc->package.elements); in acpi_ex_dump_operand()
593 if (obj_desc->package.count && in acpi_ex_dump_operand()
594 obj_desc->package.elements && acpi_dbg_level > 1) { in acpi_ex_dump_operand()
595 for (index = 0; index < obj_desc->package.count; in acpi_ex_dump_operand()
597 acpi_ex_dump_operand(obj_desc->package. in acpi_ex_dump_operand()
952 obj_desc->package.count); in acpi_ex_dump_package_obj()
[all …]
Dexoparg6.c246 if (index >= operand[0]->package.count) { in acpi_ex_opcode_6A_0T_1R()
250 operand[0]->package.count)); in acpi_ex_opcode_6A_0T_1R()
276 for (; index < operand[0]->package.count; index++) { in acpi_ex_opcode_6A_0T_1R()
280 this_element = operand[0]->package.elements[index]; in acpi_ex_opcode_6A_0T_1R()
Drscreate.c253 top_object_list = package_object->package.elements; in acpi_rs_create_pci_routing_table()
254 number_of_elements = package_object->package.count; in acpi_rs_create_pci_routing_table()
289 if ((*top_object_list)->package.count != 4) { in acpi_rs_create_pci_routing_table()
292 index, (*top_object_list)->package.count)); in acpi_rs_create_pci_routing_table()
301 sub_object_list = (*top_object_list)->package.elements; in acpi_rs_create_pci_routing_table()
Dexdebug.c164 source_desc->package.count); in acpi_ex_do_debug_object()
168 for (i = 0; i < source_desc->package.count; i++) { in acpi_ex_do_debug_object()
169 acpi_ex_do_debug_object(source_desc->package. in acpi_ex_do_debug_object()
Dutdelete.c127 object->package.count)); in acpi_ut_delete_internal_obj()
136 obj_pointer = object->package.elements; in acpi_ut_delete_internal_obj()
521 for (i = 0; i < object->package.count; i++) { in acpi_ut_update_object_reference()
529 (object->package.elements[i], action, in acpi_ut_update_object_reference()
Ddsargs.c333 node = obj_desc->package.node; in acpi_ds_get_package_arguments()
346 obj_desc->package.aml_length, in acpi_ds_get_package_arguments()
347 obj_desc->package.aml_start); in acpi_ds_get_package_arguments()
/drivers/acpi/
Dutils.c57 acpi_extract_package(union acpi_object *package, in acpi_extract_package() argument
69 if (!package || (package->type != ACPI_TYPE_PACKAGE) in acpi_extract_package()
70 || (package->package.count < 1)) { in acpi_extract_package()
86 if (format_count > package->package.count) { in acpi_extract_package()
89 format_count, package->package.count); in acpi_extract_package()
100 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package()
186 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package()
300 union acpi_object *package = NULL; in acpi_evaluate_reference() local
316 package = buffer.pointer; in acpi_evaluate_reference()
318 if ((buffer.length == 0) || !package) { in acpi_evaluate_reference()
[all …]
Dacpi_pad.c391 union acpi_object *package; in acpi_pad_pur() local
400 package = buffer.pointer; in acpi_pad_pur()
402 if (package->type == ACPI_TYPE_PACKAGE && in acpi_pad_pur()
403 package->package.count == 2 && in acpi_pad_pur()
404 package->package.elements[0].integer.value == 1) /* rev 1 */ in acpi_pad_pur()
406 num = package->package.elements[1].integer.value; in acpi_pad_pur()
Dscan.c712 union acpi_object *package = NULL; in acpi_bus_extract_wakeup_device_power_package() local
727 package = (union acpi_object *)buffer.pointer; in acpi_bus_extract_wakeup_device_power_package()
729 if (!package || (package->package.count < 2)) { in acpi_bus_extract_wakeup_device_power_package()
734 element = &(package->package.elements[0]); in acpi_bus_extract_wakeup_device_power_package()
740 if ((element->package.count < 2) || in acpi_bus_extract_wakeup_device_power_package()
741 (element->package.elements[0].type != in acpi_bus_extract_wakeup_device_power_package()
743 || (element->package.elements[1].type != ACPI_TYPE_INTEGER)) { in acpi_bus_extract_wakeup_device_power_package()
748 element->package.elements[0].reference.handle; in acpi_bus_extract_wakeup_device_power_package()
750 (u32) element->package.elements[1].integer.value; in acpi_bus_extract_wakeup_device_power_package()
759 element = &(package->package.elements[1]); in acpi_bus_extract_wakeup_device_power_package()
[all …]
Dprocessor_perflib.c282 || (pct->package.count != 2)) { in acpi_processor_get_performance_control()
292 obj = pct->package.elements[0]; in acpi_processor_get_performance_control()
308 obj = pct->package.elements[1]; in acpi_processor_get_performance_control()
352 pss->package.count)); in acpi_processor_get_performance_states()
354 pr->performance->state_count = pss->package.count; in acpi_processor_get_performance_states()
356 kmalloc(sizeof(struct acpi_processor_px) * pss->package.count, in acpi_processor_get_performance_states()
372 status = acpi_extract_package(&(pss->package.elements[i]), in acpi_processor_get_performance_states()
539 if (psd->package.count != 1) { in acpi_processor_get_psd()
550 status = acpi_extract_package(&(psd->package.elements[0]), in acpi_processor_get_psd()
Dprocessor_idle.c378 if (!cst || (cst->type != ACPI_TYPE_PACKAGE) || cst->package.count < 2) { in acpi_processor_get_power_info_cst()
384 count = cst->package.elements[0].integer.value; in acpi_processor_get_power_info_cst()
387 if (count < 1 || count != cst->package.count - 1) { in acpi_processor_get_power_info_cst()
404 element = &(cst->package.elements[i]); in acpi_processor_get_power_info_cst()
408 if (element->package.count != 4) in acpi_processor_get_power_info_cst()
411 obj = &(element->package.elements[0]); in acpi_processor_get_power_info_cst()
423 obj = &(element->package.elements[1]); in acpi_processor_get_power_info_cst()
479 obj = &(element->package.elements[2]); in acpi_processor_get_power_info_cst()
485 obj = &(element->package.elements[3]); in acpi_processor_get_power_info_cst()
Dprocessor_throttling.c442 || (ptc->package.count != 2)) { in acpi_processor_get_throttling_control()
452 obj = ptc->package.elements[0]; in acpi_processor_get_throttling_control()
469 obj = ptc->package.elements[1]; in acpi_processor_get_throttling_control()
533 tss->package.count)); in acpi_processor_get_throttling_states()
535 pr->throttling.state_count = tss->package.count; in acpi_processor_get_throttling_states()
537 kmalloc(sizeof(struct acpi_processor_tx_tss) * tss->package.count, in acpi_processor_get_throttling_states()
555 status = acpi_extract_package(&(tss->package.elements[i]), in acpi_processor_get_throttling_states()
611 if (tsd->package.count != 1) { in acpi_processor_get_tsd()
622 status = acpi_extract_package(&(tsd->package.elements[0]), in acpi_processor_get_tsd()
/drivers/pci/hotplug/
Dacpiphp_ibm.c297 union acpi_object *package; in ibm_get_table_from_acpi() local
309 package = (union acpi_object *) buffer.pointer; in ibm_get_table_from_acpi()
310 if (!(package) || in ibm_get_table_from_acpi()
311 (package->type != ACPI_TYPE_PACKAGE) || in ibm_get_table_from_acpi()
312 !(package->package.elements)) { in ibm_get_table_from_acpi()
317 for(size = 0, i = 0; i < package->package.count; i++) { in ibm_get_table_from_acpi()
318 if (package->package.elements[i].type != ACPI_TYPE_BUFFER) { in ibm_get_table_from_acpi()
322 size += package->package.elements[i].buffer.length; in ibm_get_table_from_acpi()
330 __func__, package->package.count, size, lbuf); in ibm_get_table_from_acpi()
340 for (i=0; i<package->package.count; i++) { in ibm_get_table_from_acpi()
[all …]
Dacpi_pcihp.c53 union acpi_object *fields = record->package.elements; in decode_type0_hpx_record()
58 if (record->package.count != 6) in decode_type0_hpx_record()
83 union acpi_object *fields = record->package.elements; in decode_type1_hpx_record()
88 if (record->package.count != 5) in decode_type1_hpx_record()
112 union acpi_object *fields = record->package.elements; in decode_type2_hpx_record()
117 if (record->package.count != 18) in decode_type2_hpx_record()
155 union acpi_object *package, *record, *fields; in acpi_run_hpx() local
166 package = (union acpi_object *)buffer.pointer; in acpi_run_hpx()
167 if (package->type != ACPI_TYPE_PACKAGE) { in acpi_run_hpx()
172 for (i = 0; i < package->package.count; i++) { in acpi_run_hpx()
[all …]
/drivers/staging/usbip/userspace/
DINSTALL14 configure, build, and install this package. The following
16 instructions specific to this package.
20 those values to create a `Makefile' in each directory of the package.
33 If you need to do unusual things to compile the package, please try
45 The simplest way to compile this package is:
47 1. `cd' to the directory containing the package's source code and type
48 `./configure' to configure the package for your system.
53 2. Type `make' to compile the package.
56 the package.
63 files that `configure' created (so you can compile the package for
[all …]
/drivers/hwmon/
Dasus_atk0110.c317 return &pack->package.elements[offset]; in atk_get_pack_member()
350 if (obj->package.count != expected_size) { in validate_hwmon_pack()
352 obj->package.count, expected_size); in validate_hwmon_pack()
370 tmp = &obj->package.elements[HWMON_PACK_UNK1]; in validate_hwmon_pack()
376 tmp = &obj->package.elements[HWMON_PACK_UNK2]; in validate_hwmon_pack()
525 if (pack->package.count < 1) { in atk_ggrp()
717 for (i = 0; i < pack->package.count; i++) { in atk_pack_print()
718 union acpi_object *obj = &pack->package.elements[i]; in atk_pack_print()
746 for (i = 0; i < ret->package.count; i++) { in atk_debugfs_ggrp_open()
747 union acpi_object *pack = &ret->package.elements[i]; in atk_debugfs_ggrp_open()
[all …]
/drivers/pci/
Dpci-label.c199 package.elements[1].string.pointer, in dsm_label_utf16s_to_utf8s()
200 obj->package.elements[1].string.length, in dsm_label_utf16s_to_utf8s()
228 params[3].package.count = 0; in dsm_get_label()
229 params[3].package.elements = NULL; in dsm_get_label()
239 if (obj->package.count != 2) in dsm_get_label()
241 len = obj->package.elements[0].integer.value; in dsm_get_label()
245 obj->package.elements[0].integer.value); in dsm_get_label()
/drivers/gpu/drm/i915/
Dintel_acpi.c166 union acpi_object *connector_count = &pkg->package.elements[0]; in intel_dsm_platform_mux_info()
169 for (i = 1; i < pkg->package.count; i++) { in intel_dsm_platform_mux_info()
170 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info()
172 &obj->package.elements[0]; in intel_dsm_platform_mux_info()
173 union acpi_object *info = &obj->package.elements[1]; in intel_dsm_platform_mux_info()
/drivers/cpufreq/
Dpcc-cpufreq.c277 offset = &(pccp->package.elements[0]); in pcc_get_offset()
285 offset = &(pccp->package.elements[1]); in pcc_get_offset()
428 member = &out_obj->package.elements[0]; in pcc_cpufreq_probe()
483 member = &out_obj->package.elements[1]; in pcc_cpufreq_probe()
502 member = &out_obj->package.elements[2]; in pcc_cpufreq_probe()
510 member = &out_obj->package.elements[3]; in pcc_cpufreq_probe()

123