Searched refs:genpdspec (Results 1 – 5 of 5) sorted by relevance
88 struct of_phandle_args *genpdspec, in ti_sci_pd_xlate() argument92 unsigned int idx = genpdspec->args[0]; in ti_sci_pd_xlate()94 if (genpdspec->args_count != 1 && genpdspec->args_count != 2) in ti_sci_pd_xlate()106 genpdspec->args[1]; in ti_sci_pd_xlate()
213 (struct of_phandle_args *genpdspec, void *data) in zynqmp_gpd_xlate() argument216 unsigned int i, idx = genpdspec->args[0]; in zynqmp_gpd_xlate()221 if (genpdspec->args_count != 1) in zynqmp_gpd_xlate()
138 struct of_phandle_args genpdspec = { .np = pd_node }; in exynos5_clk_register_subcmu() local148 of_genpd_add_device(&genpdspec, &pdev->dev); in exynos5_clk_register_subcmu()
2231 struct of_phandle_args *genpdspec, in genpd_xlate_simple() argument2248 struct of_phandle_args *genpdspec, in genpd_xlate_onecell() argument2252 unsigned int idx = genpdspec->args[0]; in genpd_xlate_onecell()2254 if (genpdspec->args_count != 1) in genpd_xlate_onecell()2491 struct of_phandle_args *genpdspec) in genpd_get_from_provider() argument2496 if (!genpdspec) in genpd_get_from_provider()2503 if (provider->node == genpdspec->np) in genpd_get_from_provider()2504 genpd = provider->xlate(genpdspec, provider->data); in genpd_get_from_provider()2522 int of_genpd_add_device(struct of_phandle_args *genpdspec, struct device *dev) in of_genpd_add_device() argument2532 genpd = genpd_get_from_provider(genpdspec); in of_genpd_add_device()
660 struct of_phandle_args genpdspec = { in imx_clk_scu_attach_pd() local670 return of_genpd_add_device(&genpdspec, dev); in imx_clk_scu_attach_pd()