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,
123 static inline bool device_property_read_bool(struct device *dev, in device_property_read_bool()
179 static inline bool fwnode_property_read_bool(const struct fwnode_handle *fwnode, in fwnode_property_read_bool()
243 * struct software_node_ref_args - Reference property with additional arguments
255 * struct property_entry - "Built-in" device property representation.
256 * @name: Name of the property.
258 * @is_inline: True when the property value is stored inline.
260 * @pointer: Pointer to the property when it is not stored inline.
261 * @value: Value of the property when it is stored inline.
266 bool is_inline;
282 * crafted to avoid gcc-4.4.4's problems with initialization of anon unions
287 sizeof(((struct property_entry *)NULL)->value._elem_[0])
364 .nargs = ARRAY_SIZE(((u64[]){ 0, ##__VA_ARGS__ })) - 1, \
378 bool device_dma_supported(struct device *dev);
405 static inline bool fwnode_graph_is_endpoint(struct fwnode_handle *fwnode) in fwnode_graph_is_endpoint()
407 return fwnode_property_present(fwnode, "remote-endpoint"); in fwnode_graph_is_endpoint()
448 /* -------------------------------------------------------------------------- */
449 /* Software fwnode support - when HW description is incomplete or missing */
452 * struct software_node - Software node description
463 bool is_software_node(const struct fwnode_handle *fwnode);