Home
last modified time | relevance | path

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

12345678910>>...15

/kernel/linux/linux-5.10/drivers/acpi/acpica/
Dnsprepkg.c21 const union acpi_predefined_info *package,
55 const union acpi_predefined_info *package; in acpi_ns_check_package() local
66 package = info->predefined + 1; in acpi_ns_check_package()
70 info->full_pathname, package->ret_info.type, in acpi_ns_check_package()
71 return_object->package.count)); in acpi_ns_check_package()
77 acpi_ns_remove_null_elements(info, package->ret_info.type, in acpi_ns_check_package()
82 elements = return_object->package.elements; in acpi_ns_check_package()
83 count = return_object->package.count; in acpi_ns_check_package()
90 if (package->ret_info.type == ACPI_PTYPE1_VAR) { in acpi_ns_check_package()
107 switch (package->ret_info.type) { in acpi_ns_check_package()
[all …]
Ddspkginit.c98 obj_desc->package.node = parent->common.node; in acpi_ds_build_internal_package_obj()
101 if (obj_desc->package.flags & AOPOBJ_DATA_VALID) { /* Just in case */ in acpi_ds_build_internal_package_obj()
111 if (!obj_desc->package.elements) { in acpi_ds_build_internal_package_obj()
112 obj_desc->package.elements = ACPI_ALLOCATE_ZEROED(((acpi_size) in acpi_ds_build_internal_package_obj()
119 if (!obj_desc->package.elements) { in acpi_ds_build_internal_package_obj()
124 obj_desc->package.count = element_count; in acpi_ds_build_internal_package_obj()
139 obj_desc->package.aml_start = walk_state->aml; in acpi_ds_build_internal_package_obj()
140 obj_desc->package.aml_length = 0; in acpi_ds_build_internal_package_obj()
191 package. in acpi_ds_build_internal_package_obj()
196 obj_desc->package.elements[i] = in acpi_ds_build_internal_package_obj()
[all …]
Dnsrepair2.c362 element_ptr = return_object->package.elements; in acpi_ns_repair_CID()
363 for (i = 0; i < return_object->package.count; i++) { in acpi_ns_repair_CID()
421 outer_element_count = return_object->package.count - 1; in acpi_ns_repair_CST()
424 outer_elements = &return_object->package.elements[i + 1]; in acpi_ns_repair_CST()
427 if ((*outer_elements)->package.count == 0) { in acpi_ns_repair_CST()
437 obj_desc = (*outer_elements)->package.elements[1]; /* Index1 = Type */ in acpi_ns_repair_CST()
458 obj_desc = return_object->package.elements[0]; in acpi_ns_repair_CST()
586 top_object_list = package_object->package.elements; in acpi_ns_repair_PRT()
587 element_count = package_object->package.count; in acpi_ns_repair_PRT()
593 sub_object_list = sub_package->package.elements; in acpi_ns_repair_PRT()
[all …]
Dutcopy.c228 package.elements[this_index]; in acpi_ut_copy_ielement_to_eelement()
249 target_object->package.count = source_object->package.count; in acpi_ut_copy_ielement_to_eelement()
250 target_object->package.elements = in acpi_ut_copy_ielement_to_eelement()
264 package.count * in acpi_ut_copy_ielement_to_eelement()
323 external_object->package.count = internal_object->package.count; in acpi_ut_copy_ipackage_to_epackage()
324 external_object->package.elements = in acpi_ut_copy_ipackage_to_epackage()
331 info.length += (acpi_size)external_object->package.count * in acpi_ut_copy_ipackage_to_epackage()
333 info.free_space += external_object->package.count * in acpi_ut_copy_ipackage_to_epackage()
554 acpi_ut_create_package_object(external_object->package.count); in acpi_ut_copy_epackage_to_ipackage()
559 package_elements = package_object->package.elements; in acpi_ut_copy_epackage_to_ipackage()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dacpi_adxl.c50 if (obj->package.count != 2) { in adxl_dsm()
51 pr_info("Bad pkg count %d\n", obj->package.count); in adxl_dsm()
55 o = obj->package.elements; in adxl_dsm()
65 o = obj->package.elements + 1; in adxl_dsm()
112 argv4[0].package.count = 1; in adxl_decode()
113 argv4[0].package.elements = &argv4[1]; in adxl_decode()
121 r = results->package.elements + 1; in adxl_decode()
122 cnt = r->package.count; in adxl_decode()
127 r = r->package.elements; in adxl_decode()
169 p = params->package.elements + 1; in adxl_init()
[all …]
Dutils.c42 acpi_extract_package(union acpi_object *package, in acpi_extract_package() argument
54 if (!package || (package->type != ACPI_TYPE_PACKAGE) in acpi_extract_package()
55 || (package->package.count < 1)) { in acpi_extract_package()
71 if (format_count > package->package.count) { in acpi_extract_package()
74 format_count, package->package.count); in acpi_extract_package()
85 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package()
185 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package()
306 union acpi_object *package = NULL; in acpi_evaluate_reference() local
322 package = buffer.pointer; in acpi_evaluate_reference()
324 if ((buffer.length == 0) || !package) { in acpi_evaluate_reference()
[all …]
Dproperty.c78 dn->name = link->package.elements[0].string.pointer; in acpi_nondev_subnode_extract()
150 status = acpi_get_handle(scope, link->package.elements[1].string.pointer, in acpi_nondev_subnode_ok()
166 for (i = 0; i < links->package.count; i++) { in acpi_add_nondev_subnodes()
171 link = &links->package.elements[i]; in acpi_add_nondev_subnodes()
173 if (link->package.count != 2) in acpi_add_nondev_subnodes()
177 if (link->package.elements[0].type != ACPI_TYPE_STRING) in acpi_add_nondev_subnodes()
181 switch (link->package.elements[1].type) { in acpi_add_nondev_subnodes()
187 handle = link->package.elements[1].reference.handle; in acpi_add_nondev_subnodes()
192 desc = &link->package.elements[1]; in acpi_add_nondev_subnodes()
214 for (i = 0; i < desc->package.count; i += 2) { in acpi_enumerate_nondev_subnodes()
[all …]
Dacpi_lpat.c104 (obj_p->package.count % 2) || (obj_p->package.count < 4)) in acpi_lpat_get_conversion_table()
107 lpat = kcalloc(obj_p->package.count, sizeof(int), GFP_KERNEL); in acpi_lpat_get_conversion_table()
111 for (i = 0; i < obj_p->package.count; i++) { in acpi_lpat_get_conversion_table()
112 obj_e = &obj_p->package.elements[i]; in acpi_lpat_get_conversion_table()
127 lpat_table->lpat_count = obj_p->package.count / 2; in acpi_lpat_get_conversion_table()
Dsleep.c741 union acpi_object *package; member
774 lpi_constraints_table = kcalloc(out_obj->package.count, in lpi_device_get_constraints()
782 for (i = 0; i < out_obj->package.count; i++) { in lpi_device_get_constraints()
785 union acpi_object *package = &out_obj->package.elements[i]; in lpi_device_get_constraints() local
789 if (!package) in lpi_device_get_constraints()
792 for (j = 0; j < package->package.count; ++j) { in lpi_device_get_constraints()
794 &(package->package.elements[j]); in lpi_device_get_constraints()
804 package_count = element->package.count; in lpi_device_get_constraints()
805 info.package = element->package.elements; in lpi_device_get_constraints()
810 if (!info.enabled || !info.package || !info.name) in lpi_device_get_constraints()
[all …]
Dacpi_pad.c362 union acpi_object *package; in acpi_pad_pur() local
371 package = buffer.pointer; in acpi_pad_pur()
373 if (package->type == ACPI_TYPE_PACKAGE && in acpi_pad_pur()
374 package->package.count == 2 && in acpi_pad_pur()
375 package->package.elements[0].integer.value == 1) /* rev 1 */ in acpi_pad_pur()
377 num = package->package.elements[1].integer.value; in acpi_pad_pur()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/
Dacpi.c198 data->package.count < 2 || in iwl_acpi_get_wifi_pkg()
199 data->package.elements[0].type != ACPI_TYPE_INTEGER || in iwl_acpi_get_wifi_pkg()
200 data->package.elements[0].integer.value > 1) { in iwl_acpi_get_wifi_pkg()
205 *tbl_rev = data->package.elements[0].integer.value; in iwl_acpi_get_wifi_pkg()
208 for (i = 1; i < data->package.count; i++) { in iwl_acpi_get_wifi_pkg()
211 wifi_pkg = &data->package.elements[i]; in iwl_acpi_get_wifi_pkg()
215 wifi_pkg->package.count != data_size) in iwl_acpi_get_wifi_pkg()
218 domain = &wifi_pkg->package.elements[0]; in iwl_acpi_get_wifi_pkg()
251 if (wifi_pkg->package.elements[0].type != ACPI_TYPE_INTEGER || in iwl_acpi_get_tas()
257 enabled = !!wifi_pkg->package.elements[1].integer.value; in iwl_acpi_get_tas()
[all …]
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dacpiphp_ibm.c284 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()
[all …]
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-platform.c393 obj->package.count < 3) in is_acpi_coresight_graph()
396 graphid = &obj->package.elements[0]; in is_acpi_coresight_graph()
397 guid = &obj->package.elements[1]; in is_acpi_coresight_graph()
398 links = &obj->package.elements[2]; in is_acpi_coresight_graph()
481 if (graph->package.count < 2) in acpi_validate_dsd_graph()
484 rev = &graph->package.elements[0]; in acpi_validate_dsd_graph()
485 nr_graphs = &graph->package.elements[1]; in acpi_validate_dsd_graph()
501 if (graph->package.count != (n + 2)) in acpi_validate_dsd_graph()
509 const union acpi_object *obj = &graph->package.elements[i]; in acpi_validate_dsd_graph()
512 obj->package.count < 3) in acpi_validate_dsd_graph()
[all …]
/kernel/linux/linux-5.10/Documentation/x86/
Dtopology.rst28 the past a socket always contained a single package (see below), but with the
29 advent of Multi Chip Modules (MCM) a socket can hold more than one package. So
44 Modern systems may also use the term 'Die' for package.
46 AMD nomenclature for package is 'Node'.
52 The number of cores in a package. This information is retrieved via CPUID.
56 The number of dies in a package. This information is retrieved via CPUID.
64 The physical ID of the package. This information is retrieved via CPUID
65 and deduced from the APIC IDs of the cores in the package.
72 The logical ID of the package. As we do not trust BIOSes to enumerate the
73 packages in a consistent way, we introduced the concept of logical package
[all …]
/kernel/linux/linux-5.10/drivers/xen/
Dxen-acpi-pad.c53 union acpi_object *package; in acpi_pad_pur() local
62 package = buffer.pointer; in acpi_pad_pur()
64 if (package->type == ACPI_TYPE_PACKAGE && in acpi_pad_pur()
65 package->package.count == 2 && in acpi_pad_pur()
66 package->package.elements[0].integer.value == 1) /* rev 1 */ in acpi_pad_pur()
67 num = package->package.elements[1].integer.value; in acpi_pad_pur()
/kernel/linux/linux-5.10/net/ncsi/
Dncsi-netlink.c71 if (nc == nc->package->preferred_channel) in ncsi_write_channel_info()
216 struct ncsi_package *np, *package; in ncsi_pkg_info_all_nl() local
238 package = NULL; in ncsi_pkg_info_all_nl()
241 package = np; in ncsi_pkg_info_all_nl()
243 if (!package) in ncsi_pkg_info_all_nl()
258 rc = ncsi_write_package_info(skb, ndp, package->id); in ncsi_pkg_info_all_nl()
277 struct ncsi_package *np, *package; in ncsi_set_interface_nl() local
298 package = NULL; in ncsi_set_interface_nl()
302 package = np; in ncsi_set_interface_nl()
303 if (!package) { in ncsi_set_interface_nl()
[all …]
/kernel/linux/linux-5.10/drivers/input/misc/
Dsoc_button_array.c241 desc->package.count != 5 || in soc_button_parse_btn_desc()
243 soc_button_get_acpi_object_int(&desc->package.elements[0]) != 1 || in soc_button_parse_btn_desc()
245 soc_button_get_acpi_object_int(&desc->package.elements[2]) != in soc_button_parse_btn_desc()
254 soc_button_get_acpi_object_int(&desc->package.elements[1]); in soc_button_parse_btn_desc()
255 upage = soc_button_get_acpi_object_int(&desc->package.elements[3]); in soc_button_parse_btn_desc()
256 usage = soc_button_get_acpi_object_int(&desc->package.elements[4]); in soc_button_parse_btn_desc()
322 for (i = 0; (i + 1) < desc->package.count; i += 2) { in soc_button_get_button_info()
323 uuid = &desc->package.elements[i]; in soc_button_get_button_info()
327 desc->package.elements[i + 1].type != ACPI_TYPE_PACKAGE) { in soc_button_get_button_info()
332 btns_desc = &desc->package.elements[i + 1]; in soc_button_get_button_info()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dicplus-ip101ag.txt4 - IP101GR (32-pin QFN package)
5 - IP101G (die only, no package)
6 - IP101GA (48-pin LQFP package)
10 - IP101A (48-pin LQFP package)
11 - IP101AH (48-pin LQFP package)
13 Optional properties for the IP101GR (32-pin QFN package):
/kernel/linux/linux-5.10/drivers/acpi/x86/
Dapple.c58 numprops = props->package.count / 2; in acpi_extract_apple_properties()
68 union acpi_object *key = &props->package.elements[i * 2]; in acpi_extract_apple_properties()
69 union acpi_object *val = &props->package.elements[i * 2 + 1]; in acpi_extract_apple_properties()
98 newprops->package.count = numvalid; in acpi_extract_apple_properties()
99 newprops->package.elements = &newprops[1]; in acpi_extract_apple_properties()
103 union acpi_object *key = &props->package.elements[i * 2]; in acpi_extract_apple_properties()
104 union acpi_object *val = &props->package.elements[i * 2 + 1]; in acpi_extract_apple_properties()
109 newprops[1 + j].package.count = 2; in acpi_extract_apple_properties()
110 newprops[1 + j].package.elements = &newprops[k]; in acpi_extract_apple_properties()
/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_ppi.c81 if (obj->package.count == 3 && in tpm_show_ppi_request()
82 obj->package.elements[0].type == ACPI_TYPE_INTEGER && in tpm_show_ppi_request()
83 obj->package.elements[1].type == ACPI_TYPE_INTEGER && in tpm_show_ppi_request()
84 obj->package.elements[2].type == ACPI_TYPE_INTEGER) { in tpm_show_ppi_request()
85 if (obj->package.elements[0].integer.value) in tpm_show_ppi_request()
88 req = obj->package.elements[1].integer.value; in tpm_show_ppi_request()
92 obj->package.elements[2].integer.value); in tpm_show_ppi_request()
97 } else if (obj->package.count == 2 && in tpm_show_ppi_request()
98 obj->package.elements[0].type == ACPI_TYPE_INTEGER && in tpm_show_ppi_request()
99 obj->package.elements[1].type == ACPI_TYPE_INTEGER) { in tpm_show_ppi_request()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_acpi.c87 if (!pkg->package.count) { in intel_dsm_platform_mux_info()
92 connector_count = &pkg->package.elements[0]; in intel_dsm_platform_mux_info()
95 for (i = 1; i < pkg->package.count; i++) { in intel_dsm_platform_mux_info()
96 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info()
100 if (obj->type != ACPI_TYPE_PACKAGE || obj->package.count < 2) { in intel_dsm_platform_mux_info()
105 connector_id = &obj->package.elements[0]; in intel_dsm_platform_mux_info()
106 info = &obj->package.elements[1]; in intel_dsm_platform_mux_info()
/kernel/linux/linux-5.10/tools/usb/usbip/
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 …]
/kernel/linux/linux-5.10/Documentation/driver-api/pldmfw/
Dfile-format.rst7 A PLDM firmware package is a binary file which contains a header that
8 describes the contents of the firmware package. This includes an initial
9 package header, one or more firmware records, and one or more components
52 The package header begins with the UUID of the PLDM file format, and
55 component bitmap, and an overall package version.
57 The following diagram provides an overview of the package header::
87 may also optionally contain device-specific package data that will be used
201 The component images follow the package header information in the PLDM
/kernel/linux/linux-5.10/drivers/pci/
Dpci-acpi.c174 union acpi_object *fields = record->package.elements; in decode_type0_hpx_record()
179 if (record->package.count != 6) in decode_type0_hpx_record()
224 union acpi_object *fields = record->package.elements; in decode_type1_hpx_record()
229 if (record->package.count != 5) in decode_type1_hpx_record()
373 union acpi_object *fields = record->package.elements; in decode_type2_hpx_record()
378 if (record->package.count != 18) in decode_type2_hpx_record()
589 union acpi_object *fields = record->package.elements; in program_type3_hpx_record()
601 if (record->package.count != expected_length) in program_type3_hpx_record()
628 union acpi_object *package, *record, *fields; in acpi_run_hpx() local
639 package = (union acpi_object *)buffer.pointer; in acpi_run_hpx()
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dasus_atk0110.c307 return &pack->package.elements[offset]; in atk_get_pack_member()
340 if (obj->package.count != expected_size) { in validate_hwmon_pack()
342 obj->package.count, expected_size); in validate_hwmon_pack()
360 tmp = &obj->package.elements[HWMON_PACK_UNK1]; in validate_hwmon_pack()
366 tmp = &obj->package.elements[HWMON_PACK_UNK2]; in validate_hwmon_pack()
515 if (pack->package.count < 1) { in atk_ggrp()
708 for (i = 0; i < pack->package.count; i++) { in atk_pack_print()
709 union acpi_object *obj = &pack->package.elements[i]; in atk_pack_print()
737 for (i = 0; i < ret->package.count; i++) { in atk_debugfs_ggrp_open()
738 union acpi_object *pack = &ret->package.elements[i]; in atk_debugfs_ggrp_open()
[all …]

12345678910>>...15