Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/firmware/imx/
Dscu-pd.c237 struct genpd_onecell_data *pd_data = data; in imx_scu_pd_xlate() local
240 for (i = 0; i < pd_data->num_domains; i++) { in imx_scu_pd_xlate()
243 sc_pd = to_imx_sc_pd(pd_data->domains[i]); in imx_scu_pd_xlate()
304 struct genpd_onecell_data *pd_data; in imx_scu_init_pm_domains() local
316 pd_data = devm_kzalloc(dev, sizeof(*pd_data), GFP_KERNEL); in imx_scu_init_pm_domains()
317 if (!pd_data) in imx_scu_init_pm_domains()
332 pd_data->domains = domains; in imx_scu_init_pm_domains()
333 pd_data->num_domains = count; in imx_scu_init_pm_domains()
334 pd_data->xlate = imx_scu_pd_xlate; in imx_scu_init_pm_domains()
336 of_genpd_add_provider_onecell(dev->of_node, pd_data); in imx_scu_init_pm_domains()
/Linux-v5.10/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
545 pd_data = &scp->pd_data; in mtk_register_power_domains()
[all …]
/Linux-v5.10/drivers/clk/mmp/
Dclk-of-mmp2.c92 struct genpd_onecell_data pd_data; member
496 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()
/Linux-v5.10/drivers/soc/qcom/
Dqcom_aoss.c84 struct genpd_onecell_data pd_data; member
348 struct genpd_onecell_data *data = &qmp->pd_data; in qmp_pd_add()
396 struct genpd_onecell_data *data = &qmp->pd_data; in qmp_pd_remove()
/Linux-v5.10/drivers/base/power/
Ddomain.c243 struct generic_pm_domain_data *pd_data; in _genpd_reeval_performance_state() local
257 pd_data = to_gpd_data(pdd); in _genpd_reeval_performance_state()
259 if (pd_data->performance_state > state) in _genpd_reeval_performance_state()
260 state = pd_data->performance_state; in _genpd_reeval_performance_state()