Home
last modified time | relevance | path

Searched refs:genpd_data (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/pmdomain/st/
H A Dste-ux500-pm-domain.c62 struct genpd_onecell_data *genpd_data; in ux500_pm_domains_probe() local
68 genpd_data = kzalloc(sizeof(*genpd_data), GFP_KERNEL); in ux500_pm_domains_probe()
69 if (!genpd_data) in ux500_pm_domains_probe()
72 genpd_data->domains = ux500_pm_domains; in ux500_pm_domains_probe()
73 genpd_data->num_domains = ARRAY_SIZE(ux500_pm_domains); in ux500_pm_domains_probe()
78 of_genpd_add_provider_onecell(np, genpd_data); in ux500_pm_domains_probe()
/linux/drivers/pmdomain/bcm/
H A Dbcm63xx-power.c28 struct genpd_onecell_data genpd_data; member
111 power->genpd_data.num_domains = 0; in bcm63xx_power_probe()
121 power->genpd_data.num_domains = max_bit + 1; in bcm63xx_power_probe()
123 power->dev = devm_kcalloc(dev, power->genpd_data.num_domains, in bcm63xx_power_probe()
129 power->genpd = devm_kcalloc(dev, power->genpd_data.num_domains, in bcm63xx_power_probe()
135 power->genpd_data.domains = power->genpd; in bcm63xx_power_probe()
163 ret = of_genpd_add_provider_onecell(np, &power->genpd_data); in bcm63xx_power_probe()
/linux/drivers/pmdomain/actions/
H A Dowl-sps.c37 struct genpd_onecell_data genpd_data; member
94 sps->genpd_data.domains[index] = &pd->genpd; in owl_sps_init_domain()
125 sps->genpd_data.domains = sps->domains; in owl_sps_probe()
126 sps->genpd_data.num_domains = sps_info->num_domains; in owl_sps_probe()
134 ret = of_genpd_add_provider_onecell(pdev->dev.of_node, &sps->genpd_data); in owl_sps_probe()
/linux/drivers/pmdomain/xilinx/
H A Dzynqmp-pm-domains.c215 struct genpd_onecell_data *genpd_data = data; in zynqmp_gpd_xlate() local
219 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()
/linux/drivers/pmdomain/starfive/
H A Djh71xx-pmu.c74 struct genpd_onecell_data genpd_data; member
314 pmu->genpd_data.domains[index] = &pmd->genpd; in jh71xx_pmu_init_domain()
358 pmu->genpd_data.domains = pmu->genpd; in jh71xx_pmu_probe()
359 pmu->genpd_data.num_domains = match_data->num_domains; in jh71xx_pmu_probe()
369 ret = of_genpd_add_provider_onecell(np, &pmu->genpd_data); in jh71xx_pmu_probe()
/linux/drivers/pmdomain/rockchip/
H A Dpm-domains.c102 struct genpd_onecell_data genpd_data; member
250 for (i = 0; i < pmu->genpd_data.num_domains; i++) { in rockchip_pmu_block()
251 genpd = pmu->genpd_data.domains[i]; in rockchip_pmu_block()
268 genpd = pmu->genpd_data.domains[i]; in rockchip_pmu_block()
291 for (i = 0; i < pmu->genpd_data.num_domains; i++) { in rockchip_pmu_unblock()
292 genpd = pmu->genpd_data.domains[i]; in rockchip_pmu_unblock()
689 if (pmu->genpd_data.domains[id]) in rockchip_pm_add_one_domain()
786 pmu->genpd_data.domains[id] = &pd->genpd; in rockchip_pm_add_one_domain()
826 for (i = 0; i < pmu->genpd_data.num_domains; i++) { in rockchip_pm_domain_cleanup()
827 genpd = pmu->genpd_data.domains[i]; in rockchip_pm_domain_cleanup()
[all …]
/linux/drivers/pmdomain/ti/
H A Domap_prm.c637 struct generic_pm_domain_data *genpd_data; in omap_prm_domain_attach_dev() local
655 genpd_data = dev_gpd_data(dev); in omap_prm_domain_attach_dev()
656 genpd_data->data = NULL; in omap_prm_domain_attach_dev()
668 struct generic_pm_domain_data *genpd_data; in omap_prm_domain_detach_dev() local
674 genpd_data = dev_gpd_data(dev); in omap_prm_domain_detach_dev()
675 genpd_data->data = NULL; in omap_prm_domain_detach_dev()