Searched refs:genpd_data (Results 1 – 8 of 8) 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()
29 struct genpd_onecell_data genpd_data; member112 power->genpd_data.num_domains = 0; in bcm63xx_power_probe()122 power->genpd_data.num_domains = max_bit + 1; in bcm63xx_power_probe()124 power->dev = devm_kcalloc(dev, power->genpd_data.num_domains, in bcm63xx_power_probe()130 power->genpd = devm_kcalloc(dev, power->genpd_data.num_domains, in bcm63xx_power_probe()136 power->genpd_data.domains = power->genpd; in bcm63xx_power_probe()164 ret = of_genpd_add_provider_onecell(np, &power->genpd_data); in bcm63xx_power_probe()
91 struct genpd_onecell_data *genpd_data = data; in ti_sci_pd_xlate() local97 if (idx >= genpd_data->num_domains) { in ti_sci_pd_xlate()102 if (!genpd_data->domains[idx]) in ti_sci_pd_xlate()105 genpd_to_ti_sci_pd(genpd_data->domains[idx])->exclusive = in ti_sci_pd_xlate()108 return genpd_data->domains[idx]; in ti_sci_pd_xlate()
638 struct generic_pm_domain_data *genpd_data; in omap_prm_domain_attach_dev() local656 genpd_data = dev_gpd_data(dev); in omap_prm_domain_attach_dev()657 genpd_data->data = NULL; in omap_prm_domain_attach_dev()669 struct generic_pm_domain_data *genpd_data; in omap_prm_domain_detach_dev() local675 genpd_data = dev_gpd_data(dev); in omap_prm_domain_detach_dev()676 genpd_data->data = NULL; in omap_prm_domain_detach_dev()
35 struct genpd_onecell_data genpd_data; member92 sps->genpd_data.domains[index] = &pd->genpd; in owl_sps_init_domain()131 sps->genpd_data.domains = sps->domains; in owl_sps_probe()132 sps->genpd_data.num_domains = sps_info->num_domains; in owl_sps_probe()140 ret = of_genpd_add_provider_onecell(pdev->dev.of_node, &sps->genpd_data); in owl_sps_probe()
215 struct genpd_onecell_data *genpd_data = data; in zynqmp_gpd_xlate() local219 pd = to_zynqmp_pm_domain(genpd_data->domains[0]); in zynqmp_gpd_xlate()242 if (!genpd_data->domains[i] || i == ZYNQMP_NUM_DOMAINS) in zynqmp_gpd_xlate()245 return genpd_data->domains[i]; in zynqmp_gpd_xlate()
92 struct genpd_onecell_data genpd_data; member216 for (i = 0; i < pmu->genpd_data.num_domains; i++) { in rockchip_pmu_block()217 genpd = pmu->genpd_data.domains[i]; in rockchip_pmu_block()234 genpd = pmu->genpd_data.domains[i]; in rockchip_pmu_block()257 for (i = 0; i < pmu->genpd_data.num_domains; i++) { in rockchip_pmu_unblock()258 genpd = pmu->genpd_data.domains[i]; in rockchip_pmu_unblock()554 if (pmu->genpd_data.domains[id]) in rockchip_pm_add_one_domain()650 pmu->genpd_data.domains[id] = &pd->genpd; in rockchip_pm_add_one_domain()690 for (i = 0; i < pmu->genpd_data.num_domains; i++) { in rockchip_pm_domain_cleanup()691 genpd = pmu->genpd_data.domains[i]; in rockchip_pm_domain_cleanup()[all …]
2244 struct genpd_onecell_data *genpd_data = data; in genpd_xlate_onecell() local2250 if (idx >= genpd_data->num_domains) { in genpd_xlate_onecell()2255 if (!genpd_data->domains[idx]) in genpd_xlate_onecell()2258 return genpd_data->domains[idx]; in genpd_xlate_onecell()