| /kernel/linux/linux-5.10/drivers/base/ |
| D | property.c | 1 // 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 …]
|
| /kernel/linux/linux-4.19/drivers/base/ |
| D | property.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * property.c - Unified device property interface. 17 #include <linux/property.h> 31 return !IS_ERR_OR_NULL(fwnode) && fwnode->ops == &pset_fwnode_ops; in is_pset_node() 49 if (!pset || !pset->properties) in pset_prop_get() 52 for (prop = pset->properties; prop->name; prop++) in pset_prop_get() 53 if (!strcmp(name, prop->name)) in pset_prop_get() 61 switch (prop->type) { in property_get_pointer() 63 if (prop->is_array) in property_get_pointer() 64 return prop->pointer.u8_data; in property_get_pointer() [all …]
|
| /kernel/linux/linux-4.19/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. 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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 <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 …]
|
| /kernel/linux/linux-5.10/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. 27 #include <linux/string.h> 33 * of_graph_is_present() - check graph's presence 36 * Return: True if @node has a port or ports (with a port) sub-node, 56 * of_property_count_elems_of_size - Count the number of elements in a property 58 * @np: device node from which the property value is to be read. 59 * @propname: name of the property to be searched. [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/crypto/ |
| D | fsl-sec4.txt | 3 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/crypto/ |
| D | fsl-sec4.txt | 3 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | of.h | 1 /* 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 …]
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | of.h | 1 /* 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 58 struct property *properties; argument 59 struct property *deadprops; /* removed properties */ 101 struct property *prop; 102 struct property *old_prop; 111 kobject_init(&node->kobj, &of_node_ktype); in of_node_init() [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/ |
| D | ethernet.txt | 4 generic PHY 'phys' property, see 5 Documentation/devicetree/bindings/phy/phy-bindings.txt. 7 - local-mac-address: array of 6 bytes, specifies the MAC address that was 9 - mac-address: array of 6 bytes, specifies the MAC address that was last used by 11 the device by the boot program is different from the "local-mac-address" 12 property; 13 - nvmem-cells: phandle, reference to an nvmem node for the MAC address; 14 - nvmem-cell-names: string, should be "mac-address" if nvmem is to be used; 15 - max-speed: number, specifies maximum speed in Mbit/s supported by the device; 16 - max-frame-size: number, maximum transfer unit (IEEE defined MTU), rather than [all …]
|
| /kernel/linux/linux-5.10/scripts/dtc/ |
| D | util.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 71 * Check a property of a given length to see if it is all printable and 72 * has a valid terminator. The property can contain either a single string, 73 * or multiple strings each of non-zero length. 75 * @param data The string to check 76 * @param len The string length including terminator 77 * @return 1 if a valid printable string, 0 if not 82 * Parse an escaped character starting at index i in string s. The resulting 85 * terminator of the string. 93 * @param filename The filename to read, or - for stdin [all …]
|
| /kernel/linux/linux-4.19/scripts/dtc/ |
| D | util.h | 24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 78 * Check a property of a given length to see if it is all printable and 79 * has a valid terminator. The property can contain either a single string, 80 * or multiple strings each of non-zero length. 82 * @param data The string to check 83 * @param len The string length including terminator 84 * @return 1 if a valid printable string, 0 if not 89 * Parse an escaped character starting at index i in string s. The resulting 92 * terminator of the string. 100 * @param filename The filename to read, or - for stdin [all …]
|
| /kernel/linux/linux-5.10/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 <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 …]
|
| /kernel/linux/linux-5.10/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 <bjorn.andersson@linaro.org> 11 - Kiran Gunda <kgunda@codeaurora.org> 21 - qcom,pm8941-wled 22 - qcom,pmi8998-wled 23 - qcom,pm660l-wled 24 - qcom,pm8150l-wled [all …]
|
| /kernel/linux/linux-5.10/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 <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 …]
|