| /Linux-v6.1/drivers/acpi/acpica/ |
| D | nsprepkg.c | 21 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 …]
|
| D | dspkginit.c | 98 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 …]
|
| D | nsrepair2.c | 366 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 …]
|
| D | utcopy.c | 228 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-v6.1/drivers/acpi/ |
| D | pfr_update.c | 133 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 …]
|
| D | pfr_telemetry.c | 90 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 …]
|
| D | property.c | 83 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 …]
|
| D | acpi_adxl.c | 50 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 …]
|
| D | utils.c | 32 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 …]
|
| D | acpi_lpat.c | 104 (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()
|
| /Linux-v6.1/drivers/acpi/x86/ |
| D | s2idle.c | 71 union acpi_object *package; member 115 for (i = 0; i < out_obj->package.count; i++) { in lpi_device_get_constraints_amd() 116 union acpi_object *package = &out_obj->package.elements[i]; in lpi_device_get_constraints_amd() local 118 if (package->type == ACPI_TYPE_PACKAGE) { in lpi_device_get_constraints_amd() 119 lpi_constraints_table = kcalloc(package->package.count, in lpi_device_get_constraints_amd() 129 for (j = 0; j < package->package.count; ++j) { in lpi_device_get_constraints_amd() 130 union acpi_object *info_obj = &package->package.elements[j]; in lpi_device_get_constraints_amd() 135 for (k = 0; k < info_obj->package.count; ++k) { in lpi_device_get_constraints_amd() 136 union acpi_object *obj = &info_obj->package.elements[k]; in lpi_device_get_constraints_amd() 202 lpi_constraints_table = kcalloc(out_obj->package.count, in lpi_device_get_constraints() [all …]
|
| D | apple.c | 59 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() 99 newprops->package.count = numvalid; in acpi_extract_apple_properties() 100 newprops->package.elements = &newprops[1]; in acpi_extract_apple_properties() 104 union acpi_object *key = &props->package.elements[i * 2]; in acpi_extract_apple_properties() 105 union acpi_object *val = &props->package.elements[i * 2 + 1]; in acpi_extract_apple_properties() 110 newprops[1 + j].package.count = 2; in acpi_extract_apple_properties() 111 newprops[1 + j].package.elements = &newprops[k]; in acpi_extract_apple_properties()
|
| /Linux-v6.1/drivers/pci/hotplug/ |
| D | acpiphp_ibm.c | 284 union acpi_object *package; in ibm_get_table_from_acpi() local 296 package = (union acpi_object *) buffer.pointer; in ibm_get_table_from_acpi() 297 if (!(package) || in ibm_get_table_from_acpi() 298 (package->type != ACPI_TYPE_PACKAGE) || in ibm_get_table_from_acpi() 299 !(package->package.elements)) { in ibm_get_table_from_acpi() 304 for (size = 0, i = 0; i < package->package.count; i++) { in ibm_get_table_from_acpi() 305 if (package->package.elements[i].type != ACPI_TYPE_BUFFER) { in ibm_get_table_from_acpi() 309 size += package->package.elements[i].buffer.length; in ibm_get_table_from_acpi() 317 __func__, package->package.count, size, lbuf); in ibm_get_table_from_acpi() 327 for (i = 0; i < package->package.count; i++) { in ibm_get_table_from_acpi() [all …]
|
| /Linux-v6.1/drivers/hwtracing/coresight/ |
| D | coresight-platform.c | 393 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 …]
|
| /Linux-v6.1/Documentation/x86/ |
| D | topology.rst | 28 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-v6.1/drivers/platform/x86/intel/int1092/ |
| D | intel_sar.c | 83 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() 228 if (out->type == ACPI_TYPE_PACKAGE && out->package.count >= 3 && in sar_get_data() 229 out->package.elements[0].type == ACPI_TYPE_INTEGER && in sar_get_data() [all …]
|
| /Linux-v6.1/drivers/xen/ |
| D | xen-acpi-pad.c | 53 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-v6.1/net/ncsi/ |
| D | ncsi-netlink.c | 71 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-v6.1/drivers/input/misc/ |
| D | soc_button_array.c | 241 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 …]
|
| /Linux-v6.1/Documentation/hwmon/ |
| D | peci-cputemp.rst | 37 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-v6.1/Documentation/devicetree/bindings/net/ |
| D | icplus-ip101ag.txt | 4 - 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-v6.1/drivers/net/wireless/intel/iwlwifi/fw/ |
| D | acpi.c | 236 data->package.count < 2 || in iwl_acpi_get_wifi_pkg_range() 237 data->package.elements[0].type != ACPI_TYPE_INTEGER) { in iwl_acpi_get_wifi_pkg_range() 242 *tbl_rev = data->package.elements[0].integer.value; in iwl_acpi_get_wifi_pkg_range() 245 for (i = 1; i < data->package.count; i++) { in iwl_acpi_get_wifi_pkg_range() 248 wifi_pkg = &data->package.elements[i]; in iwl_acpi_get_wifi_pkg_range() 252 wifi_pkg->package.count < min_data_size || in iwl_acpi_get_wifi_pkg_range() 253 wifi_pkg->package.count > max_data_size) in iwl_acpi_get_wifi_pkg_range() 256 domain = &wifi_pkg->package.elements[0]; in iwl_acpi_get_wifi_pkg_range() 288 if (tbl_rev == 1 && wifi_pkg->package.elements[1].type == in iwl_acpi_get_tas() 291 (u32)wifi_pkg->package.elements[1].integer.value; in iwl_acpi_get_tas() [all …]
|
| D | uefi.c | 203 struct pnvm_sku_package *package; in iwl_uefi_get_reduced_power() local 220 package = kmalloc(package_size, GFP_KERNEL); in iwl_uefi_get_reduced_power() 221 if (!package) in iwl_uefi_get_reduced_power() 230 kfree(package); in iwl_uefi_get_reduced_power() 239 package->rev, package->total_size, package->n_skus); in iwl_uefi_get_reduced_power() 241 data = iwl_uefi_reduce_power_parse(trans, package->data, in iwl_uefi_get_reduced_power() 242 *len - sizeof(*package)); in iwl_uefi_get_reduced_power() 244 kfree(package); in iwl_uefi_get_reduced_power()
|
| /Linux-v6.1/drivers/char/tpm/ |
| D | tpm_ppi.c | 81 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-v6.1/tools/usb/usbip/ |
| D | INSTALL | 14 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 …]
|