Home
last modified time | relevance | path

Searched +full:a +full:- +full:child +full:- +full:node +full:- +full:property (Results 1 – 25 of 666) sorted by relevance

12345678910>>...27

/kernel/linux/linux-4.19/scripts/dtc/
Dlivetree.c12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * You should have received a copy of the GNU General Public License
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
33 if (streq(new->label, label)) { in add_label()
34 new->deleted = 0; in add_label()
40 new->label = label; in add_label()
41 new->next = *labels; in add_label()
50 label->deleted = 1; in delete_labels()
53 struct property *build_property(char *name, struct data val) in build_property()
55 struct property *new = xmalloc(sizeof(*new)); in build_property()
[all …]
Dchecks.c12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * You should have received a copy of the GNU General Public License
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
26 fprintf(stderr, "=== %s: ", (c)->name); \
43 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node);
76 struct node *node, in check_msg() argument
77 struct property *prop, in check_msg()
83 if ((c->warn && (quiet < 1)) in check_msg()
84 || (c->error && (quiet < 2))) { in check_msg()
86 strcmp(dti->outname, "-") ? dti->outname : "<stdout>", in check_msg()
[all …]
/kernel/linux/linux-5.10/scripts/dtc/
Dlivetree.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 if (streq(new->label, label)) { in add_label()
20 new->deleted = 0; in add_label()
26 new->label = label; in add_label()
27 new->next = *labels; in add_label()
36 label->deleted = 1; in delete_labels()
39 struct property *build_property(char *name, struct data val, in build_property()
42 struct property *new = xmalloc(sizeof(*new)); in build_property()
46 new->name = name; in build_property()
47 new->val = val; in build_property()
[all …]
Dchecks.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 fprintf(stderr, "=== %s: ", (c)->name); \
29 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node);
62 struct node *node, in check_msg() argument
63 struct property *prop, in check_msg()
71 if (!(c->warn && (quiet < 1)) && !(c->error && (quiet < 2))) in check_msg()
74 if (prop && prop->srcpos) in check_msg()
75 pos = prop->srcpos; in check_msg()
76 else if (node && node->srcpos) in check_msg()
77 pos = node->srcpos; in check_msg()
[all …]
/kernel/linux/linux-5.10/drivers/base/
Dproperty.c1 // 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/
Dproperty.c1 // 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/
Dbase.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Copyright (C) 1996-2005 Paul Mackerras.
52 /* use when traversing tree through the child, sibling,
65 node_name = kbasename(np->full_name); in of_node_name_eq()
66 len = strchrnul(node_name, '@') - node_name; in of_node_name_eq()
77 return strncmp(kbasename(np->full_name), prefix, strlen(prefix)) == 0; in of_node_name_prefix()
86 if (np->parent) in of_n_addr_cells()
87 np = np->parent; in of_n_addr_cells()
88 if (!of_property_read_u32(np, "#address-cells", &cells)) in of_n_addr_cells()
90 } while (np->parent); in of_n_addr_cells()
[all …]
Dresolver.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2012 Pantelis Antoniou <panto@antoniou-consulting.com>
24 struct device_node *node; in live_tree_max_phandle() local
30 for_each_of_allnodes(node) { in live_tree_max_phandle()
31 if (node->phandle != OF_PHANDLE_ILLEGAL && in live_tree_max_phandle()
32 node->phandle > phandle) in live_tree_max_phandle()
33 phandle = node->phandle; in live_tree_max_phandle()
43 struct device_node *child; in adjust_overlay_phandles() local
44 struct property *prop; in adjust_overlay_phandles()
47 /* adjust node's phandle in node */ in adjust_overlay_phandles()
[all …]
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.
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
40 * property does not exist or its length does not match a multiple of elem_size
[all …]
/kernel/linux/linux-5.10/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.
33 * of_graph_is_present() - check graph's presence
34 * @node: pointer to device_node containing graph port
36 * Return: True if @node has a port or ports (with a port) sub-node,
39 bool of_graph_is_present(const struct device_node *node) in of_graph_is_present() argument
43 ports = of_get_child_by_name(node, "ports"); in of_graph_is_present()
45 node = ports; in of_graph_is_present()
[all …]
Dbase.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Copyright (C) 1996-2005 Paul Mackerras.
53 /* use when traversing tree through the child, sibling,
66 node_name = kbasename(np->full_name); in of_node_name_eq()
67 len = strchrnul(node_name, '@') - node_name; in of_node_name_eq()
78 return strncmp(kbasename(np->full_name), prefix, strlen(prefix)) == 0; in of_node_name_prefix()
93 for (; np; np = np->parent) in of_bus_n_addr_cells()
94 if (!of_property_read_u32(np, "#address-cells", &cells)) in of_bus_n_addr_cells()
97 /* No #address-cells property for the root node */ in of_bus_n_addr_cells()
103 if (np->parent) in of_n_addr_cells()
[all …]
Dresolver.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2012 Pantelis Antoniou <panto@antoniou-consulting.com>
24 struct device_node *node; in live_tree_max_phandle() local
30 for_each_of_allnodes(node) { in live_tree_max_phandle()
31 if (node->phandle != OF_PHANDLE_ILLEGAL && in live_tree_max_phandle()
32 node->phandle > phandle) in live_tree_max_phandle()
33 phandle = node->phandle; in live_tree_max_phandle()
43 struct device_node *child; in adjust_overlay_phandles() local
44 struct property *prop; in adjust_overlay_phandles()
47 /* adjust node's phandle in node */ in adjust_overlay_phandles()
[all …]
Dunittest.c1 // SPDX-License-Identifier: GPL-2.0
6 #define pr_fmt(fmt) "### dt-test ### " fmt
10 #include <linux/dma-direct.h> /* to test phys_to_dma/dma_to_phys */
27 #include <linux/i2c-mux.h>
52 * Expected message may have a message level other than KERN_INFO.
70 np = of_find_node_by_path("/testcase-data"); in of_unittest_find_node_by_name()
72 unittest(np && !strcmp("/testcase-data", name), in of_unittest_find_node_by_name()
73 "find /testcase-data failed\n"); in of_unittest_find_node_by_name()
78 np = of_find_node_by_path("/testcase-data/"); in of_unittest_find_node_by_name()
79 unittest(!np, "trailing '/' on /testcase-data/ should fail\n"); in of_unittest_find_node_by_name()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dsamsung-pinctrl.txt3 Samsung's ARM based SoC's integrates a GPIO and Pin mux/config hardware
6 on-chip controllers onto these pads.
9 - compatible: should be one of the following.
10 - "samsung,s3c2412-pinctrl": for S3C2412-compatible pin-controller,
11 - "samsung,s3c2416-pinctrl": for S3C2416-compatible pin-controller,
12 - "samsung,s3c2440-pinctrl": for S3C2440-compatible pin-controller,
13 - "samsung,s3c2450-pinctrl": for S3C2450-compatible pin-controller,
14 - "samsung,s3c64xx-pinctrl": for S3C64xx-compatible pin-controller,
15 - "samsung,s5pv210-pinctrl": for S5PV210-compatible pin-controller,
16 - "samsung,exynos3250-pinctrl": for Exynos3250 compatible pin-controller.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/pinctrl/
Dsamsung-pinctrl.txt3 Samsung's ARM based SoC's integrates a GPIO and Pin mux/config hardware
6 on-chip controllers onto these pads.
9 - compatible: should be one of the following.
10 - "samsung,s3c2412-pinctrl": for S3C2412-compatible pin-controller,
11 - "samsung,s3c2416-pinctrl": for S3C2416-compatible pin-controller,
12 - "samsung,s3c2440-pinctrl": for S3C2440-compatible pin-controller,
13 - "samsung,s3c2450-pinctrl": for S3C2450-compatible pin-controller,
14 - "samsung,s3c64xx-pinctrl": for S3C64xx-compatible pin-controller,
15 - "samsung,s5pv210-pinctrl": for S5PV210-compatible pin-controller,
16 - "samsung,exynos3250-pinctrl": for Exynos3250 compatible pin-controller.
[all …]
/kernel/linux/linux-4.19/drivers/acpi/
Dproperty.c27 /* ACPI _DSD device properties GUID: daffd814-6eba-4d8c-8a91-bc9bbf4aa301 */
31 /* ACPI _DSD data subnodes GUID: dbb8e3e6-5886-4ba6-8795-1319f52a966b */
56 dn->name = link->package.elements[0].string.pointer; in acpi_nondev_subnode_extract()
57 dn->fwnode.ops = &acpi_data_fwnode_ops; in acpi_nondev_subnode_extract()
58 dn->parent = parent; in acpi_nondev_subnode_extract()
59 INIT_LIST_HEAD(&dn->data.subnodes); in acpi_nondev_subnode_extract()
61 result = acpi_extract_properties(desc, &dn->data); in acpi_nondev_subnode_extract()
69 * namespace node (device) containing the object that has in acpi_nondev_subnode_extract()
75 && acpi_enumerate_nondev_subnodes(scope, desc, &dn->data, in acpi_nondev_subnode_extract()
76 &dn->fwnode)) in acpi_nondev_subnode_extract()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dproperty.c1 // SPDX-License-Identifier: GPL-2.0-only
28 * not defined without a warning. For instance if any of the properties
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 */
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/crypto/
Dfsl-sec4.txt3 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/crypto/
Dfsl-sec4.txt3 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/reserved-memory/
Dreserved-memory.txt3 Reserved memory is specified as a node under the /reserved-memory node.
5 one can create child nodes describing particular reserved (excluded from
12 /reserved-memory node
13 ---------------------
14 #address-cells, #size-cells (required) - standard definition
15 - Should use the same values as the root node
16 ranges (required) - standard definition
17 - Should be empty
19 /reserved-memory/ child nodes
20 -----------------------------
[all …]
/kernel/linux/linux-5.10/include/linux/
Dof.h1 /* 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 */
60 struct device_node *child; member
94 struct device_node *node; member
99 struct property *prop;
[all …]
/kernel/linux/linux-4.19/include/linux/
Dof.h1 /* 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 */
61 struct device_node *child; member
96 struct device_node *node; member
101 struct property *prop;
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/reserved-memory/
Dreserved-memory.txt3 Reserved memory is specified as a node under the /reserved-memory node.
5 one can create child nodes describing particular reserved (excluded from
12 /reserved-memory node
13 ---------------------
14 #address-cells, #size-cells (required) - standard definition
15 - Should use the same values as the root node
16 ranges (required) - standard definition
17 - Should be empty
19 /reserved-memory/ child nodes
20 -----------------------------
[all …]
/kernel/linux/linux-5.10/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
8 # $id is a unique identifier based on the filename. There may or may not be a
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.
26 begin with a tab character.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/slimbus/
Dbus.txt3 SLIMbus is a 2-wire bus, and is used to communicate with peripheral
4 components like audio-codec.
6 Required property for SLIMbus controller node:
7 - compatible - name of SLIMbus controller
9 Child nodes:
10 Every SLIMbus controller node can contain zero or more child nodes
15 If child node is not present and it is instantiated after device
18 In some cases it may be necessary to describe non-probeable device
19 details such as non-standard ways of powering up a device. In
20 such cases, child nodes for those devices will be present as
[all …]

12345678910>>...27