Lines Matching +full:bool +full:- +full:property

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * property.h - Unified device property interface.
36 bool device_property_present(struct device *dev, const char *propname);
52 bool fwnode_device_is_available(const struct fwnode_handle *fwnode);
53 bool fwnode_property_present(const struct fwnode_handle *fwnode,
92 bool fwnode_is_ancestor_of(struct fwnode_handle *test_ancestor,
126 static inline bool device_property_read_bool(struct device *dev, in device_property_read_bool()
182 static inline bool fwnode_property_read_bool(const struct fwnode_handle *fwnode, in fwnode_property_read_bool()
246 * struct software_node_ref_args - Reference property with additional arguments
260 .nargs = ARRAY_SIZE(((u64[]){ 0, ##__VA_ARGS__ })) - 1, \
265 * struct property_entry - "Built-in" device property representation.
266 * @name: Name of the property.
268 * @is_inline: True when the property value is stored inline.
270 * @pointer: Pointer to the property when it is not stored inline.
271 * @value: Value of the property when it is stored inline.
276 bool is_inline;
292 * crafted to avoid gcc-4.4.4's problems with initialization of anon unions
297 sizeof(((struct property_entry *)NULL)->value._elem_[0])
384 bool device_dma_supported(struct device *dev);
411 static inline bool fwnode_graph_is_endpoint(struct fwnode_handle *fwnode) in fwnode_graph_is_endpoint()
413 return fwnode_property_present(fwnode, "remote-endpoint"); in fwnode_graph_is_endpoint()
454 /* -------------------------------------------------------------------------- */
455 /* Software fwnode support - when HW description is incomplete or missing */
458 * struct software_node - Software node description
469 bool is_software_node(const struct fwnode_handle *fwnode);