Home
last modified time | relevance | path

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

12345678

/linux-6.6/drivers/base/
Dproperty.c1 // SPDX-License-Identifier: GPL-2.0
3 * property.c - Unified device property interface.
17 #include <linux/property.h>
22 return IS_ENABLED(CONFIG_OF) && dev->of_node ? in __dev_fwnode()
23 of_fwnode_handle(dev->of_node) : dev->fwnode; in __dev_fwnode()
29 return IS_ENABLED(CONFIG_OF) && dev->of_node ? in __dev_fwnode_const()
30 of_fwnode_handle(dev->of_node) : dev->fwnode; in __dev_fwnode_const()
35 * device_property_present - check if a property of a device is present
36 * @dev: Device whose property is being checked
37 * @propname: Name of the property
[all …]
/linux-6.6/Documentation/devicetree/bindings/
Dexample-schema.yaml1 # SPDX-License-Identifier: (GPL-2.0-only 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-6.6/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 …]
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 …]
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 …]
/linux-6.6/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.
29 #include <linux/string.h>
35 * of_graph_is_present() - check graph's presence
38 * Return: True if @node has a port or ports (with a port) sub-node,
58 * of_property_count_elems_of_size - Count the number of elements in a property
60 * @np: device node from which the property value is to be read.
61 * @propname: name of the property to be searched.
[all …]
Ddynamic.c1 // SPDX-License-Identifier: GPL-2.0
15 #include <linux/string.h>
26 * of_node_get() - Increment refcount of a node
35 kobject_get(&node->kobj); in of_node_get()
41 * of_node_put() - Decrement refcount of a node
48 kobject_put(&node->kobj); in of_node_put()
76 func("changeset: " prefix "%-15s %pOF%s%s\n", \
78 prop ? ":" : "", prop ? prop->name : ""); \
88 of_changeset_action_debug("notify: ", action, pr->dn, pr->prop); in of_reconfig_notify()
95 * of_reconfig_get_state_change() - Returns new state of device
[all …]
/linux-6.6/include/linux/
Dof.h1 /* SPDX-License-Identifier: GPL-2.0+ */
8 * Copyright (C) 1996-2005 Paul Mackerras.
19 #include <linux/property.h>
27 struct property { struct
31 struct property *next; argument
53 struct property *properties; argument
54 struct property *deadprops; /* removed properties */
95 struct property *prop;
96 struct property *old_prop;
103 * of_node_init - initialize a devicetree node
[all …]
/linux-6.6/scripts/dtc/
Dutil.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
72 * Check a property of a given length to see if it is all printable and
73 * has a valid terminator. The property can contain either a single string,
74 * or multiple strings each of non-zero length.
76 * @param data The string to check
77 * @param len The string length including terminator
78 * @return 1 if a valid printable string, 0 if not
83 * Parse an escaped character starting at index i in string s. The resulting
86 * terminator of the string.
94 * @param filename The filename to read, or - for stdin
[all …]
/linux-6.6/Documentation/userspace-api/netlink/
Dspecs.rst1 .. SPDX-License-Identifier: BSD-3-Clause
17 - the C uAPI header
18 - documentation of the protocol as a ReST file
19 - policy tables for input attribute validation
20 - operation tables
25 See :doc:`intro-specs` for a practical starting guide.
28 ``((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)``
40 - ``genetlink`` - most streamlined, should be used by all new families
41 - ``genetlink-c`` - superset of ``genetlink`` with extra attributes allowing
45 - ``genetlink-legacy`` - Generic Netlink catch all schema supporting quirks of
[all …]
/linux-6.6/Documentation/devicetree/bindings/leds/backlight/
Dqcom-wled.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
11 - Kiran Gunda <kgunda@codeaurora.org>
21 - qcom,pm8941-wled
22 - qcom,pmi8950-wled
23 - qcom,pmi8994-wled
24 - qcom,pmi8998-wled
[all …]
/linux-6.6/Documentation/devicetree/bindings/crypto/
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-6.6/Documentation/devicetree/bindings/leds/
Dcommon.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
25 led-sources:
30 $ref: /schemas/types.yaml#/definitions/uint32-array
35 from the header include/dt-bindings/leds/common.h. If there is no
37 $ref: /schemas/types.yaml#/definitions/string
42 the header include/dt-bindings/leds/common.h. If there is no matching
[all …]
/linux-6.6/Documentation/devicetree/bindings/connector/
Dusb-connector.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
20 - enum:
21 - usb-a-connector
22 - usb-b-connector
23 - usb-c-connector
25 - items:
[all …]
/linux-6.6/Documentation/devicetree/bindings/pinctrl/
Dpinmux-node.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/pinmux-node.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
50 For cases like this, the pin controller driver may use pinctrl-pin-array helper
55 #pinctrl-cells = <2>;
58 pinctrl-pin-array = <
67 Above #pinctrl-cells specifies the number of value cells in addition to the
68 index of the registers. This is similar to the interrupts-extended binding with
[all …]
/linux-6.6/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 */
48 /* Storage device needs D3 GUID: 5025030f-842f-4ab4-a561-99a5189762d0 */
53 /* ACPI _DSD data subnodes GUID: dbb8e3e6-5886-4ba6-8795-1319f52a966b */
83 dn->name = link->package.elements[0].string.pointer; in acpi_nondev_subnode_extract()
[all …]
/linux-6.6/Documentation/devicetree/bindings/timestamp/
Dhte-consumer.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/timestamp/hte-consumer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dipen Patel <dipenp@nvidia.com>
16 $ref: /schemas/types.yaml#/definitions/phandle-array
23 timestamp-names:
24 $ref: /schemas/types.yaml#/definitions/string-array
26 An optional string property to label each line specifier present in the
27 timestamp property.
[all …]
/linux-6.6/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-6.6/Documentation/devicetree/bindings/remoteproc/
Dti,pru-consumer.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/ti,pru-consumer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Suman Anna <s-anna@ti.com>
25 $ref: /schemas/types.yaml#/definitions/phandle-array
32 firmware-name:
33 $ref: /schemas/types.yaml#/definitions/string-array
39 correspond to the PRU cores listed in the 'ti,prus' property
41 ti,pruss-gp-mux-sel:
[all …]
/linux-6.6/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:
32 The msi-map property is used to associate the devices with both the ITS
36 Documentation/devicetree/bindings/interrupt-controller/msi.txt.
39 Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml.
[all …]
/linux-6.6/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 …]
/linux-6.6/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
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
57 The second parameter of the gpiod_get() functions, the con_id string, has to be
[all …]

12345678