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

/linux-4.4.14/drivers/soc/mediatek/
H A Dmtk-scpsys.c186 struct genpd_onecell_data pd_data; member in struct:scp
403 struct genpd_onecell_data *pd_data; scpsys_probe() local
420 pd_data = &scp->pd_data; scpsys_probe()
422 pd_data->domains = devm_kzalloc(&pdev->dev, scpsys_probe()
423 sizeof(*pd_data->domains) * NUM_DOMAINS, GFP_KERNEL); scpsys_probe()
424 if (!pd_data->domains) scpsys_probe()
451 pd_data->num_domains = NUM_DOMAINS; scpsys_probe()
458 pd_data->domains[i] = genpd; scpsys_probe()
492 ret = pm_genpd_add_subdomain(pd_data->domains[MT8173_POWER_DOMAIN_MFG_ASYNC], scpsys_probe()
493 pd_data->domains[MT8173_POWER_DOMAIN_MFG_2D]); scpsys_probe()
497 ret = pm_genpd_add_subdomain(pd_data->domains[MT8173_POWER_DOMAIN_MFG_2D], scpsys_probe()
498 pd_data->domains[MT8173_POWER_DOMAIN_MFG]); scpsys_probe()
502 ret = of_genpd_add_provider_onecell(pdev->dev.of_node, pd_data); scpsys_probe()

Completed in 34 milliseconds