Lines Matching refs:src_data
458 struct icc_node_data *src_data, *dst_data; in of_icc_get_by_index() local
496 src_data = of_icc_get_from_provider(&src_args); in of_icc_get_by_index()
498 if (IS_ERR(src_data)) { in of_icc_get_by_index()
499 dev_err_probe(dev, PTR_ERR(src_data), "error finding src node\n"); in of_icc_get_by_index()
500 return ERR_CAST(src_data); in of_icc_get_by_index()
507 kfree(src_data); in of_icc_get_by_index()
512 path = path_find(dev, src_data->node, dst_data->node); in of_icc_get_by_index()
519 if (src_data->tag && src_data->tag == dst_data->tag) in of_icc_get_by_index()
520 icc_set_tag(path, src_data->tag); in of_icc_get_by_index()
523 src_data->node->name, dst_data->node->name); in of_icc_get_by_index()
530 kfree(src_data); in of_icc_get_by_index()