/linux-6.8/drivers/base/ ! |
D | property.c | 1 // 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.8/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 …]
|
/linux-6.8/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 | 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 …]
|
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 …]
|
/linux-6.8/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_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 …]
|
D | dynamic.c | 1 // 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.8/include/linux/ ! |
D | of.h | 1 /* 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 …]
|
D | property.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * property.h - Unified device property interface. 57 const char *propname, const char *string); 79 const char *propname, const char *string); 85 if (fwnode_property_present(fwnode, "big-endian")) in fwnode_device_is_big_endian() 88 fwnode_property_present(fwnode, "native-endian")) in fwnode_device_is_big_endian() 100 * device_is_big_endian - check if a device has BE registers 103 * Returns: true if the device has a "big-endian" property, or if the kernel 104 * was compiled for BE *and* the device has a "native-endian" property. 116 * device_is_compatible - match 'compatible' property of the device with a given string [all …]
|
/linux-6.8/scripts/dtc/ ! |
D | util.h | 1 /* 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.8/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.8/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,pmi8950-wled 23 - qcom,pmi8994-wled 24 - qcom,pmi8998-wled [all …]
|
/linux-6.8/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.8/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 36 /* ACPI _DSD device properties GUID: daffd814-6eba-4d8c-8a91-bc9bbf4aa301 */ 39 /* Hotplug in D3 GUID: 6211e2c0-58a3-4af3-90e1-927a4e0c55a4 */ 42 /* External facing port GUID: efcc06cc-73ac-4bc3-bff0-76143807c389 */ 45 /* Thunderbolt GUID for IMR_VALID: c44d002f-69f9-4e7d-a904-a7baabdf43f7 */ 48 /* Thunderbolt GUID for WAKE_SUPPORTED: 6c501103-c189-4296-ba72-9bf5a26ebe5d */ 51 /* Storage device needs D3 GUID: 5025030f-842f-4ab4-a561-99a5189762d0 */ 56 /* ACPI _DSD data subnodes GUID: dbb8e3e6-5886-4ba6-8795-1319f52a966b */ [all …]
|
/linux-6.8/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 …]
|
/linux-6.8/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 …]
|
/linux-6.8/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 <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.8/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ ! |
D | qe.txt | 16 - 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.8/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-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.8/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.8/Documentation/devicetree/bindings/misc/ ! |
D | fsl,qoriq-mc.txt | 3 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.8/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 <robh@kernel.org> 20 - enum: 21 - usb-a-connector 22 - usb-b-connector 23 - usb-c-connector 25 - items: [all …]
|