/linux/drivers/acpi/acpica/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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/drivers/acpi/x86/ |
H A D | s2idle.c | 68 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 …]
|
H A 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() 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/drivers/acpi/ |
H A D | property.c | 95 dn->name = link->package.elements[0].string.pointer; in acpi_nondev_subnode_extract() 167 status = acpi_get_handle(scope, link->package.elements[1].string.pointer, in acpi_nondev_subnode_ok() 183 for (i = 0; i < links->package.count; i++) { in acpi_add_nondev_subnodes() 188 link = &links->package.elements[i]; in acpi_add_nondev_subnodes() 190 if (link->package.count != 2) in acpi_add_nondev_subnodes() 194 if (link->package.elements[0].type != ACPI_TYPE_STRING) in acpi_add_nondev_subnodes() 198 switch (link->package.elements[1].type) { in acpi_add_nondev_subnodes() 204 handle = link->package.elements[1].reference.handle; in acpi_add_nondev_subnodes() 209 desc = &link->package.elements[1]; in acpi_add_nondev_subnodes() 231 for (i = 0; i < desc->package.count; i += 2) { in acpi_enumerate_nondev_subnodes() [all …]
|
H A 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 …]
|
H A 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() 347 union acpi_object *package; in acpi_evaluate_reference() local 361 package = buffer.pointer; in acpi_evaluate_reference() 363 if (buffer.length == 0 || !package || in acpi_evaluate_reference() [all …]
|
H A 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/drivers/pci/hotplug/ |
H A 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/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | acpi.c | 217 data->package.count < 2 || in iwl_acpi_get_wifi_pkg_range() 218 data->package.elements[0].type != ACPI_TYPE_INTEGER) { in iwl_acpi_get_wifi_pkg_range() 223 *tbl_rev = data->package.elements[0].integer.value; in iwl_acpi_get_wifi_pkg_range() 226 for (i = 1; i < data->package.count; i++) { in iwl_acpi_get_wifi_pkg_range() 229 wifi_pkg = &data->package.elements[i]; in iwl_acpi_get_wifi_pkg_range() 233 wifi_pkg->package.count < min_data_size || in iwl_acpi_get_wifi_pkg_range() 234 wifi_pkg->package.count > max_data_size) in iwl_acpi_get_wifi_pkg_range() 237 domain = &wifi_pkg->package.elements[0]; in iwl_acpi_get_wifi_pkg_range() 277 if (tbl_rev == 1 && wifi_pkg->package.elements[1].type == in iwl_acpi_get_tas_table() 280 (u32)wifi_pkg->package.elements[1].integer.value; in iwl_acpi_get_tas_table() [all …]
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-platform.c | 369 obj->package.count < 3) in is_acpi_coresight_graph() 372 graphid = &obj->package.elements[0]; in is_acpi_coresight_graph() 373 guid = &obj->package.elements[1]; in is_acpi_coresight_graph() 374 links = &obj->package.elements[2]; in is_acpi_coresight_graph() 457 if (graph->package.count < 2) in acpi_validate_dsd_graph() 460 rev = &graph->package.elements[0]; in acpi_validate_dsd_graph() 461 nr_graphs = &graph->package.elements[1]; in acpi_validate_dsd_graph() 477 if (graph->package.count != (n + 2)) in acpi_validate_dsd_graph() 485 const union acpi_object *obj = &graph->package.elements[i]; in acpi_validate_dsd_graph() 488 obj->package.count < 3) in acpi_validate_dsd_graph() [all …]
|
/linux/Documentation/wmi/devices/ |
H A D | msi-wmi-platform.rst | 23 Description("This class contains the definition of the package used in other classes"), 30 Description("This class contains the definition of the package used in other classes"), 37 Description("Class used to operate methods on a package"), 43 [WmiMethodId(1), Implemented, read, write, Description("Return the contents of a package")] 46 [WmiMethodId(2), Implemented, read, write, Description("Set the contents of a package")] 49 [WmiMethodId(3), Implemented, read, write, Description("Return the contents of a package")] 52 [WmiMethodId(4), Implemented, read, write, Description("Set the contents of a package")] 55 [WmiMethodId(5), Implemented, read, write, Description("Return the contents of a package")] 58 [WmiMethodId(6), Implemented, read, write, Description("Set the contents of a package")] 61 [WmiMethodId(7), Implemented, read, write, Description("Return the contents of a package")] [all …]
|
/linux/Documentation/arch/x86/ |
H A 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 threads in a package. 56 The number of cores in a package. 60 The maximum number of dies in a package. 68 The physical ID of the package. This information is retrieved via CPUID 69 and deduced from the APIC IDs of the cores in the package. 76 The logical ID of the package. As we do not trust BIOSes to enumerate the [all …]
|
/linux/net/ncsi/ |
H A 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/drivers/xen/ |
H A 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/Documentation/hwmon/ |
H A 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/drivers/input/misc/ |
H A D | soc_button_array.c | 271 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/drivers/char/tpm/ |
H A 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/Documentation/devicetree/bindings/net/ |
H A 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/scripts/package/debian/ |
H A D | rules | 31 image-package = $(filter linux-image-% user-%, $(filter-out %-dbg, $(all-packages))) 32 image-dbg-package = $(filter %-dbg, $(all-packages)) 33 libc-dev-package = $(filter linux-libc-dev, $(all-packages)) 34 headers-package = $(filter linux-headers-%, $(all-packages)) 37 package = $($(@:binary-%=%-package)) macro 42 DH_OPTIONS = -p$(package) 61 $(if $(package),$(binary))
|
/linux/tools/usb/usbip/ |
H A 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 …]
|
/linux/drivers/thermal/intel/int340x_thermal/ |
H A D | acpi_thermal_rel.c | 91 *trt_count = p->package.count; in acpi_parse_trt() 104 status = acpi_extract_package(&(p->package.elements[i]), in acpi_parse_trt() 167 *art_count = p->package.count - 1; in acpi_parse_art() 180 status = acpi_extract_package(&(p->package.elements[i + 1]), in acpi_parse_art() 237 if (p->package.count > 0) { in acpi_parse_psvt() 238 union acpi_object *prev = &(p->package.elements[0]); in acpi_parse_psvt() 253 *psvt_count = p->package.count - 1; in acpi_parse_psvt() 266 for (i = 1; i < p->package.count; i++) { in acpi_parse_psvt() 269 union acpi_object *package = &(p->package.elements[i]); in acpi_parse_psvt() local 280 if (package->package.count >= ACPI_NR_PSVT_ELEMENTS) { in acpi_parse_psvt() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_acpi.c | 94 if (!pkg->package.count) { in intel_dsm_platform_mux_info() 99 connector_count = &pkg->package.elements[0]; in intel_dsm_platform_mux_info() 102 for (i = 1; i < pkg->package.count; i++) { in intel_dsm_platform_mux_info() 103 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info() 107 if (obj->type != ACPI_TYPE_PACKAGE || obj->package.count < 2) { in intel_dsm_platform_mux_info() 112 connector_id = &obj->package.elements[0]; in intel_dsm_platform_mux_info() 113 info = &obj->package.elements[1]; in intel_dsm_platform_mux_info()
|