Lines Matching refs:icc_node
25 struct icc_node *node;
31 static struct icc_node *exynos_icc_get_parent(struct device_node *np) in exynos_icc_get_parent()
35 struct icc_node *icc_node; in exynos_icc_get_parent() local
55 icc_node = icc_node_data->node; in exynos_icc_get_parent()
58 return icc_node; in exynos_icc_get_parent()
61 static int exynos_generic_icc_set(struct icc_node *src, struct icc_node *dst) in exynos_generic_icc_set()
85 static struct icc_node *exynos_generic_icc_xlate(struct of_phandle_args *spec, in exynos_generic_icc_xlate()
111 struct icc_node *icc_node, *icc_parent_node; in exynos_generic_icc_probe() local
132 icc_node = icc_node_create(pdev->id); in exynos_generic_icc_probe()
133 if (IS_ERR(icc_node)) in exynos_generic_icc_probe()
134 return PTR_ERR(icc_node); in exynos_generic_icc_probe()
136 priv->node = icc_node; in exynos_generic_icc_probe()
137 icc_node->name = devm_kasprintf(&pdev->dev, GFP_KERNEL, "%pOFn", in exynos_generic_icc_probe()
143 icc_node->data = priv; in exynos_generic_icc_probe()
144 icc_node_add(icc_node, provider); in exynos_generic_icc_probe()
160 ret = icc_link_create(icc_node, icc_parent_node->id); in exynos_generic_icc_probe()