Lines Matching refs:fwnode
16 fwnode_graph_devcon_match(struct fwnode_handle *fwnode, const char *con_id, in fwnode_graph_devcon_match() argument
23 fwnode_graph_for_each_endpoint(fwnode, ep) { in fwnode_graph_devcon_match()
24 con.fwnode = fwnode_graph_get_remote_port_parent(ep); in fwnode_graph_devcon_match()
25 if (!fwnode_device_is_available(con.fwnode)) in fwnode_graph_devcon_match()
29 fwnode_handle_put(con.fwnode); in fwnode_graph_devcon_match()
39 fwnode_devcon_match(struct fwnode_handle *fwnode, const char *con_id, in fwnode_devcon_match() argument
47 con.fwnode = fwnode_find_reference(fwnode, con_id, i); in fwnode_devcon_match()
48 if (IS_ERR(con.fwnode)) in fwnode_devcon_match()
52 fwnode_handle_put(con.fwnode); in fwnode_devcon_match()
71 void *fwnode_connection_find_match(struct fwnode_handle *fwnode, in fwnode_connection_find_match() argument
77 if (!fwnode || !match) in fwnode_connection_find_match()
80 ret = fwnode_graph_devcon_match(fwnode, con_id, data, match); in fwnode_connection_find_match()
84 return fwnode_devcon_match(fwnode, con_id, data, match); in fwnode_connection_find_match()
102 struct fwnode_handle *fwnode = dev_fwnode(dev); in device_connection_find_match() local
111 ret = fwnode_connection_find_match(fwnode, con_id, data, match); in device_connection_find_match()
161 dev = bus_find_device_by_fwnode(bus, con->fwnode); in device_connection_fwnode_match()
176 if (con->fwnode) in generic_match()