Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm/mach-ux500/
Dpm_domains.c60 struct genpd_onecell_data *genpd_data; in ux500_pm_domains_init() local
67 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()
/linux-6.1.9/drivers/soc/bcm/bcm63xx/
Dbcm63xx-power.c29 struct genpd_onecell_data genpd_data; member
112 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()
/linux-6.1.9/drivers/soc/ti/
Dti_sci_pm_domains.c91 struct genpd_onecell_data *genpd_data = data; in ti_sci_pd_xlate() local
97 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()
Domap_prm.c638 struct generic_pm_domain_data *genpd_data; in omap_prm_domain_attach_dev() local
656 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() local
675 genpd_data = dev_gpd_data(dev); in omap_prm_domain_detach_dev()
676 genpd_data->data = NULL; in omap_prm_domain_detach_dev()
/linux-6.1.9/drivers/soc/actions/
Dowl-sps.c35 struct genpd_onecell_data genpd_data; member
92 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()
/linux-6.1.9/drivers/soc/xilinx/
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-6.1.9/drivers/soc/rockchip/
Dpm_domains.c92 struct genpd_onecell_data genpd_data; member
216 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 …]
/linux-6.1.9/drivers/base/power/
Ddomain.c2244 struct genpd_onecell_data *genpd_data = data; in genpd_xlate_onecell() local
2250 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()