Home
last modified time | relevance | path

Searched refs:pd_data (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/firmware/imx/
Dscu-pd.c279 struct genpd_onecell_data *pd_data = data; in imx_scu_pd_xlate() local
282 for (i = 0; i < pd_data->num_domains; i++) { in imx_scu_pd_xlate()
285 sc_pd = to_imx_sc_pd(pd_data->domains[i]); in imx_scu_pd_xlate()
351 struct genpd_onecell_data *pd_data; in imx_scu_init_pm_domains() local
363 pd_data = devm_kzalloc(dev, sizeof(*pd_data), GFP_KERNEL); in imx_scu_init_pm_domains()
364 if (!pd_data) in imx_scu_init_pm_domains()
379 pd_data->domains = domains; in imx_scu_init_pm_domains()
380 pd_data->num_domains = count; in imx_scu_init_pm_domains()
381 pd_data->xlate = imx_scu_pd_xlate; in imx_scu_init_pm_domains()
383 of_genpd_add_provider_onecell(dev->of_node, pd_data); in imx_scu_init_pm_domains()
/linux-6.1.9/drivers/soc/mediatek/
Dmtk-scpsys.c150 struct genpd_onecell_data pd_data; member
427 struct genpd_onecell_data *pd_data; in init_scp() local
454 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() local
546 pd_data = &scp->pd_data; in mtk_register_power_domains()
[all …]
Dmtk-pm-domains.c55 struct genpd_onecell_data pd_data; member
462 return scpsys->pd_data.domains[id]; in scpsys_add_one_domain()
486 if (!scpsys->pd_data.domains[id]) { in scpsys_add_subdomain()
492 parent_pd = scpsys->pd_data.domains[id]; in scpsys_add_subdomain()
552 for (i = scpsys->pd_data.num_domains - 1; i >= 0; i--) { in scpsys_domain_cleanup()
553 genpd = scpsys->pd_data.domains[i]; in scpsys_domain_cleanup()
616 scpsys->pd_data.domains = scpsys->domains; in scpsys_probe()
617 scpsys->pd_data.num_domains = soc->num_domains; in scpsys_probe()
654 ret = of_genpd_add_provider_onecell(np, &scpsys->pd_data); in scpsys_probe()
/linux-6.1.9/drivers/clk/mmp/
Dclk-of-mmp2.c89 struct genpd_onecell_data pd_data; member
493 pxa_unit->pd_data.num_domains++; in mmp2_pm_domain_init()
499 pxa_unit->pd_data.num_domains++; in mmp2_pm_domain_init()
506 pxa_unit->pd_data.num_domains++; in mmp2_pm_domain_init()
509 pxa_unit->pd_data.domains = pxa_unit->pm_domains; in mmp2_pm_domain_init()
510 of_genpd_add_provider_onecell(np, &pxa_unit->pd_data); in mmp2_pm_domain_init()
/linux-6.1.9/drivers/base/power/
Ddomain.c263 struct generic_pm_domain_data *pd_data; in _genpd_reeval_performance_state() local
277 pd_data = to_gpd_data(pdd); in _genpd_reeval_performance_state()
279 if (pd_data->performance_state > state) in _genpd_reeval_performance_state()
280 state = pd_data->performance_state; in _genpd_reeval_performance_state()