/linux/drivers/acpi/acpica/ |
H A D | nsprepkg.c | 4 * Module Name: nsprepkg - Validation of package objects for predefined names 21 const union acpi_predefined_info *package, 45 * DESCRIPTION: Check a returned package object for the correct count and 55 const union acpi_predefined_info *package; in acpi_ns_check_package() local 64 /* The package info for this name is in the next table entry */ in acpi_ns_check_package() 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() 75 * and trailing NULL package elements in acpi_ns_check_package() 77 acpi_ns_remove_null_elements(info, package in acpi_ns_check_package() 387 acpi_ns_check_package_list(struct acpi_evaluate_info * info,const union acpi_predefined_info * package,union acpi_operand_object ** elements,u32 count) acpi_ns_check_package_list() argument [all...] |
H A D | dspkginit.c | 4 * Module Name: dspkginit - Completion of deferred package initialization 31 * element_count - Number of elements in the package - this is 37 * DESCRIPTION: Translate a parser Op package object to the equivalent 40 * NOTE: The number of elements in the package will be always be the num_elements 41 * count, regardless of the number of elements in the package list. If 42 * num_elements is smaller, only that many package list elements are used. 47 * than the Package list length (for the fixed length package opcode), some 77 /* Find the parent of a possibly nested package */ in acpi_ds_build_internal_package_obj() 86 * If we are evaluating a Named package object of the form: in acpi_ds_build_internal_package_obj() 88 * the package objec in acpi_ds_build_internal_package_obj() [all...] |
H A D | nsrepair2.c | 364 /* Examine each element of the _CID package */ in acpi_ns_repair_CID() 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() 460 /* Update top-level package count, Type "Integer" checked elsewhere */ in acpi_ns_repair_CST() 462 obj_desc = return_object->package.elements[0]; in acpi_ns_repair_CST() 588 /* Each element in the _PRT package i in acpi_ns_repair_PRT() [all...] |
H A D | utcopy.c | 90 * package element) in acpi_ut_copy_isimple_to_esimple() 207 * DESCRIPTION: Copy one package element to another package element 228 package.elements[this_index]; in acpi_ut_copy_ielement_to_eelement() 246 * Build the package object 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() 254 * Pass the new package object back to the package wal in acpi_ut_copy_ielement_to_eelement() [all...] |
/linux/drivers/acpi/ |
H A D | pfr_update.c | 136 if (out_obj->package.count < CAP_NR_IDX || in query_capability() 137 out_obj->package.elements[CAP_STATUS_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 138 out_obj->package.elements[CAP_UPDATE_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 139 out_obj->package.elements[CAP_CODE_TYPE_IDX].type != ACPI_TYPE_BUFFER || in query_capability() 140 out_obj->package.elements[CAP_FW_VER_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 141 out_obj->package.elements[CAP_CODE_RT_VER_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 142 out_obj->package.elements[CAP_DRV_TYPE_IDX].type != ACPI_TYPE_BUFFER || in query_capability() 143 out_obj->package.elements[CAP_DRV_RT_VER_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 144 out_obj->package.elements[CAP_DRV_SVN_IDX].type != ACPI_TYPE_INTEGER || in query_capability() 145 out_obj->package in query_capability() [all...] |
H A 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 in get_pfrt_log_data_info() [all...] |
H A D | property.c | 95 dn->name = link->package.elements[0].string.pointer; in acpi_nondev_subnode_extract() 110 * returned the package. That is, it's the scope of that 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() 197 /* The second one may be a string, a reference or a package. */ in acpi_add_nondev_subnodes() 198 switch (link->package.elements[1].type) { in acpi_add_nondev_subnodes() 204 handle = link->package in acpi_add_nondev_subnodes() 405 union acpi_object *package; acpi_data_add_buffer_props() local [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 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() 46 pr_debug("Invalid package argument\n"); in acpi_extract_package() 61 if (format_count > package->package.count) { in acpi_extract_package() 63 format_count, package->package in acpi_extract_package() 347 union acpi_object *package; acpi_evaluate_reference() local [all...] |
/linux/drivers/acpi/x86/ |
H A D | s2idle.c | 68 union acpi_object *package; member 71 /* Constraint package structure */ 83 /* AMD Constraint package structure */ 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 in lpi_device_get_constraints_amd() 218 union acpi_object *package = &out_obj->package.elements[i]; lpi_device_get_constraints() local [all...] |
H A D | apple.c | 23 * to retrieve the properties. They are marshalled up in a single package as 24 * alternating key/value elements, unlike _DSD which stores them as a package 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() 94 /* newsize += top-level package + 3 objects for each key/value tuple */ in acpi_extract_apple_properties() 100 /* layout: top-level package | packages | key/value tuples | strings */ 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 in acpi_extract_apple_properties() [all...] |
/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 in ibm_get_table_from_acpi() [all...] |
/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | acpi.c | 206 * We need at least one entry in the wifi package that in iwl_acpi_get_wifi_pkg_range() 220 data->package.count < 2 || in iwl_acpi_get_wifi_pkg_range() 221 data->package.elements[0].type != ACPI_TYPE_INTEGER) { in iwl_acpi_get_wifi_pkg_range() 226 *tbl_rev = data->package.elements[0].integer.value; in iwl_acpi_get_wifi_pkg_range() 229 for (i = 1; i < data->package.count; i++) { in iwl_acpi_get_wifi_pkg_range() 232 wifi_pkg = &data->package.elements[i]; in iwl_acpi_get_wifi_pkg_range() 234 /* skip entries that are not a package with the right size */ in iwl_acpi_get_wifi_pkg_range() 236 wifi_pkg->package.count < min_data_size || in iwl_acpi_get_wifi_pkg_range() 237 wifi_pkg->package.count > max_data_size) in iwl_acpi_get_wifi_pkg_range() 240 domain = &wifi_pkg->package in iwl_acpi_get_wifi_pkg_range() [all...] |
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-platform.c | 390 obj->package.count < 3) in is_acpi_coresight_graph() 393 graphid = &obj->package.elements[0]; in is_acpi_coresight_graph() 394 guid = &obj->package.elements[1]; in is_acpi_coresight_graph() 395 links = &obj->package.elements[2]; in is_acpi_coresight_graph() 478 if (graph->package.count < 2) in acpi_validate_dsd_graph() 481 rev = &graph->package.elements[0]; in acpi_validate_dsd_graph() 482 nr_graphs = &graph->package.elements[1]; in acpi_validate_dsd_graph() 497 /* Make sure the ACPI graph package has right number of elements */ in acpi_validate_dsd_graph() 498 if (graph->package.count != (n + 2)) in acpi_validate_dsd_graph() 502 * Each entry must be a graph package wit in acpi_validate_dsd_graph() 536 const union acpi_object *guid, *package; acpi_get_dsd_graph() local [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 [all...] |
/linux/drivers/platform/x86/intel/int1092/ |
H A D | intel_sar.c | 63 * parse_package: parse acpi package for retrieving SAR information 68 * If a given package corresponding to a specific device mode is faulty, it is 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 in parse_package() [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/net/ncsi/ |
H A D | ncsi-netlink.c | 71 if (nc == nc->package->preferred_channel) in ncsi_write_channel_info() 104 netdev_info(ndp->ndev.dev, "NCSI: No package with id %u\n", id); in ncsi_write_package_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 in ncsi_set_interface_nl() 644 struct ncsi_package *np, *package; ncsi_set_channel_mask_nl() local [all...] |
/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 whic [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/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 in soc_button_get_button_info() [all...] |
/linux/drivers/char/tpm/ |
H A D | tpm_ppi.c | 76 * output.pointer should be of package type, including two integers. in tpm_show_ppi_request() 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() 91 obj->package.elements[2].integer.value); in tpm_show_ppi_request() 95 } else if (obj->package.count == 2 && in tpm_show_ppi_request() 96 obj->package in tpm_show_ppi_request() [all...] |
/linux/scripts/package/debian/ |
H A D | rules | 33 image-package = $(filter linux-image-% user-%, $(filter-out %-dbg, $(all-packages))) 34 image-dbg-package = $(filter %-dbg, $(all-packages)) 35 libc-dev-package = $(filter linux-libc-dev, $(all-packages)) 36 headers-package = $(filter linux-headers-%, $(all-packages)) 39 package = $($(@:binary-%=%-package)) macro 43 # which package is being processed in the build log. 44 DH_OPTIONS = -p$(package) 54 $(Q)+$(MAKE) $(make-opts) run-command KBUILD_RUN_COMMAND='+$$(srctree)/scripts/package/builddeb $(package)' [all...] |
/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 fo [all...] |