Lines Matching +full:a +full:- +full:child +full:- +full:node +full:- +full:property

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * property.h - Unified device property interface.
89 * device_is_compatible - match 'compatible' property of the device with a given string
91 * @compat: The string to match 'compatible' property with
123 bool fwnode_is_ancestor_of(const struct fwnode_handle *ancestor, const struct fwnode_handle *child);
125 const struct fwnode_handle *fwnode, struct fwnode_handle *child);
127 const struct fwnode_handle *fwnode, struct fwnode_handle *child);
129 #define fwnode_for_each_child_node(fwnode, child) \ argument
130 for (child = fwnode_get_next_child_node(fwnode, NULL); child; \
131 child = fwnode_get_next_child_node(fwnode, child))
133 #define fwnode_for_each_available_child_node(fwnode, child) \ argument
134 for (child = fwnode_get_next_available_child_node(fwnode, NULL); child;\
135 child = fwnode_get_next_available_child_node(fwnode, child))
138 struct fwnode_handle *child);
140 #define device_for_each_child_node(dev, child) \ argument
141 for (child = device_get_next_child_node(dev, NULL); child; \
142 child = device_get_next_child_node(dev, child))
277 * struct software_node_ref_args - Reference property with additional arguments
278 * @node: Reference to a software node
283 const struct software_node *node; member
290 .node = _ref_, \
291 .nargs = ARRAY_SIZE(((u64[]){ 0, ##__VA_ARGS__ })) - 1, \
296 * struct property_entry - "Built-in" device property representation.
297 * @name: Name of the property.
299 * @is_inline: True when the property value is stored inline.
301 * @pointer: Pointer to the property when it is not stored inline.
302 * @value: Value of the property when it is stored inline.
323 * crafted to avoid gcc-4.4.4's problems with initialization of anon unions
427 return fwnode_property_present(fwnode, "remote-endpoint"); in fwnode_graph_is_endpoint()
450 #define fwnode_graph_for_each_endpoint(fwnode, child) \ argument
451 for (child = fwnode_graph_get_next_endpoint(fwnode, NULL); child; \
452 child = fwnode_graph_get_next_endpoint(fwnode, child))
476 /* -------------------------------------------------------------------------- */
477 /* Software fwnode support - when HW description is incomplete or missing */
480 * struct software_node - Software node description
481 * @name: Name of the software node
482 * @parent: Parent of the software node
494 struct fwnode_handle *software_node_fwnode(const struct software_node *node);
503 int software_node_register(const struct software_node *node);
504 void software_node_unregister(const struct software_node *node);
511 int device_add_software_node(struct device *dev, const struct software_node *node);