Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/soc/mediatek/
Dmtk-scpsys.c147 struct genpd_onecell_data pd_data; member
357 struct genpd_onecell_data *pd_data; in init_scp() local
384 pd_data = &scp->pd_data; in init_scp()
386 pd_data->domains = devm_kcalloc(&pdev->dev, in init_scp()
387 num, sizeof(*pd_data->domains), GFP_KERNEL); in init_scp()
388 if (!pd_data->domains) in init_scp()
412 pd_data->num_domains = num; in init_scp()
421 pd_data->domains[i] = genpd; in init_scp()
451 struct genpd_onecell_data *pd_data; in mtk_register_power_domains() local
475 pd_data = &scp->pd_data; in mtk_register_power_domains()
[all …]
/Linux-v4.19/drivers/base/power/
Ddomain.c260 struct generic_pm_domain_data *gpd_data, *pd_data; in dev_pm_genpd_set_performance_state() local
294 pd_data = to_gpd_data(pdd); in dev_pm_genpd_set_performance_state()
296 if (pd_data->performance_state > state) in dev_pm_genpd_set_performance_state()
297 state = pd_data->performance_state; in dev_pm_genpd_set_performance_state()