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

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * property.h - Unified device property interface.
42 bool device_property_present(const struct device *dev, const char *propname);
58 bool fwnode_property_present(const struct fwnode_handle *fwnode,
80 bool fwnode_device_is_available(const struct fwnode_handle *fwnode);
83 bool fwnode_device_is_compatible(const struct fwnode_handle *fwnode, const char *compat) in fwnode_device_is_compatible()
89 * device_is_compatible - match 'compatible' property of the device with a given string
91 * @compat: The string to match 'compatible' property with
95 static inline bool device_is_compatible(const struct device *dev, const char *compat) in device_is_compatible()
123 bool fwnode_is_ancestor_of(const struct fwnode_handle *ancestor, const struct fwnode_handle *child);
157 static inline bool device_property_read_bool(const struct device *dev, in device_property_read_bool()
213 static inline bool fwnode_property_read_bool(const struct fwnode_handle *fwnode, in fwnode_property_read_bool()
277 * struct software_node_ref_args - Reference property with additional arguments
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.
307 bool is_inline;
323 * crafted to avoid gcc-4.4.4's problems with initialization of anon unions
404 bool device_dma_supported(const struct device *dev);
425 static inline bool fwnode_graph_is_endpoint(const struct fwnode_handle *fwnode) in fwnode_graph_is_endpoint()
427 return fwnode_property_present(fwnode, "remote-endpoint"); in fwnode_graph_is_endpoint()
476 /* -------------------------------------------------------------------------- */
477 /* Software fwnode support - when HW description is incomplete or missing */
480 * struct software_node - Software node description
491 bool is_software_node(const struct fwnode_handle *fwnode);