Home
last modified time | relevance | path

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

12345678910>>...37

/Linux-v5.15/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.
334 * If a Package, ensure same for all string elements.
358 /* Exit if not a Package */ in acpi_ns_repair_CID()
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()
[all …]
/Linux-v5.15/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 …]
Dphy.rst61 MAC port, which is linked in the _DSD package via
126 Name (_DSD, Package () {
128 Package () {
129 Package (2) {"phy-mode", "rgmii-id"},
130 Package (2) {"phy-handle", \_SB.MDI0.PHY1}
137 Name (_DSD, Package () {
139 Package () {
140 Package (2) {"phy-mode", "rgmii-id"},
141 Package (2) {"phy-handle", \_SB.MDI0.PHY2}}
153 Name (_DSD, Package () {
[all …]
/Linux-v5.15/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 Modern systems may also use the term 'Die' for package.
46 AMD nomenclature for package is 'Node'.
48 Package-related topology information in the kernel:
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.
[all …]
/Linux-v5.15/Documentation/firmware-guide/acpi/
Dintel-pmc-mux.rst82 Name (_DSD, Package () {
84 Package() {
85 Package () {"usb2-port-number", 6},
86 Package () {"usb3-port-number", 3},
103 Name (_DSD, Package () {
105 Package() {
106 Package () {"sbu-orientation", "normal"},
107 Package () {"hsl-orientation", "normal"},
127 Name (_DSD, Package () {
129 Package() {
[all …]
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 }}
93 Package () {
95 Package () {
122 Name (_DSD, Package () {
125 Package () {
126 Package () {"hog-gpio8", "G8PU"}
[all …]
/Linux-v5.15/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.15/drivers/acpi/x86/
Ds2idle.c66 union acpi_object *package; member
69 /* Constraint package structure */
81 /* AMD Constraint package structure */
108 for (i = 0; i < out_obj->package.count; i++) { in lpi_device_get_constraints_amd()
109 union acpi_object *package = &out_obj->package.elements[i]; in lpi_device_get_constraints_amd() local
111 if (package->type == ACPI_TYPE_PACKAGE) { in lpi_device_get_constraints_amd()
112 lpi_constraints_table = kcalloc(package->package.count, in lpi_device_get_constraints_amd()
122 for (j = 0; j < package->package.count; ++j) { in lpi_device_get_constraints_amd()
123 union acpi_object *info_obj = &package->package.elements[j]; in lpi_device_get_constraints_amd()
128 for (k = 0; k < info_obj->package.count; ++k) { in lpi_device_get_constraints_amd()
[all …]
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.15/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.15/drivers/hwtracing/coresight/
Dcoresight-platform.c393 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()
448 * Name (_DSD, Package() {
449 * // DSD Package contains tuples of { Proeprty_Type_UUID, Package() }
451 * Package() {
452 * Package(2) { "property-name", <property-value> }
456 * Package() {
459 * Package() { // Graph[0] Package
[all …]
/Linux-v5.15/drivers/platform/x86/intel/int1092/
Dintel_sar.c63 * 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.elements[3], &temp.sartable_index)) in parse_package()
[all …]
/Linux-v5.15/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.15/drivers/acpi/
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()
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.count); in acpi_extract_package()
74 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package()
91 pr_debug("Invalid package element [%d]: got number, expected [%c]\n", in acpi_extract_package()
113 pr_debug("Invalid package element [%d] got string/buffer, expected [%c]\n", in acpi_extract_package()
125 pr_debug("Invalid package element [%d] got reference, expected [%c]\n", in acpi_extract_package()
[all …]
/Linux-v5.15/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.15/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.15/Documentation/driver-api/pldmfw/
Dfile-format.rst7 A PLDM firmware package is a binary file which contains a header that
8 describes the contents of the firmware package. This includes an initial
9 package header, one or more firmware records, and one or more components
17 | Package Header |
29 | Package Header CRC |
49 Package Header
52 The package header begins with the UUID of the PLDM file format, and
55 component bitmap, and an overall package version.
57 The following diagram provides an overview of the package header::
71 | Package Version Info |
[all …]
/Linux-v5.15/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 …]

12345678910>>...37