Home
last modified time | relevance | path

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

12345678910>>...17

/linux-6.6.21/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.c366 element_ptr = return_object->package.elements; in acpi_ns_repair_CID()
367 for (i = 0; i < return_object->package.count; i++) { in acpi_ns_repair_CID()
425 outer_element_count = return_object->package.count - 1; in acpi_ns_repair_CST()
428 outer_elements = &return_object->package.elements[i + 1]; in acpi_ns_repair_CST()
431 if ((*outer_elements)->package.count == 0) { in acpi_ns_repair_CST()
441 obj_desc = (*outer_elements)->package.elements[1]; /* Index1 = Type */ in acpi_ns_repair_CST()
462 obj_desc = return_object->package.elements[0]; in acpi_ns_repair_CST()
590 top_object_list = package_object->package.elements; in acpi_ns_repair_PRT()
591 element_count = package_object->package.count; in acpi_ns_repair_PRT()
597 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 …]
/linux-6.6.21/drivers/acpi/
Dpfr_update.c133 if (out_obj->package.count < CAP_NR_IDX || in query_capability()
134 out_obj->package.elements[CAP_STATUS_IDX].type != ACPI_TYPE_INTEGER || in query_capability()
135 out_obj->package.elements[CAP_UPDATE_IDX].type != ACPI_TYPE_INTEGER || in query_capability()
136 out_obj->package.elements[CAP_CODE_TYPE_IDX].type != ACPI_TYPE_BUFFER || in query_capability()
137 out_obj->package.elements[CAP_FW_VER_IDX].type != ACPI_TYPE_INTEGER || in query_capability()
138 out_obj->package.elements[CAP_CODE_RT_VER_IDX].type != ACPI_TYPE_INTEGER || in query_capability()
139 out_obj->package.elements[CAP_DRV_TYPE_IDX].type != ACPI_TYPE_BUFFER || in query_capability()
140 out_obj->package.elements[CAP_DRV_RT_VER_IDX].type != ACPI_TYPE_INTEGER || in query_capability()
141 out_obj->package.elements[CAP_DRV_SVN_IDX].type != ACPI_TYPE_INTEGER || in query_capability()
142 out_obj->package.elements[CAP_PLAT_ID_IDX].type != ACPI_TYPE_BUFFER || in query_capability()
[all …]
Dpfr_telemetry.c90 in_obj.package.count = 1; in get_pfrt_log_data_info()
91 in_obj.package.elements = &in_buf; in get_pfrt_log_data_info()
101 if (out_obj->package.count < LOG_NR_IDX || in get_pfrt_log_data_info()
102 out_obj->package.elements[LOG_STATUS_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info()
103 out_obj->package.elements[LOG_EXT_STATUS_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info()
104 out_obj->package.elements[LOG_MAX_SZ_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info()
105 out_obj->package.elements[LOG_CHUNK1_LO_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info()
106 out_obj->package.elements[LOG_CHUNK1_HI_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info()
107 out_obj->package.elements[LOG_CHUNK1_SZ_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info()
108 out_obj->package.elements[LOG_CHUNK2_LO_IDX].type != ACPI_TYPE_INTEGER || in get_pfrt_log_data_info()
[all …]
Dproperty.c83 dn->name = link->package.elements[0].string.pointer; in acpi_nondev_subnode_extract()
155 status = acpi_get_handle(scope, link->package.elements[1].string.pointer, in acpi_nondev_subnode_ok()
171 for (i = 0; i < links->package.count; i++) { in acpi_add_nondev_subnodes()
176 link = &links->package.elements[i]; in acpi_add_nondev_subnodes()
178 if (link->package.count != 2) in acpi_add_nondev_subnodes()
182 if (link->package.elements[0].type != ACPI_TYPE_STRING) in acpi_add_nondev_subnodes()
186 switch (link->package.elements[1].type) { in acpi_add_nondev_subnodes()
192 handle = link->package.elements[1].reference.handle; in acpi_add_nondev_subnodes()
197 desc = &link->package.elements[1]; in acpi_add_nondev_subnodes()
219 for (i = 0; i < desc->package.count; i += 2) { in acpi_enumerate_nondev_subnodes()
[all …]
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.c32 acpi_extract_package(union acpi_object *package, in acpi_extract_package() argument
44 if (!package || (package->type != ACPI_TYPE_PACKAGE) in acpi_extract_package()
45 || (package->package.count < 1)) { in acpi_extract_package()
61 if (format_count > package->package.count) { in acpi_extract_package()
63 format_count, package->package.count); in acpi_extract_package()
74 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package()
166 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package()
339 union acpi_object *package = NULL; in acpi_evaluate_reference() local
355 package = buffer.pointer; in acpi_evaluate_reference()
357 if ((buffer.length == 0) || !package) { in acpi_evaluate_reference()
[all …]
/linux-6.6.21/drivers/acpi/x86/
Ds2idle.c68 union acpi_object *package; member
117 for (i = 0; i < out_obj->package.count; i++) { in lpi_device_get_constraints_amd()
118 union acpi_object *package = &out_obj->package.elements[i]; in lpi_device_get_constraints_amd() local
120 if (package->type == ACPI_TYPE_PACKAGE) { in lpi_device_get_constraints_amd()
127 lpi_constraints_table = kcalloc(package->package.count, in lpi_device_get_constraints_amd()
137 for (j = 0; j < package->package.count; j++) { in lpi_device_get_constraints_amd()
138 union acpi_object *info_obj = &package->package.elements[j]; in lpi_device_get_constraints_amd()
145 for (k = 0; k < info_obj->package.count; k++) { in lpi_device_get_constraints_amd()
146 union acpi_object *obj = &info_obj->package.elements[k]; in lpi_device_get_constraints_amd()
207 lpi_constraints_table = kcalloc(out_obj->package.count, in lpi_device_get_constraints()
[all …]
Dapple.c59 numprops = props->package.count / 2; in acpi_extract_apple_properties()
69 union acpi_object *key = &props->package.elements[i * 2]; in acpi_extract_apple_properties()
70 union acpi_object *val = &props->package.elements[i * 2 + 1]; in acpi_extract_apple_properties()
102 newprops->package.count = numvalid; in acpi_extract_apple_properties()
103 newprops->package.elements = &newprops[1]; in acpi_extract_apple_properties()
107 union acpi_object *key = &props->package.elements[i * 2]; in acpi_extract_apple_properties()
108 union acpi_object *val = &props->package.elements[i * 2 + 1]; in acpi_extract_apple_properties()
113 newprops[1 + j].package.count = 2; in acpi_extract_apple_properties()
114 newprops[1 + j].package.elements = &newprops[k]; in acpi_extract_apple_properties()
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-platform.c367 obj->package.count < 3) in is_acpi_coresight_graph()
370 graphid = &obj->package.elements[0]; in is_acpi_coresight_graph()
371 guid = &obj->package.elements[1]; in is_acpi_coresight_graph()
372 links = &obj->package.elements[2]; in is_acpi_coresight_graph()
455 if (graph->package.count < 2) in acpi_validate_dsd_graph()
458 rev = &graph->package.elements[0]; in acpi_validate_dsd_graph()
459 nr_graphs = &graph->package.elements[1]; in acpi_validate_dsd_graph()
475 if (graph->package.count != (n + 2)) in acpi_validate_dsd_graph()
483 const union acpi_object *obj = &graph->package.elements[i]; in acpi_validate_dsd_graph()
486 obj->package.count < 3) in acpi_validate_dsd_graph()
[all …]
/linux-6.6.21/Documentation/arch/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 …]
/linux-6.6.21/drivers/platform/x86/intel/int1092/
Dintel_sar.c83 num = &item->package.elements[0]; in parse_package()
91 item->package.count <= data->total_dev_mode) in parse_package()
102 num = &item->package.elements[itr + 1]; in parse_package()
103 if (num->type != ACPI_TYPE_PACKAGE || num->package.count < TOTAL_DATA) in parse_package()
105 if (get_int_value(&num->package.elements[0], &temp.device_mode)) in parse_package()
107 if (get_int_value(&num->package.elements[1], &temp.bandtable_index)) in parse_package()
109 if (get_int_value(&num->package.elements[2], &temp.antennatable_index)) in parse_package()
111 if (get_int_value(&num->package.elements[3], &temp.sartable_index)) in parse_package()
227 if (out->package.count >= 3 && in sar_get_data()
228 out->package.elements[0].type == ACPI_TYPE_INTEGER && in sar_get_data()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/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 …]
/linux-6.6.21/Documentation/hwmon/
Dpeci-cputemp.rst37 Thermal Sensor (DTS) thermal readings of the CPU package and CPU cores that are
48 temp1_input Provides current die temperature of the CPU package.
49 temp1_max Provides thermal control temperature of the CPU package
51 temp1_crit Provides shutdown temperature of the CPU package which
55 the CPU package.
58 temp2_input Provides current temperature of the CPU package scaled
60 temp2_max Provides thermal control temperature of the CPU package
62 temp2_crit Provides shutdown temperature of the CPU package which
66 the CPU package.
70 package which is also known as Fan Temperature target.
[all …]
/linux-6.6.21/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):
/linux-6.6.21/drivers/input/misc/
Dsoc_button_array.c271 desc->package.count != 5 || in soc_button_parse_btn_desc()
273 soc_button_get_acpi_object_int(&desc->package.elements[0]) != 1 || in soc_button_parse_btn_desc()
275 soc_button_get_acpi_object_int(&desc->package.elements[2]) != in soc_button_parse_btn_desc()
284 soc_button_get_acpi_object_int(&desc->package.elements[1]); in soc_button_parse_btn_desc()
285 upage = soc_button_get_acpi_object_int(&desc->package.elements[3]); in soc_button_parse_btn_desc()
286 usage = soc_button_get_acpi_object_int(&desc->package.elements[4]); in soc_button_parse_btn_desc()
357 for (i = 0; (i + 1) < desc->package.count; i += 2) { in soc_button_get_button_info()
358 uuid = &desc->package.elements[i]; in soc_button_get_button_info()
362 desc->package.elements[i + 1].type != ACPI_TYPE_PACKAGE) { in soc_button_get_button_info()
367 btns_desc = &desc->package.elements[i + 1]; in soc_button_get_button_info()
[all …]
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/
Dacpi.c269 data->package.count < 2 || in iwl_acpi_get_wifi_pkg_range()
270 data->package.elements[0].type != ACPI_TYPE_INTEGER) { in iwl_acpi_get_wifi_pkg_range()
275 *tbl_rev = data->package.elements[0].integer.value; in iwl_acpi_get_wifi_pkg_range()
278 for (i = 1; i < data->package.count; i++) { in iwl_acpi_get_wifi_pkg_range()
281 wifi_pkg = &data->package.elements[i]; in iwl_acpi_get_wifi_pkg_range()
285 wifi_pkg->package.count < min_data_size || in iwl_acpi_get_wifi_pkg_range()
286 wifi_pkg->package.count > max_data_size) in iwl_acpi_get_wifi_pkg_range()
289 domain = &wifi_pkg->package.elements[0]; in iwl_acpi_get_wifi_pkg_range()
330 if (tbl_rev == 1 && wifi_pkg->package.elements[1].type == in iwl_acpi_get_tas()
333 (u32)wifi_pkg->package.elements[1].integer.value; in iwl_acpi_get_tas()
[all …]
Duefi.c229 struct pnvm_sku_package *package; in iwl_uefi_get_reduced_power() local
233 package = iwl_uefi_get_variable(IWL_UEFI_REDUCED_POWER_NAME, in iwl_uefi_get_reduced_power()
236 if (IS_ERR(package)) { in iwl_uefi_get_reduced_power()
239 PTR_ERR(package), package_size); in iwl_uefi_get_reduced_power()
240 return ERR_CAST(package); in iwl_uefi_get_reduced_power()
243 if (package_size < sizeof(*package)) { in iwl_uefi_get_reduced_power()
247 kfree(package); in iwl_uefi_get_reduced_power()
255 package->rev, package->total_size, package->n_skus); in iwl_uefi_get_reduced_power()
257 *len = package_size - sizeof(*package); in iwl_uefi_get_reduced_power()
258 data = kmemdup(package->data, *len, GFP_KERNEL); in iwl_uefi_get_reduced_power()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/scripts/package/
Dbuilddeb189 for package in ${packages_enabled}
191 case ${package} in
197 install_linux_image debian/linux-image ${package};;
201 install_kernel_headers debian/linux-headers ${package#linux-headers-};;
205 for package in ${packages_enabled}
207 case ${package} in
209 create_package ${package} debian/linux-image-dbg;;
211 create_package ${package} debian/linux-image;;
213 create_package ${package} debian/linux-libc-dev;;
215 create_package ${package} debian/linux-headers;;
/linux-6.6.21/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 …]

12345678910>>...17