Home
last modified time | relevance | path

Searched full:package (Results 1 – 25 of 831) sorted by relevance

12345678910>>...34

/Linux-v5.4/drivers/acpi/acpica/
Dnsprepkg.c4 * 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()
69 "%s Validating return Package of Type %X, Count %X\n", 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()
[all …]
Ddspkginit.c4 * Module Name: dspkginit - Completion of deferred package initialization
31 * element_count - Number of elements in the package - this is
32 * the num_elements argument to Package()
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.
43 * if num_elements is larger, the Package object is padded out with
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()
[all …]
Dnsrepair.c39 * Buffer -> Package of Integers
40 * Package -> Package of one Package
46 * An incorrect standalone object is wrapped with required outer package
49 * Required package elements that are NULL replaced by Integer/String/Buffer
106 * package_index - Index of object within parent package (if
189 "Found unexpected NULL package element")); in acpi_ns_simple_repair()
230 * A package is expected. We will wrap the existing object with a in acpi_ns_simple_repair()
231 * new package object. It is often the case that if a variable-length in acpi_ns_simple_repair()
232 * package is required, but there is only a single object needed, the in acpi_ns_simple_repair()
233 * BIOS will return that object instead of wrapping it with a Package in acpi_ns_simple_repair()
[all …]
Dutcopy.c90 * 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 walk routine in acpi_ut_copy_ielement_to_eelement()
259 * Save space for the array of objects (Package elements) in acpi_ut_copy_ielement_to_eelement()
264 package.count * in acpi_ut_copy_ielement_to_eelement()
289 * DESCRIPTION: This function is called to place a package object in a user
[all …]
Dnsrepair2.c109 * _BCL: Values are tied to the Package index where they appear, and cannot
112 * it to a Package of integers.
332 * If a Package, ensure same for all string elements.
354 /* Exit if not a Package */ in acpi_ns_repair_CID()
360 /* Examine each element of the _CID package */ in acpi_ns_repair_CID()
362 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()
[all …]
/Linux-v5.4/Documentation/firmware-guide/acpi/dsd/
Dgraph.rst46 "X" is the number of the port. An example of such a package would be::
48 Package() { "port@4", "PRT4" }
55 package would be::
57 Package() { "endpoint@0", "EP40" }
68 name followed by a reference in the same package. Such references consist of
69 the remote device reference, the first package entry of the port data extension
70 reference under the device and finally the first package entry of the endpoint
73 Package() { device, "port@X", "endpoint@Y" }
87 Name (_DSD, Package () {
89 Package () {
[all …]
Dleds.rst28 Under the LED driver device, The first hierarchical data extension package list
42 Name (_DSD, Package () {
44 Package () {
45 Package () { "led@0", LED0 },
46 Package () { "led@1", LED1 },
49 Name (LED0, Package () {
51 Package () {
52 Package () { "reg", 0 },
53 Package () { "flash-max-microamp", 1000000 },
54 Package () { "flash-timeout-us", 200000 },
[all …]
Ddata-node-references.rst45 Name (_DSD, Package () {
47 Package () {
48 Package () { "node@0", "NOD0" },
49 Package () { "node@1", "NOD1" },
52 Name (NOD0, Package() {
54 Package () {
55 Package () { "random-property", 3 },
58 Name (NOD1, Package() {
60 Package () {
61 Package () { "anothernode", "ANOD" },
[all …]
/Linux-v5.4/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
39 Package chapter
44 AMD nomenclature for package is 'Node'.
46 Package-related topology information in the kernel:
50 The number of cores in a package. This information is retrieved via CPUID.
54 The number of dies in a package. This information is retrieved via CPUID.
58 The physical ID of the package. This information is retrieved via CPUID
59 and deduced from the APIC IDs of the cores in the package.
63 The logical ID of the package. As we do not trust BIOSes to enumerate the
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/hwtracing/coresight/
Dcoresight-platform.c357 obj->package.count < 3) in is_acpi_coresight_graph()
360 graphid = &obj->package.elements[0]; in is_acpi_coresight_graph()
361 guid = &obj->package.elements[1]; in is_acpi_coresight_graph()
362 links = &obj->package.elements[2]; in is_acpi_coresight_graph()
412 * Name (_DSD, Package() {
413 * // DSD Package contains tuples of { Proeprty_Type_UUID, Package() }
415 * Package() {
416 * Package(2) { "property-name", <property-value> }
420 * Package() {
423 * Package() { // Graph[0] Package
[all …]
/Linux-v5.4/Documentation/firmware-guide/acpi/
Dgpio-properties.rst29 Name (_DSD, Package ()
32 Package ()
34 Package () {"reset-gpios", Package() {^BTH, 1, 1, 0 }},
35 Package () {"shutdown-gpios", Package() {^BTH, 0, 0, 0 }},
42 Package () { "name", Package () { ref, index, pin, active_low }}
67 Package () {
69 Package () {
90 Name (_DSD, Package () {
93 Package () {
94 Package () {"hog-gpio8", "G8PU"}
[all …]
/Linux-v5.4/net/ncsi/
Dncsi-netlink.c71 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()
212 struct ncsi_package *np, *package; in ncsi_pkg_info_all_nl() local
234 package = NULL; in ncsi_pkg_info_all_nl()
237 package = np; in ncsi_pkg_info_all_nl()
239 if (!package) in ncsi_pkg_info_all_nl()
254 rc = ncsi_write_package_info(skb, ndp, package->id); in ncsi_pkg_info_all_nl()
273 struct ncsi_package *np, *package; in ncsi_set_interface_nl() local
294 package = NULL; in ncsi_set_interface_nl()
298 package = np; in ncsi_set_interface_nl()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_flex_pipe.c167 * or writing of the package. When attempting to obtain write access, the
171 * and can perform writing of the package.
173 * package or has found that no update was necessary; in
175 * update of the package.
210 * @pkg_buf: the package buffer to transfer
211 * @buf_size: the size of the package buffer
217 * Download Package (0x0C40)
259 * @pkg_hdr: pointer to the package header to be searched
261 * This function searches a package file for a particular segment type. On
271 ice_debug(hw, ICE_DBG_PKG, "Package format version: %d.%d.%d.%d\n", in ice_find_seg_in_pkg()
[all …]
/Linux-v5.4/drivers/acpi/
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()
56 printk(KERN_WARNING PREFIX "Invalid package argument\n"); in acpi_extract_package()
71 if (format_count > package->package.count) { in acpi_extract_package()
73 " than exist in package [%d].\n", 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()
102 printk(KERN_WARNING PREFIX "Invalid package element" in acpi_extract_package()
127 printk(KERN_WARNING PREFIX "Invalid package element" in acpi_extract_package()
[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 …]
Dproperty.c75 dn->name = link->package.elements[0].string.pointer; in acpi_nondev_subnode_extract()
90 * returned the package. That is, it's the scope of that in acpi_nondev_subnode_extract()
147 status = acpi_get_handle(scope, link->package.elements[1].string.pointer, in acpi_nondev_subnode_ok()
163 for (i = 0; i < links->package.count; i++) { in acpi_add_nondev_subnodes()
168 link = &links->package.elements[i]; in acpi_add_nondev_subnodes()
170 if (link->package.count != 2) in acpi_add_nondev_subnodes()
174 if (link->package.elements[0].type != ACPI_TYPE_STRING) in acpi_add_nondev_subnodes()
177 /* The second one may be a string, a reference or a package. */ in acpi_add_nondev_subnodes()
178 switch (link->package.elements[1].type) { in acpi_add_nondev_subnodes()
184 handle = link->package.elements[1].reference.handle; in acpi_add_nondev_subnodes()
[all …]
/Linux-v5.4/drivers/acpi/x86/
Dapple.c22 * to retrieve the properties. They are marshalled up in a single package as
23 * alternating key/value elements, unlike _DSD which stores them as a package
58 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()
90 /* newsize += top-level package + 3 objects for each key/value tuple */ in acpi_extract_apple_properties()
96 /* layout: top-level package | packages | key/value tuples | strings */ 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()
[all …]
/Linux-v5.4/drivers/char/tpm/
Dtpm_ppi.c76 * 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()
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()
[all …]
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/
Dacpi.c106 * We need at least one entry in the wifi package that in iwl_acpi_get_wifi_pkg()
120 data->package.count < 2 || in iwl_acpi_get_wifi_pkg()
121 data->package.elements[0].type != ACPI_TYPE_INTEGER || in iwl_acpi_get_wifi_pkg()
122 data->package.elements[0].integer.value > 1) { in iwl_acpi_get_wifi_pkg()
127 *tbl_rev = data->package.elements[0].integer.value; in iwl_acpi_get_wifi_pkg()
130 for (i = 1; i < data->package.count; i++) { in iwl_acpi_get_wifi_pkg()
133 wifi_pkg = &data->package.elements[i]; in iwl_acpi_get_wifi_pkg()
135 /* skip entries that are not a package with the right size */ in iwl_acpi_get_wifi_pkg()
137 wifi_pkg->package.count != data_size) in iwl_acpi_get_wifi_pkg()
140 domain = &wifi_pkg->package.elements[0]; in iwl_acpi_get_wifi_pkg()
[all …]
/Linux-v5.4/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-v5.4/include/uapi/linux/
Dncsi.h17 * @NCSI_CMD_PKG_INFO: list package and channel attributes. Requires
19 * specific package and its channels - otherwise a dump request returns
21 * @NCSI_CMD_SET_INTERFACE: set preferred package and channel combination.
24 * @NCSI_CMD_CLEAR_INTERFACE: clear any preferred package/channel combination.
56 * @NCSI_ATTR_PACKAGE_ID: package ID
81 * enum ncsi_nl_pkg_attrs - NCSI netlink package-specific attributes
84 * @NCSI_PKG_ATTR: nested array of package attributes
85 * @NCSI_PKG_ATTR_ID: package ID
86 * @NCSI_PKG_ATTR_FORCED: flag signifying a package has been set as preferred
/Linux-v5.4/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-v5.4/drivers/input/misc/
Dsoc_button_array.c165 desc->package.count != 5 || in soc_button_parse_btn_desc()
167 soc_button_get_acpi_object_int(&desc->package.elements[0]) != 1 || in soc_button_parse_btn_desc()
169 soc_button_get_acpi_object_int(&desc->package.elements[2]) != in soc_button_parse_btn_desc()
177 soc_button_get_acpi_object_int(&desc->package.elements[1]); in soc_button_parse_btn_desc()
178 upage = soc_button_get_acpi_object_int(&desc->package.elements[3]); in soc_button_parse_btn_desc()
179 usage = soc_button_get_acpi_object_int(&desc->package.elements[4]); in soc_button_parse_btn_desc()
245 for (i = 0; (i + 1) < desc->package.count; i += 2) { in soc_button_get_button_info()
246 uuid = &desc->package.elements[i]; in soc_button_get_button_info()
250 desc->package.elements[i + 1].type != ACPI_TYPE_PACKAGE) { in soc_button_get_button_info()
255 btns_desc = &desc->package.elements[i + 1]; in soc_button_get_button_info()
[all …]
/Linux-v5.4/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()

12345678910>>...34