/linux-6.14.4/drivers/base/ |
D | property.c | 1 // 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-6.14.4/Documentation/devicetree/bindings/ |
D | example-schema.yaml | 1 # 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 <[email protected]> 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.14.4/Documentation/devicetree/bindings/powerpc/fsl/ |
D | dcsr.txt | 21 - 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 …]
|
D | srio-rmu.txt | 5 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 …]
|
D | srio.txt | 5 - 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 …]
|
D | pamu.txt | 5 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 …]
|
D | ecm.txt | 11 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 …]
|
D | mcm.txt | 11 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.14.4/drivers/of/ |
D | property.c | 1 // 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_property_read_bool - Find a property 36 * @np: device node from which the property value is to be read. 37 * @propname: name of the property to be searched. 39 * Search for a boolean property in a device node. Usage on non-boolean 40 * property types is deprecated. [all …]
|
D | dynamic.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <linux/string.h> 28 * of_node_get() - Increment refcount of a node 37 kobject_get(&node->kobj); in of_node_get() 43 * of_node_put() - Decrement refcount of a node 50 kobject_put(&node->kobj); in of_node_put() 78 func("changeset: " prefix "%-15s %pOF%s%s\n", \ 80 prop ? ":" : "", prop ? prop->name : ""); \ 90 of_changeset_action_debug("notify: ", action, pr->dn, pr->prop); in of_reconfig_notify() 97 * of_reconfig_get_state_change() - Returns new state of device [all …]
|
/linux-6.14.4/scripts/dtc/ |
D | util.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 74 * Check a property of a given length to see if it is all printable and 75 * has a valid terminator. The property can contain either a single string, 76 * or multiple strings each of non-zero length. 78 * @param data The string to check 79 * @param len The string length including terminator 80 * @return 1 if a valid printable string, 0 if not 85 * Parse an escaped character starting at index i in string s. The resulting 88 * terminator of the string. 96 * @param filename The filename to read, or - for stdin [all …]
|
/linux-6.14.4/include/linux/ |
D | of.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 8 * Copyright (C) 1996-2005 Paul Mackerras. 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; 104 * of_node_init - initialize a devicetree node [all …]
|
D | property.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * property.h - Unified device property interface. 54 const char *propname, const char *string); 78 const char *propname, const char *string); 84 if (fwnode_property_present(fwnode, "big-endian")) in fwnode_device_is_big_endian() 87 fwnode_property_present(fwnode, "native-endian")) in fwnode_device_is_big_endian() 99 * device_is_big_endian - check if a device has BE registers 102 * Returns: true if the device has a "big-endian" property, or if the kernel 103 * was compiled for BE *and* the device has a "native-endian" property. 115 * device_is_compatible - match 'compatible' property of the device with a given string [all …]
|
/linux-6.14.4/Documentation/userspace-api/netlink/ |
D | specs.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 17 - the C uAPI header 18 …- documentation of the protocol as a ReST file - see :ref:`Documentation/networking/netlink_spec/i… 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.14.4/Documentation/devicetree/bindings/leds/backlight/ |
D | qcom-wled.yaml | 1 # 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 <[email protected]> 11 - Kiran Gunda <[email protected]> 21 - qcom,pm8941-wled 22 - qcom,pmi8950-wled 23 - qcom,pmi8994-wled 24 - qcom,pmi8998-wled [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/crypto/ |
D | fsl-sec6.txt | 4 -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.14.4/drivers/acpi/ |
D | property.c | 1 // 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-6.14.4/Documentation/devicetree/bindings/pinctrl/ |
D | pinmux-node.yaml | 1 # 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 <[email protected]> 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.14.4/Documentation/devicetree/bindings/timestamp/ |
D | hte-consumer.yaml | 1 # 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 <[email protected]> 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.14.4/Documentation/devicetree/bindings/leds/ |
D | common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacek Anaszewski <[email protected]> 11 - Pavel Machek <[email protected]> 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.14.4/Documentation/devicetree/bindings/remoteproc/ |
D | ti,pru-consumer.yaml | 1 # 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-[email protected]> 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.14.4/Documentation/netlink/ |
D | netlink-raw.yaml | 1 # 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 12 len-or-define: 13 type: [ string, integer ] 14 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 21 required: [ name, doc, attribute-sets, operations ] 26 type: string 28 type: string [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/connector/ |
D | usb-connector.yaml | 1 # 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 <[email protected]> 20 - enum: 21 - usb-a-connector 22 - usb-b-connector 23 - usb-c-connector 25 - items: [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/regulator/ |
D | gpio-regulator.yaml | 1 # 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 <[email protected]> 11 - Mark Brown <[email protected]> 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.14.4/Documentation/devicetree/bindings/net/pse-pd/ |
D | pse-controller.yaml | 1 # 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 <[email protected]> 16 - Kory Maincent <[email protected]> 20 pattern: "^ethernet-pse(@.*|-([0-9]|[1-9][0-9]+))?$" 22 "#pse-cells": [all …]
|