Lines Matching refs:domains
343 struct generic_pm_domain *domains[RCAR_PD_ALWAYS_ON + 1]; member
352 struct rcar_pm_domains *domains; in rcar_sysc_pd_init() local
386 domains = kzalloc(sizeof(*domains), GFP_KERNEL); in rcar_sysc_pd_init()
387 if (!domains) { in rcar_sysc_pd_init()
392 domains->onecell_data.domains = domains->domains; in rcar_sysc_pd_init()
393 domains->onecell_data.num_domains = ARRAY_SIZE(domains->domains); in rcar_sysc_pd_init()
394 rcar_sysc_onecell_data = &domains->onecell_data; in rcar_sysc_pd_init()
424 domains->domains[area->isr_bit] = &pd->genpd; in rcar_sysc_pd_init()
429 error = pm_genpd_add_subdomain(domains->domains[area->parent], in rcar_sysc_pd_init()
438 error = of_genpd_add_provider_onecell(np, &domains->onecell_data); in rcar_sysc_pd_init()
471 genpd = rcar_sysc_onecell_data->domains[i]; in rcar_sysc_power_cpu()