Lines Matching refs:pd_data
150 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()
547 ret = of_genpd_add_provider_onecell(pdev->dev.of_node, pd_data); in mtk_register_power_domains()
1112 struct genpd_onecell_data *pd_data; in scpsys_probe() local
1124 pd_data = &scp->pd_data; in scpsys_probe()
1127 ret = pm_genpd_add_subdomain(pd_data->domains[sd->origin], in scpsys_probe()
1128 pd_data->domains[sd->subdomain]); in scpsys_probe()