Lines Matching refs:con_dev
2163 struct device *con_dev; in __fw_devlink_link_to_consumers() local
2167 con_dev = get_dev_from_fwnode(link->consumer); in __fw_devlink_link_to_consumers()
2178 if (!con_dev) { in __fw_devlink_link_to_consumers()
2179 con_dev = fwnode_get_next_parent_dev(link->consumer); in __fw_devlink_link_to_consumers()
2186 if (con_dev && in __fw_devlink_link_to_consumers()
2187 fwnode_is_ancestor_of(con_dev->fwnode, fwnode)) { in __fw_devlink_link_to_consumers()
2188 put_device(con_dev); in __fw_devlink_link_to_consumers()
2189 con_dev = NULL; in __fw_devlink_link_to_consumers()
2195 if (!con_dev) in __fw_devlink_link_to_consumers()
2198 ret = fw_devlink_create_devlink(con_dev, fwnode, link); in __fw_devlink_link_to_consumers()
2199 put_device(con_dev); in __fw_devlink_link_to_consumers()