Lines Matching refs:fwnode_handle
20 struct fwnode_handle *__dev_fwnode(struct device *dev)
27 const struct fwnode_handle *__dev_fwnode_const(const struct device *dev)
56 bool fwnode_property_present(const struct fwnode_handle *fwnode,
256 static int fwnode_property_read_int_array(const struct fwnode_handle *fwnode,
296 int fwnode_property_read_u8_array(const struct fwnode_handle *fwnode,
325 int fwnode_property_read_u16_array(const struct fwnode_handle *fwnode,
354 int fwnode_property_read_u32_array(const struct fwnode_handle *fwnode,
383 int fwnode_property_read_u64_array(const struct fwnode_handle *fwnode,
412 int fwnode_property_read_string_array(const struct fwnode_handle *fwnode,
446 int fwnode_property_read_string(const struct fwnode_handle *fwnode,
470 int fwnode_property_match_string(const struct fwnode_handle *fwnode,
523 int fwnode_property_get_reference_args(const struct fwnode_handle *fwnode,
547 * fwnode_find_reference - Find named reference to a fwnode_handle
560 struct fwnode_handle *fwnode_find_reference(const struct fwnode_handle *fwnode,
579 const char *fwnode_get_name(const struct fwnode_handle *fwnode)
592 const char *fwnode_get_name_prefix(const struct fwnode_handle *fwnode)
607 struct fwnode_handle *fwnode_get_parent(const struct fwnode_handle *fwnode)
628 struct fwnode_handle *fwnode_get_next_parent(struct fwnode_handle *fwnode)
630 struct fwnode_handle *parent = fwnode_get_parent(fwnode);
651 struct device *fwnode_get_next_parent_dev(const struct fwnode_handle *fwnode)
653 struct fwnode_handle *parent;
672 unsigned int fwnode_count_parents(const struct fwnode_handle *fwnode)
674 struct fwnode_handle *parent;
696 struct fwnode_handle *fwnode_get_nth_parent(struct fwnode_handle *fwnode,
699 struct fwnode_handle *parent;
721 bool fwnode_is_ancestor_of(const struct fwnode_handle *ancestor, const struct fwnode_handle *child)
723 struct fwnode_handle *parent;
749 struct fwnode_handle *
750 fwnode_get_next_child_node(const struct fwnode_handle *fwnode,
751 struct fwnode_handle *child)
766 struct fwnode_handle *
767 fwnode_get_next_available_child_node(const struct fwnode_handle *fwnode,
768 struct fwnode_handle *child)
770 struct fwnode_handle *next_child = child;
794 struct fwnode_handle *device_get_next_child_node(const struct device *dev,
795 struct fwnode_handle *child)
797 const struct fwnode_handle *fwnode = dev_fwnode(dev);
798 struct fwnode_handle *next;
821 struct fwnode_handle *
822 fwnode_get_named_child_node(const struct fwnode_handle *fwnode,
837 struct fwnode_handle *device_get_named_child_node(const struct device *dev,
853 struct fwnode_handle *fwnode_handle_get(struct fwnode_handle *fwnode)
870 void fwnode_handle_put(struct fwnode_handle *fwnode)
885 bool fwnode_device_is_available(const struct fwnode_handle *fwnode)
905 struct fwnode_handle *child;
938 int fwnode_get_phy_mode(const struct fwnode_handle *fwnode)
979 void __iomem *fwnode_iomap(struct fwnode_handle *fwnode, int index)
992 int fwnode_irq_get(const struct fwnode_handle *fwnode, unsigned int index)
1018 int fwnode_irq_get_byname(const struct fwnode_handle *fwnode, const char *name)
1045 struct fwnode_handle *
1046 fwnode_graph_get_next_endpoint(const struct fwnode_handle *fwnode,
1047 struct fwnode_handle *prev)
1049 struct fwnode_handle *ep, *port_parent = NULL;
1050 const struct fwnode_handle *parent;
1087 struct fwnode_handle *
1088 fwnode_graph_get_port_parent(const struct fwnode_handle *endpoint)
1090 struct fwnode_handle *port, *parent;
1110 struct fwnode_handle *
1111 fwnode_graph_get_remote_port_parent(const struct fwnode_handle *fwnode)
1113 struct fwnode_handle *endpoint, *parent;
1133 struct fwnode_handle *
1134 fwnode_graph_get_remote_port(const struct fwnode_handle *fwnode)
1149 struct fwnode_handle *
1150 fwnode_graph_get_remote_endpoint(const struct fwnode_handle *fwnode)
1156 static bool fwnode_graph_remote_available(struct fwnode_handle *ep)
1158 struct fwnode_handle *dev_node;
1170 * @fwnode: parent fwnode_handle containing the graph
1188 struct fwnode_handle *
1189 fwnode_graph_get_endpoint_by_id(const struct fwnode_handle *fwnode,
1192 struct fwnode_handle *ep, *best_ep = NULL;
1244 unsigned int fwnode_graph_get_endpoint_count(const struct fwnode_handle *fwnode,
1247 struct fwnode_handle *ep;
1262 * @fwnode: pointer to endpoint fwnode_handle
1269 int fwnode_graph_parse_endpoint(const struct fwnode_handle *fwnode,
1284 static unsigned int fwnode_graph_devcon_matches(const struct fwnode_handle *fwnode,
1290 struct fwnode_handle *node;
1291 struct fwnode_handle *ep;
1318 static unsigned int fwnode_devcon_matches(const struct fwnode_handle *fwnode,
1324 struct fwnode_handle *node;
1360 void *fwnode_connection_find_match(const struct fwnode_handle *fwnode,
1398 int fwnode_connection_find_matches(const struct fwnode_handle *fwnode,