Searched refs:pd_data (Results 1 – 6 of 6) sorted by relevance
275 struct genpd_onecell_data *pd_data = data; in imx_scu_pd_xlate() local278 for (i = 0; i < pd_data->num_domains; i++) { in imx_scu_pd_xlate()281 sc_pd = to_imx_sc_pd(pd_data->domains[i]); in imx_scu_pd_xlate()347 struct genpd_onecell_data *pd_data; in imx_scu_init_pm_domains() local359 pd_data = devm_kzalloc(dev, sizeof(*pd_data), GFP_KERNEL); in imx_scu_init_pm_domains()360 if (!pd_data) in imx_scu_init_pm_domains()375 pd_data->domains = domains; in imx_scu_init_pm_domains()376 pd_data->num_domains = count; in imx_scu_init_pm_domains()377 pd_data->xlate = imx_scu_pd_xlate; in imx_scu_init_pm_domains()379 of_genpd_add_provider_onecell(dev->of_node, pd_data); in imx_scu_init_pm_domains()
150 struct genpd_onecell_data pd_data; member427 struct genpd_onecell_data *pd_data; in init_scp() local454 pd_data = &scp->pd_data; in init_scp()456 pd_data->domains = devm_kcalloc(&pdev->dev, in init_scp()457 num, sizeof(*pd_data->domains), GFP_KERNEL); in init_scp()458 if (!pd_data->domains) in init_scp()482 pd_data->num_domains = num; in init_scp()491 pd_data->domains[i] = genpd; in init_scp()521 struct genpd_onecell_data *pd_data; in mtk_register_power_domains() local546 pd_data = &scp->pd_data; in mtk_register_power_domains()[all …]
52 struct genpd_onecell_data pd_data; member456 return scpsys->pd_data.domains[id]; in scpsys_add_one_domain()480 if (!scpsys->pd_data.domains[id]) { in scpsys_add_subdomain()486 parent_pd = scpsys->pd_data.domains[id]; in scpsys_add_subdomain()546 for (i = scpsys->pd_data.num_domains - 1; i >= 0; i--) { in scpsys_domain_cleanup()547 genpd = scpsys->pd_data.domains[i]; in scpsys_domain_cleanup()598 scpsys->pd_data.domains = scpsys->domains; in scpsys_probe()599 scpsys->pd_data.num_domains = soc->num_domains; in scpsys_probe()636 ret = of_genpd_add_provider_onecell(np, &scpsys->pd_data); in scpsys_probe()
92 struct genpd_onecell_data pd_data; member496 pxa_unit->pd_data.num_domains++; in mmp2_pm_domain_init()502 pxa_unit->pd_data.num_domains++; in mmp2_pm_domain_init()509 pxa_unit->pd_data.num_domains++; in mmp2_pm_domain_init()512 pxa_unit->pd_data.domains = pxa_unit->pm_domains; in mmp2_pm_domain_init()513 of_genpd_add_provider_onecell(np, &pxa_unit->pd_data); in mmp2_pm_domain_init()
87 struct genpd_onecell_data pd_data; member354 struct genpd_onecell_data *data = &qmp->pd_data; in qmp_pd_add()402 struct genpd_onecell_data *data = &qmp->pd_data; in qmp_pd_remove()
258 struct generic_pm_domain_data *pd_data; in _genpd_reeval_performance_state() local272 pd_data = to_gpd_data(pdd); in _genpd_reeval_performance_state()274 if (pd_data->performance_state > state) in _genpd_reeval_performance_state()275 state = pd_data->performance_state; in _genpd_reeval_performance_state()