Searched refs:genpd_data (Results 1 – 2 of 2) sorted by relevance
60 struct genpd_onecell_data *genpd_data; in ux500_pm_domains_init() local67 genpd_data = kzalloc(sizeof(*genpd_data), GFP_KERNEL); in ux500_pm_domains_init()68 if (!genpd_data) in ux500_pm_domains_init()71 genpd_data->domains = ux500_pm_domains; in ux500_pm_domains_init()72 genpd_data->num_domains = ARRAY_SIZE(ux500_pm_domains); in ux500_pm_domains_init()77 of_genpd_add_provider_onecell(np, genpd_data); in ux500_pm_domains_init()
154 struct genpd_onecell_data *genpd_data; in zx296702_pd_probe() local158 genpd_data = devm_kzalloc(&pdev->dev, sizeof(*genpd_data), GFP_KERNEL); in zx296702_pd_probe()159 if (!genpd_data) in zx296702_pd_probe()162 genpd_data->domains = zx296702_pm_domains; in zx296702_pd_probe()163 genpd_data->num_domains = ARRAY_SIZE(zx296702_pm_domains); in zx296702_pd_probe()180 of_genpd_add_provider_onecell(pdev->dev.of_node, genpd_data); in zx296702_pd_probe()