Lines Matching refs:fwnode_handle

21 struct fwnode_handle *dev_fwnode(struct device *dev)
46 bool fwnode_property_present(const struct fwnode_handle *fwnode,
229 static int fwnode_property_read_int_array(const struct fwnode_handle *fwnode,
265 int fwnode_property_read_u8_array(const struct fwnode_handle *fwnode,
291 int fwnode_property_read_u16_array(const struct fwnode_handle *fwnode,
317 int fwnode_property_read_u32_array(const struct fwnode_handle *fwnode,
343 int fwnode_property_read_u64_array(const struct fwnode_handle *fwnode,
369 int fwnode_property_read_string_array(const struct fwnode_handle *fwnode,
401 int fwnode_property_read_string(const struct fwnode_handle *fwnode,
425 int fwnode_property_match_string(const struct fwnode_handle *fwnode,
477 int fwnode_property_get_reference_args(const struct fwnode_handle *fwnode,
488 * fwnode_find_reference - Find named reference to a fwnode_handle
498 struct fwnode_handle *fwnode_find_reference(const struct fwnode_handle *fwnode,
521 struct fwnode_handle *fwnode = dev_fwnode(dev);
548 struct fwnode_handle *fwnode;
565 const char *fwnode_get_name(const struct fwnode_handle *fwnode)
578 const char *fwnode_get_name_prefix(const struct fwnode_handle *fwnode)
590 struct fwnode_handle *fwnode_get_parent(const struct fwnode_handle *fwnode)
607 struct fwnode_handle *fwnode_get_next_parent(struct fwnode_handle *fwnode)
609 struct fwnode_handle *parent = fwnode_get_parent(fwnode);
623 unsigned int fwnode_count_parents(const struct fwnode_handle *fwnode)
625 struct fwnode_handle *__fwnode;
649 struct fwnode_handle *fwnode_get_nth_parent(struct fwnode_handle *fwnode,
668 struct fwnode_handle *
669 fwnode_get_next_child_node(const struct fwnode_handle *fwnode,
670 struct fwnode_handle *child)
682 struct fwnode_handle *
683 fwnode_get_next_available_child_node(const struct fwnode_handle *fwnode,
684 struct fwnode_handle *child)
686 struct fwnode_handle *next_child = child;
707 struct fwnode_handle *device_get_next_child_node(struct device *dev,
708 struct fwnode_handle *child)
711 struct fwnode_handle *fwnode = NULL, *next;
736 struct fwnode_handle *
737 fwnode_get_named_child_node(const struct fwnode_handle *fwnode,
749 struct fwnode_handle *device_get_named_child_node(struct device *dev,
762 struct fwnode_handle *fwnode_handle_get(struct fwnode_handle *fwnode)
779 void fwnode_handle_put(struct fwnode_handle *fwnode)
789 bool fwnode_device_is_available(const struct fwnode_handle *fwnode)
801 struct fwnode_handle *child;
848 int fwnode_get_phy_mode(struct fwnode_handle *fwnode)
882 static void *fwnode_get_mac_addr(struct fwnode_handle *fwnode,
916 void *fwnode_get_mac_address(struct fwnode_handle *fwnode, char *addr, int alen)
952 int fwnode_irq_get(struct fwnode_handle *fwnode, unsigned int index)
977 struct fwnode_handle *
978 fwnode_graph_get_next_endpoint(const struct fwnode_handle *fwnode,
979 struct fwnode_handle *prev)
991 struct fwnode_handle *
992 fwnode_graph_get_port_parent(const struct fwnode_handle *endpoint)
994 struct fwnode_handle *port, *parent;
1011 struct fwnode_handle *
1012 fwnode_graph_get_remote_port_parent(const struct fwnode_handle *fwnode)
1014 struct fwnode_handle *endpoint, *parent;
1031 struct fwnode_handle *
1032 fwnode_graph_get_remote_port(const struct fwnode_handle *fwnode)
1044 struct fwnode_handle *
1045 fwnode_graph_get_remote_endpoint(const struct fwnode_handle *fwnode)
1053 * @fwnode: pointer to parent fwnode_handle containing graph port/endpoint
1060 struct fwnode_handle *
1061 fwnode_graph_get_remote_node(const struct fwnode_handle *fwnode, u32 port_id,
1064 struct fwnode_handle *endpoint = NULL;
1068 struct fwnode_handle *remote;
1091 * @fwnode: parent fwnode_handle containing the graph
1109 struct fwnode_handle *
1110 fwnode_graph_get_endpoint_by_id(const struct fwnode_handle *fwnode,
1113 struct fwnode_handle *ep = NULL, *best_ep = NULL;
1123 struct fwnode_handle *dev_node;
1166 * @fwnode: pointer to endpoint fwnode_handle
1173 int fwnode_graph_parse_endpoint(const struct fwnode_handle *fwnode,
1189 fwnode_graph_devcon_match(struct fwnode_handle *fwnode, const char *con_id,
1192 struct fwnode_handle *node;
1193 struct fwnode_handle *ep;
1214 fwnode_devcon_match(struct fwnode_handle *fwnode, const char *con_id,
1217 struct fwnode_handle *node;
1246 void *fwnode_connection_find_match(struct fwnode_handle *fwnode,