Lines Matching refs:fwnode_handle
34 struct fwnode_handle *dev_fwnode(struct device *dev);
52 bool fwnode_device_is_available(const struct fwnode_handle *fwnode);
53 bool fwnode_property_present(const struct fwnode_handle *fwnode,
55 int fwnode_property_read_u8_array(const struct fwnode_handle *fwnode,
58 int fwnode_property_read_u16_array(const struct fwnode_handle *fwnode,
61 int fwnode_property_read_u32_array(const struct fwnode_handle *fwnode,
64 int fwnode_property_read_u64_array(const struct fwnode_handle *fwnode,
67 int fwnode_property_read_string_array(const struct fwnode_handle *fwnode,
70 int fwnode_property_read_string(const struct fwnode_handle *fwnode,
72 int fwnode_property_match_string(const struct fwnode_handle *fwnode,
74 int fwnode_property_get_reference_args(const struct fwnode_handle *fwnode,
79 struct fwnode_handle *fwnode_find_reference(const struct fwnode_handle *fwnode,
83 const char *fwnode_get_name(const struct fwnode_handle *fwnode);
84 const char *fwnode_get_name_prefix(const struct fwnode_handle *fwnode);
85 struct fwnode_handle *fwnode_get_parent(const struct fwnode_handle *fwnode);
86 struct fwnode_handle *fwnode_get_next_parent(
87 struct fwnode_handle *fwnode);
88 struct device *fwnode_get_next_parent_dev(struct fwnode_handle *fwnode);
89 unsigned int fwnode_count_parents(const struct fwnode_handle *fwn);
90 struct fwnode_handle *fwnode_get_nth_parent(struct fwnode_handle *fwn,
92 bool fwnode_is_ancestor_of(struct fwnode_handle *test_ancestor,
93 struct fwnode_handle *test_child);
94 struct fwnode_handle *fwnode_get_next_child_node(
95 const struct fwnode_handle *fwnode, struct fwnode_handle *child);
96 struct fwnode_handle *fwnode_get_next_available_child_node(
97 const struct fwnode_handle *fwnode, struct fwnode_handle *child);
107 struct fwnode_handle *device_get_next_child_node(
108 struct device *dev, struct fwnode_handle *child);
114 struct fwnode_handle *fwnode_get_named_child_node(
115 const struct fwnode_handle *fwnode, const char *childname);
116 struct fwnode_handle *device_get_named_child_node(struct device *dev,
119 struct fwnode_handle *fwnode_handle_get(struct fwnode_handle *fwnode);
120 void fwnode_handle_put(struct fwnode_handle *fwnode);
122 int fwnode_irq_get(struct fwnode_handle *fwnode, unsigned int index);
182 static inline bool fwnode_property_read_bool(const struct fwnode_handle *fwnode, in fwnode_property_read_bool()
188 static inline int fwnode_property_read_u8(const struct fwnode_handle *fwnode, in fwnode_property_read_u8()
194 static inline int fwnode_property_read_u16(const struct fwnode_handle *fwnode, in fwnode_property_read_u16()
200 static inline int fwnode_property_read_u32(const struct fwnode_handle *fwnode, in fwnode_property_read_u32()
206 static inline int fwnode_property_read_u64(const struct fwnode_handle *fwnode, in fwnode_property_read_u64()
212 static inline int fwnode_property_count_u8(const struct fwnode_handle *fwnode, in fwnode_property_count_u8()
218 static inline int fwnode_property_count_u16(const struct fwnode_handle *fwnode, in fwnode_property_count_u16()
224 static inline int fwnode_property_count_u32(const struct fwnode_handle *fwnode, in fwnode_property_count_u32()
230 static inline int fwnode_property_count_u64(const struct fwnode_handle *fwnode, in fwnode_property_count_u64()
237 fwnode_property_string_array_count(const struct fwnode_handle *fwnode, in fwnode_property_string_array_count()
391 int fwnode_get_phy_mode(struct fwnode_handle *fwnode);
392 void *fwnode_get_mac_address(struct fwnode_handle *fwnode,
394 struct fwnode_handle *fwnode_graph_get_next_endpoint(
395 const struct fwnode_handle *fwnode, struct fwnode_handle *prev);
396 struct fwnode_handle *
397 fwnode_graph_get_port_parent(const struct fwnode_handle *fwnode);
398 struct fwnode_handle *fwnode_graph_get_remote_port_parent(
399 const struct fwnode_handle *fwnode);
400 struct fwnode_handle *fwnode_graph_get_remote_port(
401 const struct fwnode_handle *fwnode);
402 struct fwnode_handle *fwnode_graph_get_remote_endpoint(
403 const struct fwnode_handle *fwnode);
404 struct fwnode_handle *
405 fwnode_graph_get_remote_node(const struct fwnode_handle *fwnode, u32 port,
408 static inline bool fwnode_graph_is_endpoint(struct fwnode_handle *fwnode) in fwnode_graph_is_endpoint()
426 struct fwnode_handle *
427 fwnode_graph_get_endpoint_by_id(const struct fwnode_handle *fwnode,
434 int fwnode_graph_parse_endpoint(const struct fwnode_handle *fwnode,
437 typedef void *(*devcon_match_fn_t)(struct fwnode_handle *fwnode, const char *id,
440 void *fwnode_connection_find_match(struct fwnode_handle *fwnode,
466 bool is_software_node(const struct fwnode_handle *fwnode);
468 to_software_node(const struct fwnode_handle *fwnode);
469 struct fwnode_handle *software_node_fwnode(const struct software_node *node);
486 struct fwnode_handle *
488 const struct fwnode_handle *parent);
489 void fwnode_remove_software_node(struct fwnode_handle *fwnode);