Home
last modified time | relevance | path

Searched +full:string +full:- +full:array +full:- +full:property (Results 1 – 25 of 156) sorted by relevance

1234567

/Linux-v5.4/drivers/base/
Dproperty.c1 // SPDX-License-Identifier: GPL-2.0
3 * property.c - Unified device property interface.
17 #include <linux/property.h>
23 return IS_ENABLED(CONFIG_OF) && dev->of_node ? in dev_fwnode()
24 &dev->of_node->fwnode : dev->fwnode; in dev_fwnode()
29 * device_property_present - check if a property of a device is present
30 * @dev: Device whose property is being checked
31 * @propname: Name of the property
33 * Check if property @propname is present in the device firmware description.
42 * fwnode_property_present - check if a property of a firmware node is present
[all …]
/Linux-v5.4/drivers/of/
Dproperty.c1 // SPDX-License-Identifier: GPL-2.0+
3 * drivers/of/property.c - Procedures for accessing and interpreting
7 * file contains the OF property as well as the OF graph interface
11 * Copyright (C) 1996-2005 Paul Mackerras.
27 #include <linux/string.h>
32 * of_property_count_elems_of_size - Count the number of elements in a property
34 * @np: device node from which the property value is to be read.
35 * @propname: name of the property to be searched.
38 * Search for a property in a device node and count the number of elements of
39 * size elem_size in it. Returns number of elements on sucess, -EINVAL if the
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/powerpc/fsl/
Ddcsr.txt21 - compatible
23 Value type: <string>
24 Definition: Must include "fsl,dcsr" and "simple-bus".
25 The DCSR space exists in the memory-mapped bus.
27 - #address-cells
30 Definition: A standard property. Defines the number of cells
33 - #size-cells
36 Definition: A standard property. Defines the number of cells
40 - ranges
42 Value type: <prop-encoded-array>
[all …]
Dsrio-rmu.txt5 node is composed of three types of sub-nodes ("fsl-srio-msg-unit",
6 "fsl-srio-dbell-unit" and "fsl-srio-port-write-unit").
10 - compatible
12 Value type: <string>
13 Definition: Must include "fsl,srio-rmu-vX.Y", "fsl,srio-rmu".
18 - reg
20 Value type: <prop-encoded-array>
21 Definition: A standard property. Specifies the physical address and
25 - fsl,liodn
26 Usage: optional-but-recommended (for devices with PAMU)
[all …]
Dsrio.txt5 - compatible
7 Value type: <string>
11 Optionally, a compatible string of "fsl,srio-vX.Y" where X is Major
15 - reg
17 Value type: <prop-encoded-array>
18 Definition: A standard property. Specifies the physical address and
22 - interrupts
24 Value type: <prop_encoded-array>
26 value of the interrupts property consists of one interrupt
31 property. (Typically shared with port-write).
[all …]
Dpamu.txt5 The PAMU is an I/O MMU that provides device-to-memory access control and
10 - compatible : <string>
11 First entry is a version-specific string, such as
12 "fsl,pamu-v1.0". The second is "fsl,pamu".
13 - ranges : <prop-encoded-array>
14 A standard property. Utilized to describe the memory mapped
20 - interrupts : <prop-encoded-array>
25 - #address-cells: <u32>
26 A standard property.
27 - #size-cells : <u32>
[all …]
Dmcm.txt11 number of local access windows as specified by fsl,num-laws.
15 - compatible
17 Value type: <string>
18 Definition: Must include "fsl,mcm-law"
20 - reg
22 Value type: <prop-encoded-array>
23 Definition: A standard property. The value specifies the
27 - fsl,num-laws
43 - compatible
45 Value type: <string>
[all …]
Decm.txt11 number of local access windows as specified by fsl,num-laws.
15 - compatible
17 Value type: <string>
18 Definition: Must include "fsl,ecm-law"
20 - reg
22 Value type: <prop-encoded-array>
23 Definition: A standard property. The value specifies the
27 - fsl,num-laws
43 - compatible
45 Value type: <string>
[all …]
Dinterlaken-lac.txt2 Freescale Interlaken Look-Aside Controller Device Bindings
6 - Interlaken Look-Aside Controller (LAC) Node
7 - Example LAC Node
8 - Interlaken Look-Aside Controller (LAC) Software Portal Node
9 - Interlaken Look-Aside Controller (LAC) Software Portal Child Nodes
10 - Example LAC SWP Node with Child Nodes
13 Interlaken Look-Aside Controller (LAC) Node
17 The Interlaken is a narrow, high speed channelized chip-to-chip interface. To
18 facilitate interoperability between a data path device and a look-aside
19 co-processor, the Interlaken Look-Aside protocol is defined for short
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/crypto/
Dfsl-sec4.txt3 Copyright (C) 2008-2011 Freescale Semiconductor Inc.
6 -Overview
7 -SEC 4 Node
8 -Job Ring Node
9 -Run Time Integrity Check (RTIC) Node
10 -Run Time Integrity Check (RTIC) Memory Node
11 -Secure Non-Volatile Storage (SNVS) Node
12 -Secure Non-Volatile Storage (SNVS) Low Power (LP) RTC Node
13 -Full Example
29 HW interface between QM & SEC 4 and also BM & SEC 4, on DPAA-enabled parts
[all …]
Dfsl-sec6.txt4 -SEC 6 Node
5 -Job Ring Node
6 -Full Example
20 - compatible
22 Value type: <string>
23 Definition: Must include "fsl,sec-v6.0".
25 - fsl,sec-era
28 Definition: A standard property. Define the 'ERA' of the SEC
31 - #address-cells
34 Definition: A standard property. Defines the number of cells
[all …]
/Linux-v5.4/include/linux/
Dof.h1 /* SPDX-License-Identifier: GPL-2.0+ */
8 * Copyright (C) 1996-2005 Paul Mackerras.
22 #include <linux/property.h>
31 struct property { struct
35 struct property *next; argument
57 struct property *properties; argument
58 struct property *deadprops; /* removed properties */
99 struct property *prop;
100 struct property *old_prop;
109 kobject_init(&node->kobj, &of_node_ktype); in of_node_init()
[all …]
Dproperty.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * property.h - Unified device property interface.
50 const char *propname, const char *string);
73 const char *propname, const char *string);
223 * struct property_entry - "Built-in" device property representation.
224 * @name: Name of the property.
226 * @is_array: True when the property is an array.
228 * @pointer: Pointer to the property (an array of items of the given type).
229 * @value: Value of the property (when it is a single item of the given type).
256 * crafted to avoid gcc-4.4.4's problems with initialization of anon unions
[all …]
/Linux-v5.4/scripts/dtc/
Dutil.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
66 * Check a property of a given length to see if it is all printable and
67 * has a valid terminator. The property can contain either a single string,
68 * or multiple strings each of non-zero length.
70 * @param data The string to check
71 * @param len The string length including terminator
72 * @return 1 if a valid printable string, 0 if not
77 * Parse an escaped character starting at index i in string s. The resulting
80 * terminator of the string.
88 * @param filename The filename to read, or - for stdin
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/
Dexample-schema.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 # All the top-level keys are standard json-schema keywords except for
10 $id: "http://devicetree.org/schemas/example-schema.yaml#"
11 # $schema is the meta-schema this schema should be validated with.
12 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
17 - Rob Herring <robh@kernel.org>
20 A more detailed multi-line description of the binding.
41 # isn't another way to express a constraint of the last string value.
44 - items:
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/misc/
Dfsl,qoriq-mc.txt3 The Freescale Management Complex (fsl-mc) is a hardware resource
5 network-oriented packet processing applications. After the fsl-mc
12 For an overview of the DPAA2 architecture and fsl-mc bus see:
16 same hardware "isolation context" and a 10-bit value called an ICID
20 The generic 'iommus' property is insufficient to describe the relationship
21 between ICIDs and IOMMUs, so an iommu-map property is used to define
28 For arm-smmu binding, see:
33 - compatible
34 Value type: <string>
35 Definition: Must be "fsl,qoriq-mc". A Freescale Management Complex
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
Dqe.txt16 - compatible : should be "fsl,qe";
17 - model : precise model of the QE, Can be "QE", "CPM", or "CPM2"
18 - reg : offset and length of the device registers.
19 - bus-frequency : the clock frequency for QUICC Engine.
20 - fsl,qe-num-riscs: define how many RISC engines the QE has.
21 - fsl,qe-snums: This property has to be specified as '/bits/ 8' value,
22 defining the array of serial number (SNUM) values for the virtual
26 - fsl,firmware-phandle:
27 Usage: required only if there is no fsl,qe-firmware child node
31 The compatible property for the firmware node should say,
[all …]
/Linux-v5.4/drivers/acpi/
Dproperty.c1 // SPDX-License-Identifier: GPL-2.0-only
29 * from different GUID appear in a property list of another, it will be
33 /* ACPI _DSD device properties GUID: daffd814-6eba-4d8c-8a91-bc9bbf4aa301 */
36 /* Hotplug in D3 GUID: 6211e2c0-58a3-4af3-90e1-927a4e0c55a4 */
39 /* External facing port GUID: efcc06cc-73ac-4bc3-bff0-76143807c389 */
42 /* Thunderbolt GUID for IMR_VALID: c44d002f-69f9-4e7d-a904-a7baabdf43f7 */
45 /* Thunderbolt GUID for WAKE_SUPPORTED: 6c501103-c189-4296-ba72-9bf5a26ebe5d */
50 /* ACPI _DSD data subnodes GUID: dbb8e3e6-5886-4ba6-8795-1319f52a966b */
75 dn->name = link->package.elements[0].string.pointer; in acpi_nondev_subnode_extract()
76 dn->fwnode.ops = &acpi_data_fwnode_ops; in acpi_nondev_subnode_extract()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/regulator/
Dgpio-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/gpio-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Girdwood <lgirdwood@gmail.com>
11 - Mark Brown <broonie@kernel.org>
14 Any property defined as part of the core regulator binding, defined in
18 - $ref: "regulator.yaml#"
22 const: regulator-gpio
24 regulator-name: true
[all …]
Dregulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Girdwood <lgirdwood@gmail.com>
11 - Mark Brown <broonie@kernel.org>
14 regulator-name:
15 description: A string used as a descriptive name for regulator outputs
16 $ref: "/schemas/types.yaml#/definitions/string"
18 regulator-min-microvolt:
21 regulator-max-microvolt:
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/ufs/
Dufshcd-pltfrm.txt3 UFSHC nodes are defined to describe on-chip UFS host controllers.
7 - compatible : must contain "jedec,ufs-1.1" or "jedec,ufs-2.0"
10 SoC-specific compatible along with "qcom,ufshc" and
11 the appropriate jedec string:
12 "qcom,msm8994-ufshc", "qcom,ufshc", "jedec,ufs-2.0"
13 "qcom,msm8996-ufshc", "qcom,ufshc", "jedec,ufs-2.0"
14 "qcom,msm8998-ufshc", "qcom,ufshc", "jedec,ufs-2.0"
15 "qcom,sdm845-ufshc", "qcom,ufshc", "jedec,ufs-2.0"
16 - interrupts : <interrupt mapping for UFS host controller IRQ>
17 - reg : <registers mapping>
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/gpio/
Dgpio.txt4 1) gpios property
5 -----------------
7 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose
8 of this GPIO for the device. While a non-existent <name> is considered valid
9 for compatibility reasons (resolving to the "gpios" property), it is not allowed
10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old
16 distinct functions, reference each of them under its own property, giving it a
17 meaningful name. The only case where an array of GPIOs is accepted is when
20 The exact purpose of each gpios property must be documented in the device tree
24 and bit-banged data signals:
[all …]
/Linux-v5.4/Documentation/driver-api/gpio/
Dboard.rst7 Note that it only applies to the new descriptor-based interface. For a
8 description of the deprecated integer-based GPIO interface please refer to
9 gpio-legacy.txt (actually, there is no real mapping possible with the old
20 -----------
25 GPIOs mappings are defined in the consumer device's node, in a property named
26 <function>-gpios, where <function> is the function the driver will request
32 led-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>, /* red */
36 power-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
39 Properties named <function>-gpio are also considered valid and old bindings use
43 This property will make GPIOs 15, 16 and 17 available to the driver under the
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/input/
Dqcom,pm8941-pwrkey.txt5 - compatible:
7 Value type: <string>
9 "qcom,pm8941-pwrkey"
10 "qcom,pm8941-resin"
12 - reg:
14 Value type: <prop-encoded-array>
17 - interrupts:
19 Value type: <prop-encoded-array>
24 - debounce:
30 - bias-pull-up:
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/soc/qcom/
Dqcom,wcnss.txt6 - compatible:
8 Value type: <string>
11 - qcom,smd-channel:
13 Value type: <string>
14 Definition: standard SMD property specifying the SMD channel used for
18 - qcom,mmio:
20 Value type: <prop-encoded-array>
34 - compatible:
36 Value type: <string>
38 "qcom,wcnss-bt"
[all …]

1234567