Lines Matching refs:fwnode_handle
35 struct fwnode_handle *dev_fwnode(struct device *dev);
53 bool fwnode_device_is_available(const struct fwnode_handle *fwnode);
54 bool fwnode_property_present(const struct fwnode_handle *fwnode,
56 int fwnode_property_read_u8_array(const struct fwnode_handle *fwnode,
59 int fwnode_property_read_u16_array(const struct fwnode_handle *fwnode,
62 int fwnode_property_read_u32_array(const struct fwnode_handle *fwnode,
65 int fwnode_property_read_u64_array(const struct fwnode_handle *fwnode,
68 int fwnode_property_read_string_array(const struct fwnode_handle *fwnode,
71 int fwnode_property_read_string(const struct fwnode_handle *fwnode,
73 int fwnode_property_match_string(const struct fwnode_handle *fwnode,
75 int fwnode_property_get_reference_args(const struct fwnode_handle *fwnode,
80 struct fwnode_handle *fwnode_find_reference(const struct fwnode_handle *fwnode,
84 const char *fwnode_get_name(const struct fwnode_handle *fwnode);
85 const char *fwnode_get_name_prefix(const struct fwnode_handle *fwnode);
87 struct fwnode_handle *fwnode_get_parent(const struct fwnode_handle *fwnode);
88 struct fwnode_handle *fwnode_get_next_parent(struct fwnode_handle *fwnode);
94 struct device *fwnode_get_next_parent_dev(struct fwnode_handle *fwnode);
95 unsigned int fwnode_count_parents(const struct fwnode_handle *fwn);
96 struct fwnode_handle *fwnode_get_nth_parent(struct fwnode_handle *fwn,
98 bool fwnode_is_ancestor_of(struct fwnode_handle *ancestor, struct fwnode_handle *child);
99 struct fwnode_handle *fwnode_get_next_child_node(
100 const struct fwnode_handle *fwnode, struct fwnode_handle *child);
101 struct fwnode_handle *fwnode_get_next_available_child_node(
102 const struct fwnode_handle *fwnode, struct fwnode_handle *child);
112 struct fwnode_handle *device_get_next_child_node(
113 struct device *dev, struct fwnode_handle *child);
119 struct fwnode_handle *fwnode_get_named_child_node(
120 const struct fwnode_handle *fwnode, const char *childname);
121 struct fwnode_handle *device_get_named_child_node(struct device *dev,
124 struct fwnode_handle *fwnode_handle_get(struct fwnode_handle *fwnode);
125 void fwnode_handle_put(struct fwnode_handle *fwnode);
127 int fwnode_irq_get(const struct fwnode_handle *fwnode, unsigned int index);
128 int fwnode_irq_get_byname(const struct fwnode_handle *fwnode, const char *name);
188 static inline bool fwnode_property_read_bool(const struct fwnode_handle *fwnode, in fwnode_property_read_bool()
194 static inline int fwnode_property_read_u8(const struct fwnode_handle *fwnode, in fwnode_property_read_u8()
200 static inline int fwnode_property_read_u16(const struct fwnode_handle *fwnode, in fwnode_property_read_u16()
206 static inline int fwnode_property_read_u32(const struct fwnode_handle *fwnode, in fwnode_property_read_u32()
212 static inline int fwnode_property_read_u64(const struct fwnode_handle *fwnode, in fwnode_property_read_u64()
218 static inline int fwnode_property_count_u8(const struct fwnode_handle *fwnode, in fwnode_property_count_u8()
224 static inline int fwnode_property_count_u16(const struct fwnode_handle *fwnode, in fwnode_property_count_u16()
230 static inline int fwnode_property_count_u32(const struct fwnode_handle *fwnode, in fwnode_property_count_u32()
236 static inline int fwnode_property_count_u64(const struct fwnode_handle *fwnode, in fwnode_property_count_u64()
243 fwnode_property_string_array_count(const struct fwnode_handle *fwnode, in fwnode_property_string_array_count()
393 int fwnode_get_phy_mode(struct fwnode_handle *fwnode);
395 void __iomem *fwnode_iomap(struct fwnode_handle *fwnode, int index);
397 struct fwnode_handle *fwnode_graph_get_next_endpoint(
398 const struct fwnode_handle *fwnode, struct fwnode_handle *prev);
399 struct fwnode_handle *
400 fwnode_graph_get_port_parent(const struct fwnode_handle *fwnode);
401 struct fwnode_handle *fwnode_graph_get_remote_port_parent(
402 const struct fwnode_handle *fwnode);
403 struct fwnode_handle *fwnode_graph_get_remote_port(
404 const struct fwnode_handle *fwnode);
405 struct fwnode_handle *fwnode_graph_get_remote_endpoint(
406 const struct fwnode_handle *fwnode);
408 static inline bool fwnode_graph_is_endpoint(struct fwnode_handle *fwnode) in fwnode_graph_is_endpoint()
427 struct fwnode_handle *
428 fwnode_graph_get_endpoint_by_id(const struct fwnode_handle *fwnode,
430 unsigned int fwnode_graph_get_endpoint_count(struct fwnode_handle *fwnode,
437 int fwnode_graph_parse_endpoint(const struct fwnode_handle *fwnode,
440 typedef void *(*devcon_match_fn_t)(struct fwnode_handle *fwnode, const char *id,
443 void *fwnode_connection_find_match(struct fwnode_handle *fwnode,
454 int fwnode_connection_find_matches(struct fwnode_handle *fwnode,
474 bool is_software_node(const struct fwnode_handle *fwnode);
476 to_software_node(const struct fwnode_handle *fwnode);
477 struct fwnode_handle *software_node_fwnode(const struct software_node *node);
492 struct fwnode_handle *
494 const struct fwnode_handle *parent);
495 void fwnode_remove_software_node(struct fwnode_handle *fwnode);