Lines Matching +full:bool +full:- +full:property
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * property.h - Unified device property interface.
37 bool device_property_present(struct device *dev, const char *propname);
53 bool fwnode_device_is_available(const struct fwnode_handle *fwnode);
54 bool fwnode_property_present(const struct fwnode_handle *fwnode,
98 bool fwnode_is_ancestor_of(struct fwnode_handle *ancestor, struct fwnode_handle *child);
132 static inline bool device_property_read_bool(struct device *dev, in device_property_read_bool()
188 static inline bool fwnode_property_read_bool(const struct fwnode_handle *fwnode, in fwnode_property_read_bool()
252 * struct software_node_ref_args - Reference property with additional arguments
266 .nargs = ARRAY_SIZE(((u64[]){ 0, ##__VA_ARGS__ })) - 1, \
271 * struct property_entry - "Built-in" device property representation.
272 * @name: Name of the property.
274 * @is_inline: True when the property value is stored inline.
276 * @pointer: Pointer to the property when it is not stored inline.
277 * @value: Value of the property when it is stored inline.
282 bool is_inline;
298 * crafted to avoid gcc-4.4.4's problems with initialization of anon unions
303 sizeof(((struct property_entry *)NULL)->value._elem_[0])
386 bool device_dma_supported(struct device *dev);
408 static inline bool fwnode_graph_is_endpoint(struct fwnode_handle *fwnode) in fwnode_graph_is_endpoint()
410 return fwnode_property_present(fwnode, "remote-endpoint"); in fwnode_graph_is_endpoint()
459 /* -------------------------------------------------------------------------- */
460 /* Software fwnode support - when HW description is incomplete or missing */
463 * struct software_node - Software node description
474 bool is_software_node(const struct fwnode_handle *fwnode);