Lines Matching refs:sup_handle
1993 struct fwnode_handle *sup_handle) in __fw_devlink_relax_cycles() argument
2000 if (!sup_handle) in __fw_devlink_relax_cycles()
2007 if (sup_handle->flags & FWNODE_FLAG_VISITED) in __fw_devlink_relax_cycles()
2010 sup_handle->flags |= FWNODE_FLAG_VISITED; in __fw_devlink_relax_cycles()
2013 if (sup_handle == con_handle) { in __fw_devlink_relax_cycles()
2019 sup_dev = get_dev_from_fwnode(sup_handle); in __fw_devlink_relax_cycles()
2032 list_for_each_entry(link, &sup_handle->suppliers, c_hook) { in __fw_devlink_relax_cycles()
2049 par_dev = fwnode_get_next_parent_dev(sup_handle); in __fw_devlink_relax_cycles()
2052 pr_debug("%pfwf: cycle: child of %pfwf\n", sup_handle, in __fw_devlink_relax_cycles()
2071 pr_debug("%pfwf: cycle: depends on %pfwf\n", sup_handle, in __fw_devlink_relax_cycles()
2080 sup_handle->flags &= ~FWNODE_FLAG_VISITED; in __fw_devlink_relax_cycles()
2108 struct fwnode_handle *sup_handle, in fw_devlink_create_devlink() argument
2133 if (sup_handle->flags & FWNODE_FLAG_NEEDS_CHILD_BOUND_ON_ADD && in fw_devlink_create_devlink()
2134 fwnode_is_ancestor_of(sup_handle, con->fwnode)) in fw_devlink_create_devlink()
2143 if (__fw_devlink_relax_cycles(link->consumer, sup_handle)) { in fw_devlink_create_devlink()
2147 link->consumer, sup_handle); in fw_devlink_create_devlink()
2156 if (sup_handle->flags & FWNODE_FLAG_NOT_DEVICE) in fw_devlink_create_devlink()
2157 sup_dev = fwnode_get_next_parent_dev(sup_handle); in fw_devlink_create_devlink()
2159 sup_dev = get_dev_from_fwnode(sup_handle); in fw_devlink_create_devlink()
2168 sup_handle->flags & FWNODE_FLAG_INITIALIZED) { in fw_devlink_create_devlink()
2171 sup_handle); in fw_devlink_create_devlink()
2189 if (fwnode_init_without_drv(sup_handle) || in fw_devlink_create_devlink()
2190 fwnode_ancestor_init_without_drv(sup_handle)) { in fw_devlink_create_devlink()
2192 sup_handle); in fw_devlink_create_devlink()