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(const struct of_phandle_args *spec, in exynos_generic_icc_xlate()
109 struct icc_node *icc_node, *icc_parent_node; in exynos_generic_icc_probe() local
130 icc_node = icc_node_create(pdev->id); in exynos_generic_icc_probe()
131 if (IS_ERR(icc_node)) in exynos_generic_icc_probe()
132 return PTR_ERR(icc_node); in exynos_generic_icc_probe()
134 priv->node = icc_node; in exynos_generic_icc_probe()
135 icc_node->name = devm_kasprintf(&pdev->dev, GFP_KERNEL, "%pOFn", in exynos_generic_icc_probe()
141 icc_node->data = priv; in exynos_generic_icc_probe()
142 icc_node_add(icc_node, provider); in exynos_generic_icc_probe()
158 ret = icc_link_create(icc_node, icc_parent_node->id); in exynos_generic_icc_probe()