Home
last modified time | relevance | path

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

123456

/linux/drivers/base/
H A Dproperty.c1 // SPDX-License-Identifier: GPL-2.0
3 * property.c - Unified device property interface.
15 #include <linux/property.h>
18 #include <linux/string.h>
23 return IS_ENABLED(CONFIG_OF) && dev->of_node ? in __dev_fwnode()
24 of_fwnode_handle(dev->of_node) : dev->fwnode; in __dev_fwnode()
30 return IS_ENABLED(CONFIG_OF) && dev->of_node ? in __dev_fwnode_const()
31 of_fwnode_handle(dev->of_node) : dev->fwnode; in __dev_fwnode_const()
36 * device_property_present - check if a property of a device is present
37 * @dev: Device whose property is being checked
[all …]
/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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/drivers/of/
H A 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.
30 #include <linux/string.h>
36 * of_property_read_bool - Find a property
37 * @np: device node from which the property value is to be read.
38 * @propname: name of the property to be searched.
40 * Search for a boolean property in a device node. Usage on non-boolean
41 * property types is deprecated.
[all …]
H A Dbase.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Copyright (C) 1996-2005 Paul Mackerras.
29 #include <linux/string.h>
68 node_name = kbasename(np->full_name); in of_node_name_eq()
69 len = strchrnul(node_name, '@') - node_name; in of_node_name_eq()
80 return strncmp(kbasename(np->full_name), prefix, strlen(prefix)) == 0; in of_node_name_prefix()
108 for (; np; np = np->parent) { in of_bus_n_addr_cells()
109 if (!of_property_read_u32(np, "#address-cells", &cells)) in of_bus_n_addr_cells()
112 * Default root value and walking parent nodes for "#address-cells" in of_bus_n_addr_cells()
117 "Missing '#address-cells' in %pOF\n", np); in of_bus_n_addr_cells()
[all …]
/linux/include/linux/
H A Dof.h1 /* SPDX-License-Identifier: GPL-2.0+ */
8 * Copyright (C) 1996-2005 Paul Mackerras.
19 #include <linux/device-id/of.h>
20 #include <linux/property.h>
28 struct property { struct
32 struct property *next; argument
54 struct property *properties; argument
55 struct property *deadprops; /* removed properties */
96 struct property *prop;
97 struct property *old_prop;
[all …]
/linux/Documentation/devicetree/bindings/connector/
H A 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/Documentation/devicetree/bindings/pinctrl/
H A 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 <linusw@kernel.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/drivers/acpi/
H A Dproperty.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2014 - 2023, Intel Corporation
32 * from different GUID appear in a property list of another, it will be
38 * https://github.com/UEFI/DSD-Guide/blob/main/src/dsd-guide.adoc
41 /* ACPI _DSD device properties GUID [1]: daffd814-6eba-4d8c-8a91-bc9bbf4aa301 */
44 /* Hotplug in D3 GUID: 6211e2c0-58a3-4af3-90e1-927a4e0c55a4 */
47 /* External facing port GUID: efcc06cc-73ac-4bc3-bff0-76143807c389 */
50 /* Thunderbolt GUID for IMR_VALID: c44d002f-69f9-4e7d-a904-a7baabdf43f7 */
53 /* Thunderbolt GUID for WAKE_SUPPORTED: 6c501103-c189-4296-ba72-9bf5a26ebe5d */
56 /* Storage device needs D3 GUID: 5025030f-842f-4ab4-a561-99a5189762d0 */
[all …]
/linux/Documentation/devicetree/bindings/leds/
H A 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/Documentation/devicetree/bindings/timestamp/
H A 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/Documentation/devicetree/bindings/regulator/
H A 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 …]
H A 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/Documentation/netlink/
H A Dnetlink-raw.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml#
5 $schema: https://json-schema.org/draft-07/schema
10 type: string
11 pattern: ^[0-9a-z-]+$
12 name-cap:
13 type: string
14 pattern: ^[0-9a-zA-Z-]+$
18 len-or-define:
[all …]
H A Dgenetlink.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
10 type: string
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
16 type: [ string, integer ]
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
[all …]
H A Dgenetlink-c.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
13 type: [ string, integer ]
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int, const name, or limit based on fixed-width type
18 # e.g. u8-min, u16-max, etc.
[all …]
/linux/Documentation/devicetree/bindings/net/pse-pd/
H A Dpse-controller.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/pse-pd/pse-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 power over twisted pair/ethernet cable. The ethernet-pse nodes should be
12 used to describe PSE controller and referenced by the ethernet-phy node.
15 - Oleksij Rempel <o.rempel@pengutronix.de>
16 - Kory Maincent <kory.maincent@bootlin.com>
20 pattern: "^ethernet-pse(@.*|-([0-9]|[1-9][0-9]+))?$"
22 "#pse-cells":
[all …]
/linux/Documentation/devicetree/bindings/powerpc/
H A Dibm,powerpc-cpu-features.txt3 (skiboot/doc/device-tree/ibm,powerpc-cpu-features/binding.txt)
9 ibm,powerpc-cpu-features binding
19 /cpus/ibm,powerpc-cpu-features node binding
20 -------------------------------------------
22 Node: ibm,powerpc-cpu-features
26 The node name must be "ibm,powerpc-cpu-features".
35 - compatible
37 Value type: string
38 Definition: "ibm,powerpc-cpu-features"
43 revision of the compatible property.
[all …]
/linux/Documentation/devicetree/bindings/iio/multiplexer/
H A Dio-channel-mux.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/multiplexer/io-channel-mux.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Peter Rosin <peda@axentia.se>
16 For each non-empty string in the channels property, an io-channel will be
17 created. The number of this io-channel is the same as the index into the list
18 of strings in the channels property, and also matches the mux controller
20 Documentation/devicetree/bindings/mux/mux-controller.yaml
25 const: io-channel-mux
[all …]
/linux/drivers/dpll/zl3073x/
H A Dprop.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/property.h>
10 #include <linux/string.h>
16 * zl3073x_pin_check_freq - verify frequency for given pin
62 dev_warn(zldev->dev, in zl3073x_pin_check_freq()
69 * zl3073x_prop_pin_package_label_set - get package label for the pin
75 * Generates package label string and stores it into pin properties structure.
78 * REF<n> - differential input reference
79 * REF<n>P & REF<n>N - single-ended input reference (P or N pin)
80 * OUT<n> - differential output
[all …]

123456