Lines Matching refs:parent
630 struct fwnode_handle *parent = fwnode_get_parent(fwnode); in fwnode_get_next_parent() local
634 return parent; in fwnode_get_next_parent()
653 struct fwnode_handle *parent; in fwnode_get_next_parent_dev() local
656 fwnode_for_each_parent_node(fwnode, parent) { in fwnode_get_next_parent_dev()
657 dev = get_dev_from_fwnode(parent); in fwnode_get_next_parent_dev()
659 fwnode_handle_put(parent); in fwnode_get_next_parent_dev()
674 struct fwnode_handle *parent; in fwnode_count_parents() local
677 fwnode_for_each_parent_node(fwnode, parent) in fwnode_count_parents()
699 struct fwnode_handle *parent; in fwnode_get_nth_parent() local
704 fwnode_for_each_parent_node(fwnode, parent) { in fwnode_get_nth_parent()
706 return parent; in fwnode_get_nth_parent()
723 struct fwnode_handle *parent; in fwnode_is_ancestor_of() local
731 fwnode_for_each_parent_node(child, parent) { in fwnode_is_ancestor_of()
732 if (parent == ancestor) { in fwnode_is_ancestor_of()
733 fwnode_handle_put(parent); in fwnode_is_ancestor_of()
1050 const struct fwnode_handle *parent; in fwnode_graph_get_next_endpoint() local
1059 parent = port_parent; in fwnode_graph_get_next_endpoint()
1061 parent = fwnode; in fwnode_graph_get_next_endpoint()
1063 if (IS_ERR_OR_NULL(parent)) in fwnode_graph_get_next_endpoint()
1066 ep = fwnode_call_ptr_op(parent, graph_get_next_endpoint, prev); in fwnode_graph_get_next_endpoint()
1070 ep = fwnode_graph_get_next_endpoint(parent->secondary, NULL); in fwnode_graph_get_next_endpoint()
1090 struct fwnode_handle *port, *parent; in fwnode_graph_get_port_parent() local
1093 parent = fwnode_call_ptr_op(port, graph_get_port_parent); in fwnode_graph_get_port_parent()
1097 return parent; in fwnode_graph_get_port_parent()
1113 struct fwnode_handle *endpoint, *parent; in fwnode_graph_get_remote_port_parent() local
1116 parent = fwnode_graph_get_port_parent(endpoint); in fwnode_graph_get_remote_port_parent()
1120 return parent; in fwnode_graph_get_remote_port_parent()