Lines Matching full:ancestor
639 * fwnode_get_next_parent_dev - Find device of closest ancestor fwnode
642 * Given a firmware node (@fwnode), this function finds its closest ancestor
649 * Return: a pointer to the device of the @fwnode's closest ancestor.
713 * fwnode_is_ancestor_of - Test if @ancestor is ancestor of @child
714 * @ancestor: Firmware which is tested for being an ancestor
717 * A node is considered an ancestor of itself too.
719 * Return: true if @ancestor is an ancestor of @child. Otherwise, returns false.
721 bool fwnode_is_ancestor_of(const struct fwnode_handle *ancestor, const struct fwnode_handle *child) in fwnode_is_ancestor_of() argument
725 if (IS_ERR_OR_NULL(ancestor)) in fwnode_is_ancestor_of()
728 if (child == ancestor) in fwnode_is_ancestor_of()
732 if (parent == ancestor) { in fwnode_is_ancestor_of()